open_project | R Documentation |
Open RStudio project by name or interactively. The projects list is read from files that contain project lists.
open_project(
pattern = NULL,
new_session = if (interactive()) NULL else TRUE,
proj_list = NULL,
proj_list_path = NULL,
only_available = TRUE,
name = NULL,
negate = FALSE
)
pattern |
(character) regular expression to narrow down the list of possible options. |
new_session |
(logical| |
proj_list |
(data frame) The result of |
proj_list_path |
(string) The path to the file with the list of project
paths. If |
only_available |
(logical) If |
name |
(string| |
negate |
(logical) If |
Opens the indicated project.
update_rstudio_proj_list_user()
rstudioapi::openProject()
rstudioapi::initializeProject()
## Not run: \donttest{
open_project()
open_project("bio")
open_project("R-2019-project")
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.