Displaying 1 result from an estimated 1 matches for "r_script_nam".
Did you mean:
r_script_name
2011 May 20
2
Calling Rscript from Makevars
...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_SCRIPT_NAME)
else
R_SCRIPT=$(R_SCRIPT_NAME)
endif
R_ARCH=$(shell $(R_SCRIPT) -e 'cat(R.version$$arch)')
PKG_LIBS= -lnag_nag -L/fserver/nagprod/FL22/fll6a22df/lib
I get the following error:
* checking for file 'N...