this post was submitted on 19 Jun 2023
14 points (100.0% liked)

R Programming

269 readers
1 users here now

Please use this as a forum to discuss R, and learn more about it. If you have any questions about how to do specific things in R, this is the place to ask.

Getting Started

You can download R here.

You can download RStudio here. RStudio IDE, which is supported by Posit PBC, is a powerful and well-developed IDE for R. Other development environment options include Emacs addon Emacs Speak Statistics and VSCode.

Other Communities

Other communities that may be of interest across the fediverse:

Please send @a_statistician a message to recommend additional communities to add to this list.

Learning resources:

founded 2 years ago
MODERATORS
 

I will start:

a) as.Date("2022-Jul-01", format ="%Y-%b-%d") will or will not work depending on os language

b) how R handles diacritics and encoding differently on Linux and on windows

c) Rstudio :D

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Re: c) I will be a dirty shill for VSCode and R lol, example here. I find it much better for R shiny development, projects with multiple people and projects with multiple languages. Notebook support is less good out of the box, you will have to get a jupyter kernel set up - but I use scripts more so than notebooks anyway.

Anyway, onto the question! Base R. Yeah, I said it! Whenever I have a weird enough situation where tidyverse functions won't work due to poor quality data, then I shed a single solemn tear and quietly wish I had done the project in python as I start writing a for loop in what will no doubt be the most hacky solution ever.

[–] [email protected] 3 points 1 year ago

Lack of gpu-enabled cross-platform functionality

[–] [email protected] 2 points 1 year ago

utf Support under windows (which is not r's fault) which might/will be (is already?) fixed

the rate at which packages change, sometimes breaking stuff (renv to the rescue)

how my place does not invest in proper integration but uses various scripts stored on a network drive with absolutely no documentation

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago)

That no one knows it. For many ML algorithms they rather get published first in R than in Python still, although I believe this is not true for deep learning, but rather stuff like tree based models.

Sometimes I can’t implement what I want to because I don’t have time, let alone skill to port a library from R into Python and make it sklearn compatible. But I also don’t want to be the only person in my team who understands the code. So Python it is.

Edit: just realized this is 7 months old, but I guess maybe we can boost activity by also answering to old posts?

[–] RarePossum 1 points 1 year ago

With C, Jetbrain's DataSpell supports R, though it is primarily Python, and the EAP version is free, though you will have to reinstall every month.

[–] SittingWave 0 points 1 year ago* (last edited 1 year ago)

Everything. R is an absolute disaster on a lot of aspects.

load more comments
view more: next ›