Blame | Last modification | View Log | Download | RSS feed
This RJSONIO package uses the libjson C++ library fromlibjson.sourceforge.net (there are other projects called libjson). Aversion of that code is included in this package and can be used.Alternatively, one can use a different version of libjson, e.g. a morerecent version (but that site has not been updated since 2012, version7.6.1, a corrected version of which is included here). To do this, youcan build and install that version of libjson withmake SHARED=1 installThe key thing is to make this a shared library so we can link againstit as position independent code (PIC).By default, this will be installed in /usr/local.You can control this withmake SHARED=1 install prefix="/my/directory"The configuration script will attempt to find libjson on your system,looking in /usr/local. If this is not the location you installedlibjson to, you can specify the prefix via the --with-prefix=/my/directory,e.g.R CMD INSTALL --configure-args="--with-prefix=/my/directory" RJSONIOIf you want to force using the version of libjson contained in this package,you can useR CMD INSTALL --configure-args="--with-local-libjson=yes" RJSONIOIf you do use a version of libjson installed into a non-standardplace, you will probably need to modify your LD_LIBRARY_PATH (orDYLD_LIBRARY_PATH on macOS) environment variable.