You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for writing such a foundational useful package - I've pretty much only used R through this package!
This is only tangentially related to this package but could be useful for others.
One difficulty I found was some lab members never wanted to switch environments and preferred to have rstudio auto-start as normal, but with the (base/other) conda environment already setup. It was too easy to forget to activate the conda environment and get subtly different versions.
And I realized I could use the same rsession tricks but at the systemctl level (if the system uses systemd). So
The main disadvantage is unless you modify that file, you can't easily change the conda environment. But if you did modify the file then you only have to do sudo systemctl restart rstudio-server.service for it to reload.
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for writing such a foundational useful package - I've pretty much only used R through this package!
This is only tangentially related to this package but could be useful for others.
One difficulty I found was some lab members never wanted to switch environments and preferred to have rstudio auto-start as normal, but with the (base/other) conda environment already setup. It was too easy to forget to activate the conda environment and get subtly different versions.
And I realized I could use the same
rsession
tricks but at thesystemctl
level (if the system uses systemd). SoModify
/lib/systemd/system/rstudio-server.service:
(Run
systemctl daemon-reload
when first change)and
Create
/root/activateConda
: (made executable)The main disadvantage is unless you modify that file, you can't easily change the conda environment. But if you did modify the file then you only have to do
sudo systemctl restart rstudio-server.service
for it to reload.The text was updated successfully, but these errors were encountered: