rproj: Open an RStudio project from R

Description Usage Arguments Value See Also

View source: R/project.R

Description

Quickly open a package (ar any directory in the search path) as an RStudio project. The search paths are defined by the custom options rmisc.pkgs, rmisc.proj, and rmisc.devel, which I have preset in .Rprofile. If none of these is defined rproj will fall back to the current working directory.

Usage

1
rproj(pkg, path = "all")

Arguments

pkg

The name of a package (or project directory) given as a Symbol.

path

One of 'all', 'pkgs', 'proj', or 'devel'.

Value

Opens RStudio.

See Also

Inspired by this question on stackoverflow


gschofl/rmisc documentation built on May 17, 2019, 8:54 a.m.