Report Versions of Third-Party Software (original) (raw)
extSoftVersion {base} | R Documentation |
---|
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 zlib in use. |
---|---|
bzlib | The version of bzlib (from bzip2) in use. |
xz | The version of liblzma (from xz) in use. |
libdeflate | The version of libdeflate (if any otherwise"") used when R was built. |
PCRE | The version of PCRE in use. PCRE1 has versions < 10.00, PCRE2 has versions >= 10.00. |
ICU | The version of ICU in use (if any, otherwise ""). |
TRE | The version of libtre in use. |
iconv | The implementation and version of the iconvlibrary in use (if known). |
readline | The version of readline in use (if any, otherwise ""). If using the emulation by libedit akaeditline this will be "EditLine wrapper" preceded by the readline version it emulates: that is most likely to be seen on macOS. |
BLAS | Name of the binary/executable file with the implementation ofBLAS in use (if known, otherwise ""). |
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.
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
orlibRblas.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](../../base/help/libcurlVersion.html)
for the version of libCurl
.
[La_version](../../base/help/La%5Fversion.html)
for the version of LAPACK in use.
[La_library](../../base/help/La%5Flibrary.html)
for binary/executable file with LAPACK in use.
[grSoftVersion](../../grDevices/html/grSoftVersion.html)
for third-party graphics software.
[tclVersion](../../tcltk/html/TclInterface.html)
in package tcltk for the version of Tcl/Tk.
[pcre_config](../../base/help/pcre%5Fconfig.html)
for PCRE configuration options.
Examples
extSoftVersion()
## the PCRE version
sub(" .*", "", extSoftVersion()["PCRE"])
[Package _base_ version 4.6.0 Index]