News for hackers. Stuff that matters.
Re:Most commonly used statistical tests and implementation in R by minimaxir on Friday January 01, 2016 @12:23AM (#10821169)
> Jupyter[2] notebooks now have really first class support for R.

Jupyter and R is a bit iffy since the R kernel is not native. Although the kernel works fine, setting it up has a ton of manually-installed dependencies, and in-line plots flat-out give unexpected output. (I've had to cheat by embeding charts via Markdown. Although that has the benefit of having the charts be responsive)

The important perk is that Jupyter notebooks are now rendered natively on GitHub, which I've made considerable use of: https://github.com/minimaxir/sf-arrests-when-where/blob/mast...

Re:Most commonly used statistical tests and implementation in R by earino on Friday January 01, 2016 @12:37AM (#10821188)
> Jupyter and R is a bit iffy since the R kernel is not native. Although the kernel works fine, setting it up has a ton of manually-installed dependencies, and in-line plots flat-out give unexpected output. (I've had to cheat by embeding charts via Markdown. Although that has the benefit of having the charts be responsive)

You know, to be completely honest, I've never used it directly. I've always used it on our platform. It's very possible that our engineers already did all that setup so it "just works." I took the original post: http://r-statistics.co/Statistical-Tests-in-R.html and reimplemented it in an R notebook with some simple plots at the end, but yeah, the plotting just sort of works for me. I didn't realize I had an incomplete view of the complexity of getting that working :(

https://app.dominodatalab.com/earino/statistical_tests/view/...

We also render the notebooks. The difference is that we also let you run them :)

Re:Most commonly used statistical tests and implementation in R by stared on Friday January 01, 2016 @07:42AM (#10821744)
Manually setting it is hard (on OS X + Homebrew Python I did it after a long fight; main problem: rmzq library). But... it is super easy with Anaconda: https://www.continuum.io/blog/developer/jupyter-and-conda-r
Re:Most commonly used statistical tests and implementation in R by minimaxir on Friday January 01, 2016 @01:52PM (#10822816)
Huh, I thought conda was Python only. I'll definitely take a look!
Re:Most commonly used statistical tests and implementation in R by IndianAstronaut on Friday January 01, 2016 @05:50AM (#10821582)
Package installation can be a bit of an issue as well, especially if you accidentally install a package twice. But overall, I still prefer notebooks to Rstudio. They are transparent and you can really trace your progress and share the info with others.
Re:Most commonly used statistical tests and implementation in R by TheLogothete on Friday January 01, 2016 @10:14AM (#10822048)
And you can't with Rstudio? There's a freaking notebook feature built right in.
Re:Most commonly used statistical tests and implementation in R by IndianAstronaut on Friday January 01, 2016 @11:11AM (#10822198)
Much easier to turn the Jupyter noteboks into a clean html format. Also, it's sequential, with Rstudio it's nice, but doesn't have the cell format.