Remix.run Logo
xandrius 3 days ago

What is something which you find better doing in R than in another popular language? Not including its standard library.

ants_everywhere 3 days ago | parent | next [-]

R and numpy can both be used as wrappers for blas and lapack but R is closer to a proper array language and is nicer to use.

So basically any data operations that don't require python libraries, and especially any statistical programming

data-ottawa 3 days ago | parent | prev | next [-]

The section in the r studio documentation called Computing On The Language is by far favourite feature of R

It lets a function observe the context in which the function was called, which is why R can contextually use formula notations so ergonomically. That also backs pseudo symbolic computing, like plotting a function over a domain and magically getting the right chart titles.

That language support is why Python libraries struggle so much to replicate the ergonomics of the tidyverse.

https://rstudio.github.io/r-manuals/r-lang/Computing-on-the-...

stared a day ago | parent | prev | next [-]

ggplot2 - in my opinion, there is nothing close to it

At the same time, I often do everything else in Python and just do charts in R.

dismalaf 2 days ago | parent | prev [-]

Everything related to stats or dealing with data. For one, R is actually an array language.