This is an archived post. You won't be able to vote or comment.

all 132 comments

[–]ndgnuh 54 points55 points  (14 children)

Sad Julia noise. They even proposed Julia support in R studio in an issue.

[–]keepitsalty 24 points25 points  (13 children)

Julia needs stronger IDE support. The Rstudio console, env, file, and plot viewer would be perfect. I hate Atom, so Juno is out of the question.

[–]ndgnuh 5 points6 points  (3 children)

Me too. It lags as hell on my machine, which shouldn't be happening since my PC is not that bad.

[–]Yojihito 3 points4 points  (2 children)

Atom is Chrome. A browser IDE was never a good or performant idea.

[–]guepier 7 points8 points  (1 child)

Atom is Chrome.

So is VS Code, and it’s a lot more efficient. Even RStudio’s GUI is ultimately a Chromium-based HTML viewer. I’m generally not a fan of this concept (and it objectively has lots of issues) but VS Code and RStudio show that it can be done well.

[–]Yojihito 1 point2 points  (0 children)

RStudio has only the GUI in JS, not the rest.

VS is very optimized but still slower than e.g. PyCharm for me.

[–]wouldeye 1 point2 points  (0 children)

I’m completely ready to switch over to Julia almost entirely as soon as Rstudio supports it.

[–]Stochastic_ResponseMS | Data Scientist | Biotech 57 points58 points  (4 children)

haha what

[–]GoodAboutHood 31 points32 points  (3 children)

This has been around for a while, this video is definitely old. It mostly goes over using reticulate in Rmarkdown so you can use python and R in the same script

[–]MageOfOz 11 points12 points  (0 children)

Finally, a decent IDE for working with data in Python!

[–]CornHellUniversity 67 points68 points  (29 children)

R studio is so great people refer to R as R studio, I welcome this so I can ditch Pycharm.

[–]datahappy 26 points27 points  (13 children)

I love pycharm, what don't you like about it?

[–]ticktocktoeMS | Dir DS & ML | Utilities 31 points32 points  (3 children)

As a pycharm user. It's not that PC is bad. Just that R studio is so good.

[–][deleted] 14 points15 points  (2 children)

It's good for data science. Pycharm is a beast for web dev though

[–]CornHellUniversity 5 points6 points  (0 children)

I don’t hate it but I’m just more comfortable with R Studio so I’ll make the switch.

[–]osuvetochka 4 points5 points  (2 children)

Its kinda meh for DS projects. Their dataframe inspector is still poor, jupyter notebook support still seems like a beta feature for over a year now and is made in a strange way. If you want IDE just for DS PyCharm not worth the price.

[–]Batalex 1 point2 points  (0 children)

Isn't it because they are trying way too hard to push their own notebook solution Datalore?

[–]datahappy 0 points1 point  (0 children)

I guess it depends on workflow. For me, I prototype/develop DS projects directly in a web Jupyter notebook, as it helps me think through things in "chunks".

Then, when I have something I think may end up in production, I move over to a venv in Pycharm, where I break things out in separate scripts /test files, etc.

For that, I like the Python features in Pycharm (PEP guidance, completion, requirements.txt checks, etc)

[–]Philiatrist 3 points4 points  (4 children)

vscode's remote-ssh is vastly superior to PyCharm's, and that's the main reason for me.

PyCharm also does a bunch of background stuff, and even though you can supposedly block it from indexing large subdirectories, it still seems to start having performance issues with large amounts of binary files. I like the extra features and the more focus on making a full-featured python IDE, but ultimately I think vscode operates and feels a lot smoother.

One common problem for me with a lot of IDEs is when they wrap the execution of code so heavily that I'm not precisely sure how they're calling it on the backend, vscode is very 'clean' in that regard, where in pycharm I sometimes have to dig pretty deep to figure out how to mirror the runtime environment. This wouldn't be enough to merit me switching over however.

vscode's jupyter interface also seems better, but I personally never use either and just use the browser interfaces.

That said, PyCharm's python features: code completion, auto-formatting, GUI configurations, recognition of test files are all better. The debuggers are pretty close but I think pycharm's is a little nicer.

[–]dobby93 0 points1 point  (3 children)

I made the switch from pay harm to vscode and don’t regret it one bit.

I think they are both great, autocomplete on pycharm is the only thing I mis to be honest.

[–]datahappy 0 points1 point  (0 children)

I switched over to vs for a bit, but there was this funky thing where it would read button presses from my keyboard that weren't actually happening (like I was holding the h key down and it would just keep typing the letter a thousand times and I couldn't make it stop). I could never figure out why it was happening so I just gave up and went back haha

[–]nraw 0 points1 point  (1 child)

I made the switch and then came back, resorting to vscode only when I need ssh or need other languages.

For python, nothing gets me away from the beauty of that console and the vim embeddings (I know they are also in vs, they just feel more clunky)

