Hacker News new | ask | show | jobs
by evolighting 207 days ago
R is more of a statistical software than a programming language. So, if you are a so-called "statistician," then R will feel familiar to you
1 comments

No, R is a serious general purpose programming language that is great for building almost any type of complex scientific software with. Projects like Bioconductor are a good example.
Perhaps a in a context of comparison with Python?

In my limited experience, Using R feels like to using JavaScript in the browser: it's a platform heavily focused on advanced, feature-rich objects (such as DataFrames and specialized plot objects). but you could also just build almost anything with it.

No, it's not. Even established packages have bugs caused by R weirdness. I like it nevertheless.
Yes, R is a proper general purpose programming language. Turing complete, functional, procedural, object oriented.../
Just in case someone reads this far and sees blubber's confident "No." Blubber is definitely wrong here. I used to do all of my programming in R. Throw the question into an LLM if you're wondering if R has a package like ___ in python.
I know people who used Visual Basic for all of their programming. I'd say No either way unless people explained to me without bursting out into laughter that they also have extensive experience with, e.g., Kotlin, Rust, C#, Java etc. and still prefer VB or R for non-trivial programs.
Of course R isn't a complied language and probably not the same category as C/Rust as systems language but is not in the same category as VB. R is a serious scientific programming language used in non-trivial programs for industrial applications. See Posit's customers. I suggest John Chambers ( https://en.wikipedia.org/wiki/John_Chambers_(statistician) ) book, he explain how he designed S language, R's grandfather so to speak, Software for Data Analysis ( https://link.springer.com/book/10.1007/978-0-387-75936-4 ).
blubber, I think there might be some misconceptions. Just for the record.

R is not actually competing with those languages. R's design purpose is different. it is a general purpose computational language for scientists. There are FFIs (Foreign Function Interfaces) for all those languages.

R-Kotlin-Jave: https://journal.r-project.org/articles/RJ-2018-066/ R-Rust: https://cran.r-project.org/web/packages/using_rust.html R-C# : https://github.com/Open-Systems-Pharmacology/rsharp/

R is supporting C integration natively anyhow (see Chambers's book.

Regarding VB reference. VB was used in finance a lot to do some advanced maths. just a side remark.

I do.

And I'm still waiting for your examples of "established R packages with bugs caused by R weirdness".

Care to give some examples?
I already did in my comment
Hmm? I was referring to blubber's claim that "established packages have bugs caused by R weirdness."