search for: rcpp_init

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

Did you mean: cpu_init
2013 Jun 20
1
compiling Rcpp with 3.0.1 on Solaris 10
...ocal/lib/R/include -DNDEBUG -I../inst/include/ -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -fPIC -g -O2 -c Module.cpp -o Module.o gcc -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -I../inst/include/ -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -fPIC -g -O2 -c Rcpp_init.c -o Rcpp_init.o g++ -I/usr/local/lib/R/include -DNDEBUG -I../inst/include/ -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -fPIC -g -O2 -c Timer.cpp -o Timer.o g++ -I/usr/local/lib/R/include -DNDEBUG -I../inst/include/ -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -...
2013 Jun 21
1
compiling Rcpp with 3.0.1 on Solaris 10
.../include -DNDEBUG -I../inst/include/ g++ -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include??? -fPIC? g++ -g -O2? -c Module.cpp -o Module.o gcc -std=gnu99 -I/usr/local/lib/R/include -DNDEBUG -I../inst/include/ -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include??? -fPIC? -g -O2? -c Rcpp_init.c -o Rcpp_init.o g++ -I/usr/local/lib/R/include -DNDEBUG -I../inst/include/ g++ -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include??? -fPIC? g++ -g -O2? -c Timer.cpp -o Timer.o -I/usr/local/lib/R/include -DNDEBUG g++ -I../inst/include/ -I/usr/local/include -I/usr/sfw/include g++ -I/opt/...
2012 Jun 08
4
Multiple sub-architecture: linking issue
...-I/usr/local/include -fpic -g -O2 -c r_cast.cpp -o r_cast.o g++ -m32 -shared -L/usr/local/lib64 -o Rcpp.so Date.o DateVector.o Datetime.o DatetimeVector.o Dimension.o DottedPair.o Environment.o Evaluator.o Formula.o Function.o Language.o Module.o Pairlist.o Promise.o RObject.o RcppCommon.o Rcpp_init.o Reference.o Rostream.o Rstreambuf.o S4.o Symbol.o WeakReference.o barrier.o cache.o coerce.o complex.o debugging.o exceptions.o posixt.o r_cast.o /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/libstdc++.so when searching for -lstdc++ /usr/bin/ld: skipp...
2012 Jun 08
4
Multiple sub-architecture: linking issue
...-I/usr/local/include -fpic -g -O2 -c r_cast.cpp -o r_cast.o g++ -m32 -shared -L/usr/local/lib64 -o Rcpp.so Date.o DateVector.o Datetime.o DatetimeVector.o Dimension.o DottedPair.o Environment.o Evaluator.o Formula.o Function.o Language.o Module.o Pairlist.o Promise.o RObject.o RcppCommon.o Rcpp_init.o Reference.o Rostream.o Rstreambuf.o S4.o Symbol.o WeakReference.o barrier.o cache.o coerce.o complex.o debugging.o exceptions.o posixt.o r_cast.o /usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/libstdc++.so when searching for -lstdc++ /usr/bin/ld: skipp...
2013 Nov 16
2
Linking to native routines in other packages
...r/inst/include/Rcpp/routines.h where depending - when we are compiling Rcpp, we just have a declaration of the function, which is then defined in any of our .cpp files. - when we are using Rcpp from another package, we are retrieving the function https://github.com/RcppCore/Rcpp/blob/master/src/Rcpp_init.cpp where the functions are registered with the RCPP_REGISTER macro. This way of using it moves all the logic to the package exposing its functions. I find this nicer to use than other tactics I've seen, such as the sub technique from Matrix ... -- Romain Francois Professional R Enthusias...