-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Labels
Description
Proposed change
A common practice in RStudio is to use an Rproject file on startup, which is given in the --rproj-file
argument to rsession
, e.g.:
rsession --standalone=1 --program-mode=server --www-port=8787 --rproj-file=/etc/foo.rproj
It's no problem to put the rproject file in the Docker container and then add the following lines to https://github.com/jupyterhub/jupyter-rsession-proxy/blob/main/jupyter_rsession_proxy/__init__.py right after line 110:
if os.getenv('JUPYTER_RSESSION_RPROJ_FILE', default):
cmd.append(f'--rproj-file={JUPYTER_RSESSION_RPROJ_FILE}')
Alternative options
This might be subsumed (or a special case) of the open PR #86. It appears to have been open for four years without activity.
Who would use this feature?
This is a common way for R users to express startup behavior.
(Optional): Suggest a solution
My proposed solution is in the description above, and I'd be happy to fork the repo, make and test it, and do a PR.