Rev 85139 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/base/man/extSoftVersion.Rd% Part of the R package, https://www.R-project.org% Copyright 2014-2023 R Core Team% Distributed under GPL 2 or later\name{extSoftVersion}\alias{extSoftVersion}\title{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 itwas installed.With dynamic linking, these are the versions of the libraries linkedto in this session: with static linking, of those compiled in.}\value{A named character vector, currently with components\item{zlib}{The version of \code{zlib} in use.}\item{bzlib}{The version of \code{bzlib} (from \command{bzip2}) in use.}\item{xz}{The version of \code{liblzma} (from \command{xz}) in use.}\item{libdeflate}{The version of \code{libdeflate} (if any otherwise\code{""}) used when \R was built.}\item{PCRE}{The version of \code{PCRE} in use. PCRE1 has versions < 10.00,PCRE2 has versions >= 10.00.}\item{ICU}{The version of \code{ICU} in use (if any, otherwise \code{""}).}\item{TRE}{The version of \code{libtre} in use.}\item{iconv}{The implementation and version of the \code{iconv}library in use (if known).}\item{readline}{The version of \code{readline} in use (if any,otherwise \code{""}). If using the emulation by \code{libedit} aka\code{editline} this will be \code{"EditLine wrapper"} preceded bythe \code{readline} version it emulates: that is most likely to beseen on macOS.}\item{BLAS}{Name of the binary/executable file with the implementation of\code{BLAS} in use (if known, otherwise \code{""}).}Note that the values for \code{bzlib} and \code{pcre} normally containa date as well as the version number, and that for \code{tre} includesseveral items separated by spaces, the version number being thesecond.For \code{iconv} this will give the implementation as well as theversion, for example \code{"GNU libiconv 1.14"}, \code{"glibc2.18"} or \code{"win_iconv"} (which has no version number).The name of the binary/executable file for \code{BLAS} can be used as anindication of which implementation is in use. Typically, the R version ofBLAS will appear as \code{libR.so} (\code{libR.dylib}), \code{R} or\code{libRblas.so} (\code{libRblas.dylib}), depending on how R was built.Note that \code{libRblas.so} (\code{libRblas.dylib}) may also be shown foran external BLAS implementation that had been copied, hard-linked orrenamed by the system administrator. For an external BLAS, a sharedobject file will be given and its path/name may indicate thevendor/version. The detection does not work on Windows nor for someuses of the Accelerate framework on macOS.%% it works for --with-blas="-framework Accelerate'%% but not for --with-newAccelerate}\seealso{\code{\link{libcurlVersion}} for the version of \code{libCurl}.\code{\link{La_version}} for the version of LAPACK in use.\code{\link{La_library}} for binary/executable file with LAPACK in use.\code{\link{grSoftVersion}} for third-party graphics software.\code{\link{tclVersion}} in package \pkg{tcltk} for the version of Tcl/Tk.\code{\link{pcre_config}} for PCRE configuration options.}\examples{extSoftVersion()## the PCRE versionsub(" .*", "", extSoftVersion()["PCRE"])}