The rstudioapipackage has a function openProject() with which one can non-interactively open an existing R Studio project.
In fact, there are functions in the same package for initializing/creating R Studio projects. However, I could not find anything in the documentation for closing or shutting down a project and moving into a regular R session.
How can this be done, if at all?
.Rproj