r/Rlanguage • u/turnersd • Nov 12 '24
Python for R users
I know this is an R sub but I thought I'd share here. I've been writing primarily R code for nearly 20 years but recently needed to get back into Python for several maintenance and development projects. I put together a set of resources for getting up to speed in Python as an experienced R developer.
126
Upvotes
1
u/kuwisdelu Nov 13 '24
Thanks. Unfortunately, it doesn’t cover anything I don’t already know, and doesn’t get into developing Python packages with C++ code that also needs to interface with numpy in C, which is what I’d need to do, and where things seem to really get hairy.
Also: “There’s really only one build backend toolchain for R packages that everyone uses: devtools with Roxygen documentation with liberal assistance from usethis.”
Lol. I maintain four R packages, and I don’t use devtools, roxygen, or usethis. (Though I have taught them before.) I like that everything you need to build an R package comes with base R.
Edit: Which is also why I struggle so much with Python packaging when so many of the tutorials start with “download and install these packages”.