Long-time RStudio user. I haven't used Python in 10+ years and have never been a regular user. But now I need to do some stuff in Python.

How do #rstats users do Python? Do you integrate your Python code into RStudio/Posit? Or use a different IDE?

#rstats #openscience

@CarlisleRainey When I work with Python, I usually use Jupyter (Lab), but sometimes also RStudio.
@CarlisleRainey I'd use jupyter if what I needed was something script-y, VS Code if I need to build programs or anything more sophisticated. (Plus Git too, of course.) If you have the luxury of access to Posit Workbench, it supports both. #RStats
@tomdewar @CarlisleRainey this was kinda my approach as well (though sublime text rather than VS) but it doesn't feel particularly elegant.
@CarlisleRainey @gdbassett I haven't used it myself, but a colleague quite likes Spyder. Maybe a decent option if your running in an Anaconda-flavoured Python.

@tomdewar @CarlisleRainey Oooh. looks interesting. I may have to give it a try!

It doesn't look like it requires anaconda, just recommended if on linux. (I personally avoid anaconda. It's never helped me more than it's hurt.)

@CarlisleRainey I taught some Python last year, which was my first time touching the language in any significant way for a decade. I used RStudio and Quarto to reduce friction for me and my students, who are all really familiar with that tooling. It was very smooth!