

Would be nice if there were something a bit more automatic that could handle this - e.g.

My first line of that script is call %USERPROFILE%/Anaconda3/Scripts/activate.bat which at least gives it a chance of being portable between users in my organisation. bat file (called pyproj.bat in this case) in the root of my project folder structure, to open jupyterlab in the right python environment: call /Scripts/activate.bat ipynb files the default working directory is the directory the file is in (so doesn't suffer from the chronic setwd() issue that. My understanding of python isn't great, but it looks like with jupyter lab.

I'm on Windows, using anaconda and JupyterLab in (it's not quite RStudio, but seems a good option to me) and I've found it a pain to navigate to the right location with the right environment for each project. rproj and RStudio do, and isn't terribly portable. The best I've come up with is very specific to my problem - it doesn't do any of the other stuff. Though the main thing I use RStudio Projects for is to manage the working directory, and open RStudio in the right place.
