Extended Information About the Current R Session
Collect (and print) information about the current R session and
environment, using sessionInfo()
and more mostly
low-level and platform dependent information.
isRshared()
is a utility called from sessionInfoX()
.
sessionInfoX(pkgs = NULL, list.libP = FALSE, extraR.env = TRUE) ## S3 method for class 'sessionInfoX' print(x, locale = TRUE, RLIBS = TRUE, Renv = TRUE, ...) isRshared(platform = .Platform)
pkgs |
|
list.libP |
a logical indicating if for all
|
extraR.env |
logical indicating if all environment
variables should be recorded which start with |
x |
typically the result of |
locale |
logical, passed to |
RLIBS |
logical indicating if the information about R_LIBS should be printed. |
Renv |
logical indicating if the information about R environment variables should be printed. |
... |
passed to |
For isRshared()
, a logical
indicating if R has
been installed as “shared”, i.e., linked to ‘libR*’ shared
library.
For sessionInfoX()
, an object of S3 class "sessionInfoX"
, a list
with components (there may be more, experimental and not yet listed here):
sInfo |
simply the value of |
sysInf |
the value of |
capabilities |
the value of |
extSoft |
for R 3.2.0 and newer, the value of |
grSoft |
for R 3.2.0 and newer, the value of |
tclVersion |
for R 3.2.0 and newer and when tcltk is loaded,
the Tcl version ( |
LAPACK |
for R 3.0.3 and newer, the value of |
pcre |
for R 3.1.3 and newer, the value of |
pkgDescr |
If |
libPath |
the value of |
RLIBS |
a |
n.RLIBS |
simply a |
R.env |
a named character vector with the “important” R
environment variables |
xR.env |
if |
shared |
(not available on Windows, where it is conceptually always true:)
|
Martin Maechler, December 2015 ff.
six0 <- sessionInfoX() six0$shared # useful (for some, e.g., MM) on Unix alikes sixN <- sessionInfoX("nlme", list.libP = TRUE) sixN # -> print() method for "sessionInfoX" names(sixN) str(sixN, max = 1)# outline of lower-level structure str(sixN$pkgDescr) # list with one component "nlme"
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.