Skip to content

rv library

Returns the relative path of the library in UNIX format, even on Windows.

The library is by default rv/library/<R version>/<arch>/<linux codename> (with the linux codename only appearing on linux OSs). This can be tuned using the library configuration.

Terminal window
rv library [OPTIONS]
  • --r-bin <PATH> - Use the R at that path instead of the one rv finds for the project Introduced in rv v0.23.0
  • --r-version <VERSION> - Report the library path of another R version, which does not need to be installed Introduced in rv v0.23.0

See overriding the R version for how those two interact.

Terminal window
% rv library
rv/library/4.4/arm64