rproj: Open an RStudio project from R

Description Usage Arguments Value See Also

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 gsmisc.pkgs, gsmisc.proj, and gsmisc.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/gsmisc documentation built on May 17, 2019, 8:52 a.m.