Open petetronic opened 1 month ago
I chatted with Kevin on this and will share some details, for example on how RStudio handles rendering .Rmd
(which also use their own location as the working directory):
The main thing RStudio does here is ensure that the current library paths are forwarded to the child R process invoking
rmarkdown::render()
via theR_LIBS
environment variable, so that the library paths are “inherited” by the child process
We would want to do something that is in spirit similar to:
R_LIBS
and option around repos
R_LIBS
, repos
, etc
Logging an issue from a discussion to consider an enhancement for renv management for notebooks in subfolders, and whether the "project" level environment should be set for those notebook sessions automatically if found.
Discussed in https://github.com/posit-dev/positron/discussions/4687