Do you plan to use reticulate
on the server ?
If so, you should read this article
https://rstudio.github.io/reticulate/articles/versions.html
By configuring RETICULATE_PYTHON
environment variable on the server, it will always use the same python version. You can configure with Sys.getenv
in .Rprofile or using .Renviron, for your user. A server admin can also do this server-wide.
use_conda
function is another lighter option to put in your projects.
If you don’t use reticulate, you may be able to configure your session profile on their server to activate an environment at the beginning of your session.
If you have rstudio server pro, there is a config file to do that at the start of an r session in rstudio server.
Hope it helps