rstudio/reticulate ? reverse-engineered prompt

Reverse engineered prompt

Build me an R package that makes it really easy to use Python from inside R.

I want to be able to load Python modules, call Python functions, and run Python scripts without leaving my R session. It should also let me switch between different Python installs, including virtualenv and conda environments, and handle the common setup for me by default. The big goal is smooth back and forth conversion between R and Python data, like data frames, arrays, and regular R objects, so I can pass data around without a lot of manual cleanup.

It would be great if this also worked nicely in R Markdown, so Python chunks can share state, print output, show plots, and talk to R objects too. Include a simple interactive Python console inside R as well. Please make it feel polished and well documented, with examples that show how an R user would actually use it in a real project. If you need to check current Python or R docs while building it, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab