He doesn't program in R

>He doesn't program in R
>He thinks he can produce decent data visualizations without it
>He probably thinks that R isn't a real programming language

>R
>programming

ok, smartass.
plot me a histogram with specified number of classes, without using additional packages

(You) 4 d effort

>He probably thinks that R isn't a real programming language
R is a real programming language in the sense in that JS and PHP are real programming languages.

I'm not a statistician, and creating Excel charts from data that already has been aggregated by the mainframes is enough to satisfy my boss's visualization needs.

JS and Python have great dataviz libs tho

LOL Python's Seaborn is a clone of ggplot2

>he wasted time learning R instead of a more general programming language
>he didn't realize that all the useful libs in R have ports or equivalents
>he now has to make a thread on Sup Forums to try and salvage his ego

mercy best grill

R is the worst language I've ever used.

I learned R a few months because I want to get into data science. It's a great language for ML/DS/AI, especially with all the packages available on CRAN, but as a general programming language, it's weak.

While I use R, I wouldn't call it a programming language, it is more like a statistics tool.
You can make functions, but you wouldn't make larger programs in R.
Every time I have done that, I immediately notice the 3x increase in runtime and extra use of memory.
If something as essential as for loops is slow and causes memory leaks, I wouldn't make programs with it.
It is great for plotting data and making analysis.

R isn't a language it's a letter.

Dumbass.

I don't know R, but I can give an example of real world use. I was on a contract at a major pharmaceutical company, the one with the flower name, and they had a massive parallel computing cluster built on AWS that was doing protein simulations for drug research. R was heavily involved, although I'm not sure if R was actually running the simulations or was being used to analyze the results. I'm guessing and i hope the latter.

Is R the same thing ad Rust?

>I learned R a few months because I want to get into data science
Then you fucked up, because no one in industry actually uses R. It's Python everywhere.

>learned specialized language instead of a more general one
Hurr durr

>dataviz

Pleb tastes.

why should i use r over python?

Data visualization

thank you for the smart well toughtout answer

...

Many of the reasons to use R are many of the reasons many people bash R

Non standard evaluation and ambiguous syntax:
R is more pythonic than Python!
If you use pandas you have to use so much syntactical fluff to clarify your intent that it makes a clear train of through look convoluted.
the ability to input fields without quoting them and having R figure out if it's a field or a variable makes the syntax much terser and easier to read

every package in the global namespace
R is built for ad hoc analyses and in such analyses I don't want to have to prefix pd, np or plt before every function or import it explicitly first

Other syntactical choices like the tendency to have very short function and variable names make writing and reading code faster. The domain is typically well enough defined to make the intention clear

custom operators, most prominently the magrittr pipe %>% allow you to chain everything. A functional approach with pipes makes data analysis much easier to read and you don't need special classes with their own methods for it.

these are small gains but they make the workflow so much more intuitive

on plotting:
imo ggplot2 has the best balance between usability and feature richness, the grammar of graphics way of doing things is genius, Python alternatives are either more verbose or ugly and anyone who claims the ggplot2 python port is "basically the same" has never used ggplot2 properly.

There are more but it's late and I'm tired.
Source: I'm a data scientist who uses R every day.
Before you start bitching: I know Python, I use Python, it's great, it's just not my first choice for data analysis

sounds like you are just too lazy or stupid to learn to use python to be honest

ah ok. sounds reasonable.

Did you even read my post? I use python

>using R
S as in Senpai

...

yes

>without using additional packages
I don't even use R, but what's up with this retarded arbitrary restriction?