extSoftVersion()zlib in use.bzlib (from bzip2) in use.liblzma (from xz) in use.PCRE in use.ICU in use (if any, otherwise "").libtre in use.iconv
  library in use (if known).readline in use (if any,
  otherwise "").BLAS in use (if known, otherwise "").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 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.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 for the version of Tcl/Tk. pcre_config for PCRE configuration options.extSoftVersion()
## the PCRE version
sub(" .*", "", extSoftVersion()["PCRE"])
Run the code above in your browser using DataLab