unlist_rstudio_proj: Remove specific projects from RStudio's list under File >...

Description Usage Arguments Value Examples

View source: R/unlist_rstudio_proj.R

Description

This function is called for its side effect: to remove one or more RStudio's projects from the list of recent projects found in File > Recent Projects.

Usage

1
2
unlist_rstudio_proj(rm_proj, path = get_path_to_listed_rproj(user =
  c("LeporeM", "dora")))

Arguments

rm_proj

Pattern to match the project(s) to remove.

path

Path to the file where RStudio stores the list of Recent Projects.

Value

Invisibly returns the to Keep. The side effect is a list of Recent RStudio projects thas lacks the ones the user chosed to remove.

Examples

1
2
3
4
5
6
7
## Not run: 
# Remove "project1" and "project3".
x <- unlist_rstudio_proj("project1|project3")
# Show the projects to keep in File > Recent Projects
x

## End(Not run)

maurolepore/handy documentation built on May 21, 2019, 1:37 p.m.