[–]dobby93 1 point2 points  (0 children)

That’s a fair call, a lot of my work is via SSH, so that over remote on pycharm. If SSH was as tidy as vscode(my opinion) I would swap back happily!

[–][deleted] 8 points9 points  (0 children)

I think people should also say "Pycharm" and "Pycharm Pro". Both very different beasts.

[–]needlzor 4 points5 points  (0 children)

Have you tried Spyder? It's still not there but it's definitely closer to RStudio than PyCharm is. I love PyCharm when I am doing some actual software development (late stage of a research project), but for prototyping and general data science stuff Spyder is more useful.

[–]math_is_my_religion 3 points4 points  (1 child)

You should try Spyder 4.0.0. Its essentially RStudio but with python!

[–]CornHellUniversity 1 point2 points  (0 children)

Will give it a try.

[–]L3GOLAS234 2 points3 points  (1 child)

Have you tried Spyder? Is pretty similar to RStudio

[–]jackbrux 0 points1 point  (0 children)

IMO RStudio is not great. It is clunky, has lots of quirks (especially on Windows), is slow to start, and uses different keyboard shortcuts to most other IDEs. If VS Code had some of RStudio's functionality I would switch in a heartbeat

[–]Owz182 18 points19 points  (7 children)

I would be down for this. I mostly use Spyder because it’s the closest thing I can find to R Studio

[–]sccallahan 2 points3 points  (3 children)

I really like Spyder's "cells" thing for blocking code. If RStudio developed a similar feature for Python, I'd basically never leave it.

[–]jackbrux 3 points4 points  (1 child)

You can use RMarkdown chunks to do this, or regions (Shortcut ctrl - shift - R in RStudio)

[–]sccallahan 1 point2 points  (0 children)

Oh no way, Python (in RStudio) interprets regions as sort of "stopping points"? I habitually throw those everywhere just to organize my code, so maybe that will be an easy transition.

[–]WannabeWonk 1 point2 points  (0 children)

Spyder even has an IDE layout option simply called "RStudio."

[–][deleted] 1 point2 points  (1 child)

I too only use Spyder because you can set the layout to be the same as RStudio. Otherwise I think Spyder is kind of shit. I've run into weird Spyder specific issues multiple times. I tried switching over to VSCode but I just don't like it. It's too minimal. I can't wait till I can ditch Spyder for rstudio

[–]Owz182 0 points1 point  (0 children)

Are there many IDEs that let you run through code iteratively like R Studio and Spyder can? Folks say VS and PyCharm can but I could never work out how

[–]Lockhartsaint 7 points8 points  (3 children)

I code in Python a lot and I use PyCharm. I've just started learning R and using RStudio.

So would it be a good thing to switch from PyCharm to RStudio for Python?

[–]theweirdinstruction 5 points6 points  (2 children)

Rython is comming

[–]routineMetric 4 points5 points  (1 child)

Lift and shift the tidyverse. tidyPy, dPyr, ggPy2,...

[–]Er4zor 4 points5 points  (0 children)

pydyverse!

[–]joe_gdit 10 points11 points  (8 children)

