News for hackers. Stuff that matters.
Re:Announcing RStudio v1.0 by jbmorgado on Tuesday November 01, 2016 @01:36PM (#12848198)
I wish there was something like this for Python. Sure we have Jupyter/iPhyton and sure we have Spyder, but nothing even comes close to RStudio.
Re:Announcing RStudio v1.0 by madenine on Tuesday November 01, 2016 @01:52PM (#12848402)
Check out Rodeo[0] from Yhat. Its not RStudio, but its an IDE with data science in mind. Been getting better and better each release.

[0] http://rodeo.yhat.com/

Re:Announcing RStudio v1.0 by jbmorgado on Tuesday November 01, 2016 @02:15PM (#12848666)
I was trying Rodeo these past few days. It still has a lot to improve, I really don't think the autor should have put this out of beta so fast, it's clearly still a 0.x version, not a 2.x.

Markdown is extremely limited (what we need is something more like knitr), there are quite a few bugs and it's difficult to access documentation of the packages.

I appreciate the work of the author, but all in all, it's nowhere near RStudio and - except for the fancy interface - actually behind Spyder.

Re:Announcing RStudio v1.0 by raizinho on Tuesday November 01, 2016 @10:38PM (#12851880)
There something close to knitr for Python: https://github.com/pystitch/stitch
Re:Announcing RStudio v1.0 by jbmorgado on Wednesday November 02, 2016 @06:35AM (#12853459)
This is great thank you.

It would be great if Spyder would add a plugin to edit these formats or something similar.

Re:Announcing RStudio v1.0 by anc84 on Tuesday November 01, 2016 @01:52PM (#12848408)
What are you missing in Spyder compared to RStudio?
Re:Announcing RStudio v1.0 by jbmorgado on Tuesday November 01, 2016 @02:22PM (#12848733)
Markdown/Knitr is one of the biggest points.

A modern interface would also be nice.

And native support for Vim (I know there is a plugin but it's quite limited).

Re:Announcing RStudio v1.0 by ccordoba12 on Wednesday November 02, 2016 @07:28PM (#12860333)
(Spyder maintainer here) What do you mean by a modern interface?
Re:Announcing RStudio v1.0 by jbmorgado on Thursday November 03, 2016 @07:13AM (#12862948)
Make it look more native (in the icons and the input fields for instance) and put it all in HiDPI for High DPI displays (panes' icons are still in low resolution for instance).

But mostly, the mardown/knitr part is the big thing missing for data exploration/presentation.

Re:Announcing RStudio v1.0 by ccordoba12 on Thursday November 03, 2016 @10:48AM (#12864355)
Thanks for your answer. We changed our icon set in Spyder 3.0 to use FontAwesome, which renders well in High DPI screens.

How Spyder looks in each platform depends on Qt, but we have some additional customizations to make it look better at least on macOS.

We'll try to add something like knitr as a third-party plugin in the future. We didn't know it's so important to have it.

Re:Announcing RStudio v1.0 by jbmorgado on Thursday November 03, 2016 @12:47PM (#12865614)
How that's great. I saw something in the roadmap of Spyder some months ago about markdown, so supporting knitr would be perfect. But from what I know knitr already is supposed to work with python, it's just a question of adding the special keywords knitr uses when you have markdown in Spyder.

Also, since you mention you didn't had idea about knitr importance: It's normally one of the strong points presented when discussing Python vs R for data science.

Knitr makes it much easier to present (and now the RStudio notebooks make it also much easier to explore data) your work and to adopt a literate programming approach since you don't have to keep a Jupyter Notebook and then hack a Markdown/Latex document on the side where you are inserting just some plots and just some code and just some output from your Jypyter notebook that's actually relevant for the presentation or publication you are doing (and then having to remember to change parts of it whenever you change something in the code and the output changes).

Re:Announcing RStudio v1.0 by ccordoba12 on Thursday November 03, 2016 @04:24PM (#12867606)
Very interesting, thanks a lot for your input!

But you're probably aware that you can also generate PDFs from Jupyter notebooks. So I guess the advantage of knitr over notebooks is the ability to easily version control markdown docs.

Are there other advantages you'd like to share?

Re:Announcing RStudio v1.0 by jbmorgado on Friday November 04, 2016 @12:07PM (#12873620)
I think the great advantage is not really that. (With a bit of trouble you could already output HTML/PDF from an iPython notebook and remove the output in order to make version control easier (although that's fully automatised with markdown/knitr in RStudio)).

But the big selling point is that you can choose which parts of your notebook to include in the HTML/PDF output. Input, output, plots, you can write a document for a scientific paper, presentation or even a book and not have to show all the code, or all the output or all the plots like you must do with iPython. That's the really strong point with knitr.

Re:Announcing RStudio v1.0 by ccordoba12 on Friday November 04, 2016 @06:02PM (#12876540)
Ok, I understand things better now. Thanks a lot for taking the time to go through this :)

There have been long discussions about hiding output or code from Jupyter notebooks throughout the years but (unfortunately) they haven't derived on a final decision from the Jupyter team.

In any case, your feedback is a very strong motivation to start working on this in Spyder. Thanks a lot for it!

We have several things planned already for the next six months, but we'll try to have an initial implementation of a knitr equivalent before the summer of next year :)

Re:Announcing RStudio v1.0 by jbmorgado on Saturday November 05, 2016 @06:15AM (#12879040)
These are really great news. Thank you.

I would still suggest that you would look into knitr before, since it already supports other languages besides R (although I can't understand if so extensively as R) so perhaps it would be easier to just build from that.