| extSoftVersion {base} | R Documentation |
Report Versions of Third-Party Software
Description
Report versions of (external) third-party software used.
Usage
extSoftVersion()
Details
The reports the versions of third-party software libraries in use. These are often external but might have been compiled into R when it was installed.
With dynamic linking, these are the versions of the libraries linked to in this session: with static linking, of those compiled in.
Value
A named character vector, currently with components
zlib |
The version of |
bzlib |
The version of |
xz |
The version of |
libdeflate |
The version of |
zstd |
The version of |
PCRE |
The version of |
ICU |
The version of |
TRE |
The version of |
iconv |
The implementation and version of the |
readline |
The version of |
BLAS |
Name of the binary/executable file with the implementation of
|
Note that the values for bzlib and pcre normally contain
a date as well as the version number, and that for tre includes
several items separated by spaces, the version number being the
second. zlib's value can be something like 1.3.1.zlib-ng.
For iconv this will give the implementation as well as the
version, for example "GNU libiconv 1.14", "glibc
2.18" or "win_iconv" (which has no version number).
The name of the binary/executable file for BLAS can be used as an
indication of which implementation is in use. Typically, the R version of
BLAS will appear as libR.so (libR.dylib), R or
libRblas.so (libRblas.dylib), depending on how R was built.
Note that libRblas.so (libRblas.dylib) may also be shown for
an external BLAS implementation that had been copied, hard-linked or
renamed by the system administrator. For an external BLAS, a shared
object file will be given and its path/name may indicate the
vendor/version. The detection does not work on Windows nor for some
uses of the Accelerate framework on macOS.
See Also
libcurlVersion for the version of libCurl.
La_version for the version of LAPACK in use.
La_library for binary/executable file with LAPACK in use.
grSoftVersion for third-party graphics software.
tclVersion in package tcltk for the version of Tcl/Tk.
pcre_config for PCRE configuration options.
connection for how to use the file and connection
compression methods "zlib", "bzlib", "xz",
"libdeflate", and "zstd".
Examples
extSoftVersion()
## the PCRE version
sub(" .*", "", extSoftVersion()["PCRE"])