Displaying 1 result from an estimated 1 matches for "lnag_nag".
2011 May 20
2
Calling Rscript from Makevars
...ge some code to use with R and wanted to call
Rscript from within the Makevars file (I am trying to automate the
setting of the location of a third party library depending on what is
available / the system the package is being installed on).
If I just have a simple Makevars containing
PKG_LIBS= -lnag_nag -L/fserver/nagprod/FL22/fll6a22df/lib
the package is built without any errors, if I attempt to add a call to
Rscript, for example (which I think is the way that "Writing R
Extensions" recommends):
R_SCRIPT_NAME=Rscript
ifneq ($(R_HOME),)
R_SCRIPT=$(R_HOME)/bin$(R_ARCH_BIN)/$(R_SCRIP...