inst/doc/projects.R

## ----setup, include=FALSE-----------------------------------------------------
knitr::opts_chunk$set(eval = FALSE)

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

Try the rstudioapi package in your browser

Any scripts or data that you put into this service are public.

rstudioapi documentation built on Jan. 16, 2026, 5:18 p.m.