projects | R Documentation |
Initialize and open RStudio projects.
openProject(path = NULL, newSession = FALSE)
initializeProject(path = getwd())
path |
Either the path to an existing |
newSession |
Boolean; should the project be opened in a new session,
or should the current RStudio session switch to that project? Note that
|
Calling openProject()
without arguments effectively re-opens the
currently open project in RStudio. When switching projects, users will
be prompted to save any unsaved files; alternatively, you can explicitly
save any open documents using documentSaveAll()
.
The openProject
and initializeProject
functions were
added in version 1.1.287 of RStudio.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.