News for hackers. Stuff that matters.
Re:Advantages of Using R Notebooks Instead of Jupyter Notebo... by gaius on Wednesday October 31, 2018 @04:28AM (#18344062)
In the Tidyverse everything in R is perfectly logical and coherent. What would you consider to be a “reasonable” language then?
Re:Advantages of Using R Notebooks Instead of Jupyter Notebo... by nerdponx on Wednesday October 31, 2018 @09:04AM (#18345289)
Base R is also perfectly logical and coherent. If anything, it's so coherent for statistics work that it makes non-statistics work harder than it should be. For a 30-year old language that started life as a statistics package, that's pretty good.

R is no harder to read than C IMO, even badly-written R without spaces, indentation, proper line breaks, etc.

Re:Advantages of Using R Notebooks Instead of Jupyter Notebo... by mangecoeur on Wednesday October 31, 2018 @04:45AM (#18344100)
One where it was not necessary to specially create a ‘tidy’ version of everything to escape the horrific mess that exists by default
Re:Advantages of Using R Notebooks Instead of Jupyter Notebo... by ryanmonroe on Wednesday October 31, 2018 @08:59AM (#18345261)
It would help if you said explicitly what language you think is better in this respect. Having Data Frames in Python at all requires importing Pandas afaik, so criticizing R for requiring an extra data-manipulation package wouldn't make sense from a Python perspective.
Re:Advantages of Using R Notebooks Instead of Jupyter Notebo... by mangecoeur on Wednesday October 31, 2018 @10:06AM (#18345781)
The point is not that you have to import a package, but whether by default package layouts and interop make sense. Notably, python scientific libraries build on a set of common foundations and apis (numpy, pandas etc). Additions to the ecosystem aim to build on familiar apis irrespective of implementation details (e.g dask). Python’s heavy use of namespaces makes organising a working environment simple, while it’s focus on consistent style and naming conventions means that code from different sources will look familiar. R meanwhile uses a global namespace (with at least two ways of loading libraries into it) so requiring more than a few extra libraries risks name collisions. Thus the need to create another ‘tidy’ library to fix a fundamental limitation of the language.
Re:Advantages of Using R Notebooks Instead of Jupyter Notebo... by mike_ivanov on Wednesday October 31, 2018 @01:52PM (#18347820)
> R meanwhile uses a global namespace

This is just plain wrong.

Re:Advantages of Using R Notebooks Instead of Jupyter Notebo... by mike_ivanov on Wednesday October 31, 2018 @05:45AM (#18344354)
OK, I see. The debate is gradually coming to the pitchforks and torches phase. Tons of adjectives and still zero meaningful input. I insist on explaining what the "horrific mess" part is about.
Re:Advantages of Using R Notebooks Instead of Jupyter Notebo... by gaius on Wednesday October 31, 2018 @06:32AM (#18344536)
Your language was perfect the day it was created was it? R and it’s ecosystem stand head and shoulders above the rest.