Skip to content
Prev 5898 / 12125 Next

[R-pkg-devel] R CMD INSTALL -l /path/lib

variables: R_PACKAGE_NAME (the name of the package), R_PACKAGE_SOURCE (the
path to the source directory of the package), R_PACKAGE_DIR (the path of
the target installation directory of the package), R_ARCH (the
arch-dependent part of the path, often empty), SHLIB_EXT (the extension of
shared objects) and WINDOWS (TRUE on Windows, FALSE elsewhere).

This is for `install.libs.R`, but AFAIR it is also true for `configure`. So
you need the `R_PACKAGE_DIR` env var.

Gabor

On Wed, Aug 19, 2020 at 12:03 PM Sameh M. Abdulah <
sameh.abdulah at kaust.edu.sa> wrote: