search for: r_arch_bin

Displaying 5 results from an estimated 5 matches for "r_arch_bin".

2010 May 20
1
Use of R and Rscript in configure/Makevars in packages
...out quotes. (b) There are further issues with platforms which use sub-architectures (mainly Mac OS X and R-devel Windows). On Windows the architecture-dependent executables will (as from R 2.12.0) be in subdirectories of ${R_HOME}/bin, so the general form is to use one of "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" "${R_HOME}/bin${R_ARCH_BIN}/Rterm.exe" "${R_HOME}/bin${R_ARCH_BIN}/Rcmd.exe" On R-devel Windows ${R_HOME}/bin/R.exe and ${R_HOME}/bin/Rscript.exe do exist and are 32-bit executables whose sole task is to launch the appropriate executable from a sub-directory...
2013 Nov 03
1
How to make an R package that uses Boost.Thread, qualified to be published on CRAN or shared by the most
...nd if there is a file called libboost_thread*) ------------------------------- ## Use the R_HOME indirection to support installations of multiple R version ## PKG_CXXFLAGS = `$(R_HOME)/bin/Rscript -e "Rcpp:::CxxFlags()"` PKG_CPPFLAGS = -I${BOOSTLIB} PKG_LIBS = $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e "Rcpp:::LdFlags()") ${BOOSTLIB}/lib/libboost_thread* ------------------------------- Makevars.win (try 2: try to find something in lib) ------------------------------- ## Use the R_HOME indirection to support installations of multiple R version ## PKG_CXXFLAGS = `$(...
2011 May 20
2
Calling Rscript from Makevars
...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 'NAGFWrappers/DESCRIPTION' ... OK * preparing 'NAGFWrappers...
2016 Oct 11
0
PKG_LIBS in make child processes
...akevars is made such that the libraries are compiled individually to static libraries in their respective sub-directory, then these static libraries are copied to src/, and finally the static libraries are integrated into msa.so. The Makevars file looks as follows: PKG_LIBS=`${R_HOME}/bin${R_ARCH_BIN}/Rscript -e "if (Sys.info()['sysname'] == 'Darwin') cat('-Wl,-all_load ./libgc.a ./libClustalW.a ./libClustalOmega.a ./libMuscle.a') else cat('-Wl,--whole-archive ./libgc.a ./libClustalW.a ./libClustalOmega.a ./libMuscle.a -Wl,--no-whole-archive...
2018 Feb 01
1
Error message: 'Rscript' should not be used without a path
Dear R-devel members, recently, I ran into the following error message (R-devel 2018-01-31): 'Rscript' should not be used without a path -- see par. 1.6 of the manual I would like to know more about it, why is it required to run Rscript with a path, and where is that par. 1.6 of the manual. I get this error message during Travis r-devel build of my package for generating makefiles. I