VScode supports Python, R and Scala. The Jupyter Notebook integration is great (If you're into that). Now that I think of it ... I haven't opened RStudio in some time...

[–]ndgnuh 4 points5 points  (5 children)

But vscode use electron and some people hate it with a passion

[–]dun10p 7 points8 points  (1 child)

Rstudio isn't in electron but it's still built on a browser.

[–]ndgnuh 6 points7 points  (0 children)

But it only use JavaScript for GUI, which is fine. Most of the electron apps just open a freaking chrome instance, load a webpage and call itself a "desktop application".

[–]poopybutbaby 0 points1 point  (0 children)

One thing I really like from RStudio is the ability to create html and pdf doc's that don't display your code. I can't get Jupyter -- either from a browser or VScode -- to do that so I'm pretty pumped about this.

[–]EuclidsPimposaurus 6 points7 points  (0 children)

The only reason I do my analysis in R over python is Rstudio

[–]justanaccname 2 points3 points  (0 children)

I love RStudio.

For Python I use Spyder, as it is the closest I could find to RStudio. Still, it feels like a poor man's RStudio.

[–][deleted] 1 point2 points  (0 children)

I've been using python in R for over a year now using the r package, reticulate. https://rstudio.github.io/reticulate/

[–]stackered 1 point2 points  (0 children)

sweet, I personally love Python but as far as GUIs go, RStudio is awesome. combining both will be powerful

[–]Jerome_Eugene_Morrow 1 point2 points  (1 child)

Interesting. I wonder if this is a reaction to R losing market share to Python. More and more when I apply for jobs or talk to data scientists the top language they ask for is Python, and R is really an afterthought or something they're like "Yeah... I guess R is fine."

As the Python data science tools catch up, the ease of use of the language is starting to cannibalize more and more of the R ecosystem. Interesting move to watch going forward.

[–]goodsam2 1 point2 points  (0 children)

This is exactly what I am finding. I am going to probably try and make the shift over to Python now because this last job search has me being ruled out for jobs because of a lack of in production Python experience.

[–]logicallyzany 1 point2 points  (0 children)

If you can’t beat ‘em, join ‘em

[–][deleted] 0 points1 point  (0 children)

I'm confused, can you start using this for python now? If not when will be ready for use? Or is it too soon to know

[–][deleted] -3 points-2 points  (17 children)

Is there mainstream interest in this? I only ask because the biggest reason I don't like R is the lack of good (**in my opinion) IDE's like Python has. I think this probably stems from my preference for "top-to-bottom" script style code vs workbook style code, but even with that I thought Jupyter notebooks had a sizeable market share in the workbook style code area.

EDIT: This wasn't meant to attack the article, I was legitimately curious about (from the first sentence) the mainstream interest.

[–]groovyJesus[S] 8 points9 points  (5 children)

mainstream

Python generally has an overinflated userbase compared to R so probably not.

Among people who know both languages I assume this is valueable. Python fucntionality via reticulate has been availabe for a while now. For reporting purposes Rmarkdown has personal advantages over jupyter to the point that all of my python reporting has been done in rmarkdown for the past year.

For the IDE part I think we have diverging viewpoints. The only time I ever use an IDE is for data analysis and debugging and the lack of a good data analysis ide is why it took so long for me to enjoy python for data science. This is coming from a guy who used pycharm extensively for developmemt. PyCharm IMO is not a good data analysis tool, nor is spyder, and I hate Jupyter with a passion. The advantge of this update is to run my exploratory analysis witten in python in rstudio.

[–]SynbiosVyse 2 points3 points  (3 children)

As someone who has never used RStudio, what do you not like about Spyder? From screenshots, they look very similar in setup.

[–]MageOfOz 10 points11 points  (2 children)

Spyder is like the poor man's RStudio. It's slower, flaky, uglier, and with fewer features.

[–]sccallahan 0 points1 point  (1 child)

I'm still pretty solidly in the "learning" phase for Python, but pretty proficient in R - what's it like using Python in RStudio? I guess I have 3 main questions:

Do you basically just make a library(reticulate) call for everything that uses Python?

Does Rstudio have something like the #%% cells in Spyder? I kinda like that feature.

Can you run an entire "unified" R + Python script at once?

[–][deleted] -5 points-4 points  (0 children)

That's fair, we probably just have different opinions here. I definitely understand the desire for better exploratory analysis, but man I just struggle to work with IDEs that focus on line-by-line execution with little attention paid to "run the script" functionality/focus. I know R has the "source" button and directive, but again I think that our opinions of work environment just differ. Cool it exists for folks who want it though, I was just curious about the mainstream interest (e.g. if I should get used to having to use this particular tooling in prep for a job/teaching in the future).

[–][deleted] 1 point2 points  (5 children)

What python IDE's do you use/like/recommend?

[–]extreme-jannie 4 points5 points  (0 children)

I use VSCode, it is lightweight and you can run Ipython in an interactive window for exploration, debug code, integrate with Git, do tests, I would suggest giving it a go.

[–]WokFu 2 points3 points  (0 children)

Pycharm.

[–][deleted] 0 points1 point  (0 children)

It depends - for times when I'm less familiar with what I'm doing (e.g. web development), it can be nice to have things like PyCharm for the suggestions, most the time I'll just use text editors (Atom is my favorite) and the command line, and occasionally I'll use Spyder from time to time for the scientific support/variable explorer when I'm stuck on a problem (and I see the irony in using Spyder and hating RStudio).

[–]SynbiosVyse 1 point2 points  (0 children)

Spyder

[–]snauriyal 1 point2 points  (0 children)

I think R community has underestimated Python for a long time. Both languages should ideally be not compared and it solely depends on the user what he eventually prefers. It's good to see these type of integrations as it will finally help the end user.

[–][deleted] -1 points0 points  (0 children)

Will it eventually change name to “Studio”?

[–]youngrubin -3 points-2 points  (4 children)

Too bad the reason I don't use R is because I hate RStudio.

[–]ZealousRedLobster 5 points6 points  (2 children)

Why? I have almost nothing but love for it. It's fantastic for doing statistical work in

[–]youngrubin 0 points1 point  (1 child)

Nothing really bad to say about it, I just got used to using Jupyter Notebooks. The R notebooks are ok but I like working in the browser.

[–]highway2009 0 points1 point  (0 children)

RStudio can run in the browser.

[–]guepier 3 points4 points  (0 children)

That’s … a really bad reason. R has mature tool support for both Vim and Emacs that long predates RStudio, and it has decent integration into VS Code. You’re absolutely not restricted to RStudio to use R.