Users can create and open RStudio projects using the rstudioapi
package.
# open a project in another directory
::openProject("~/projects/t-sne-gene-expression-2017")
rstudioapi
# re-open the current project
::openProject()
rstudioapi
# initialize an RStudio project (without opening it)
::initializeProject("~/scratch/testbed") rstudioapi