search for: rcppexports

Displaying 20 results from an estimated 37 matches for "rcppexports".

2014 Mar 07
2
Rcpp problems while installing httpuv / running build-dep r-base-core
...--library='/usr/local/lib/R/site-library' --install-tests * installing *source* package 'httpuv' ... ** libs g++ -I/usr/share/R/include -DNDEBUG -I./libuv/include -I./http-parser -I./sha1 -I./base64 -I"/usr/local/lib/R/site-library/Rcpp/include" -fpic -O3 -pipe -g -c RcppExports.cpp -o RcppExports.o RcppExports.cpp:4:18: error: Rcpp.h: No such file or directory RcppExports.cpp:6: error: 'Rcpp' is not a namespace-name RcppExports.cpp:6: error: expected namespace-name before ';' token RcppExports.cpp:9: error: variable or field 'sendWSMessage' declare...
2017 Nov 15
3
Problems installing mice package
...ckage and got the following error: * installing *source* package ?mice? ... ** package ?mice? successfully unpacked and MD5 sums checked ** libs g++ -I/usr/local/lib/R/include -DNDEBUG -I"/home/djj/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o g++ -I/usr/local/lib/R/include -DNDEBUG -I"/home/djj/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c match.cpp -o match.o g++ -shared -L/usr/local/lib -o mice.so RcppExports.o match.o Welcome to R! Goodbye! g++: error: Welcom...
2017 Nov 15
0
Problems installing mice package
...ng error: > > * installing *source* package ?mice? ... > ** package ?mice? successfully unpacked and MD5 sums checked > ** libs > g++ -I/usr/local/lib/R/include -DNDEBUG -I"/home/djj/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o > g++ -I/usr/local/lib/R/include -DNDEBUG -I"/home/djj/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c match.cpp -o match.o > g++ -shared -L/usr/local/lib -o mice.so RcppExports.o match.o Welcome to R! Goodbye! Somehow...
2010 Mar 25
1
Error using Rcpp
Hi, Im not sure if this is the right place to post this. I am using Xubuntu Karmic Koala and am trying to use the Rcpp package. I am testing it using a simple code that takes in a vector and adds 1 to each element: #include <Rcpp.h> // This file takes in a vector and adds one to each entry RcppExport SEXP addone(SEXP vec){ // create a local copy of vec Rcpp::NumericVector
2017 Apr 19
4
R 3.4 has broken C++11 support
Hi Dirk and Martyn, > That looks fine. Can you please give a reproducible example of a package > that compiles correctly on R 3.3.3 but not with R 3.4.0 or R-devel. here you go, it?s pretty much the simplest package possible that needs C++11: https://github.com/flying-sheep/cxx11test > Maybe you can share with us how you configure the build of R-devel? Sure, in the mail you quoted, I
2017 Apr 19
0
R 3.4 has broken C++11 support
...g to library ?/home/plummerm/R-devel/r-devel/build/library? * installing *source* package ?cxx11test? ... ** libs g++ -std=gnu++11 -I/home/plummerm/R-devel/r-devel/build/include -DNDEBUG??-I"/home/plummerm/R-devel/r-devel/build/library/Rcpp/include" -I/usr/local/include???-fpic??-g -O2 -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++11 -I/home/plummerm/R-devel/r-devel/build/include -DNDEBUG??-I"/home/plummerm/R-devel/r-devel/build/library/Rcpp/include" -I/usr/local/include???-fpic??-g -O2 -c test.cpp -o test.o g++ -std=gnu++11 -shared -L/usr/local/lib64 -o cxx11test.so RcppExports.o...
2020 Mar 26
3
Rebuilding and re-checking of downstream dependencies on CRAN Mac build machines
I have two questions about the CRAN machines that build binary packages for Mac. When a new version of a package is released, (A) Do the downstream dependencies get re-checked? (B) Do the downstream dependencies get re-built? I have heard (but do not know for sure) that the answer to (A) is no, the downstream dependencies do not get rechecked. >From publicly available information on the
2016 Jan 27
2
rstan warning messages
...6 installed R version 3.2.3 from EPEL installed Start R and use the following command, but got warnings! install.packages("rstan", dependencies = TRUE, repos = "http://cran.r-project.org/") ... g++ -m64 -shared -L/usr/lib64/R/lib -L/usr/local/lib64 -o RcppEigen.so RcppEigen.o RcppExports.o fastLm.o -L/usr/lib64/R/lib -lRlapack -L/usr/lib64/R/lib -lRblas -lgfortran -lm -L/usr/lib64/R/lib -lR /usr/bin/ld: cannot find -lgfortran collect2: error: ld returned 1 exit status make: *** [RcppEigen.so] Error 1 ERROR: compilation failed for package 'RcppEigen' * removing '/usr/lib...
2015 Nov 23
3
MKL Acceleration encouraging; need adjust package builds?
...ols/cluster/6.2/R/3.2.2_mkl/lib64/R/include -I/usr/local/include -I"/panfs/pfs.acf.ku.edu/crmda/tools/lib64/R/3.2/site-library/Rcpp/include" -I../inst/include -fpic -O3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c RcppExports.cpp -o RcppExports.o g++ -I/tools/cluster/6.2/R/3.2.2_mkl/lib64/R/include -I/usr/local/include -I"/panfs/pfs.acf.ku.edu/crmda/tools/lib64/R/3.2/site-library/Rcpp/include" -I../inst/include -fpic -O3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-si...
2015 Nov 23
0
MKL Acceleration encouraging; need adjust package builds?
...ols/cluster/6.2/R/3.2.2_mkl/lib64/R/include -I/usr/local/include -I"/panfs/pfs.acf.ku.edu/crmda/tools/lib64/R/3.2/site-library/Rcpp/include" -I../inst/include -fpic -O3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c RcppExports.cpp -o RcppExports.o g++ -I/tools/cluster/6.2/R/3.2.2_mkl/lib64/R/include -I/usr/local/include -I"/panfs/pfs.acf.ku.edu/crmda/tools/lib64/R/3.2/site-library/Rcpp/include" -I../inst/include -fpic -O3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-si...
2020 Mar 11
1
R CMD INSTALL cannot recognize full path on Windows
Jiefei, you did not commit all files into the example package - your example has things like RcppExports.cpp as well as additional flags which are not in your GH project. I suspect the issue is with the extra flags you're adding - those don't come from R. Please make sure you can replicate the issue with the GH package you created. Cheers, Simon * installing *source* package 'testPacka...
2016 Jan 21
1
Failed to install imager
Hi, I failed to run install.packages("imager") in CentOS 6, the R version is 3.2.2 g++ -shared -L/usr/local/r/3.2.2/lib64/R/lib -L/usr/local/lib64 -o imager.so RcppExports.o colourspace.o display.o drawing.o filtering.o interpolation.o morphology.o transformations.o utils.o wrappers.o -lX11 -lfftw3 -L/usr/local/r/3.2.2/lib64/R/lib -lR /usr/bin/ld: cannot find -lfftw3 I checked imager src/Makevars.win: PKG_LIBS += -L$(LIB_FFTW)/lib -lgdi32 -lfftw3-3 $(RCPP_LDFLAGS)...
2014 Sep 03
1
Rcpp and dot in package name
I have run across a problem with Rcpp and trying to create a package with a name containing a dot ('.') using Rcpp.package.skeleton. I get the following error RcppExports.cpp:10:25: error: expected initializer before '.' token RcppExport SEXP genetics.haplotype_rcpp_hello_world() { implying that Rcpp literally uses the package name in internal function name generation. Unfortunately, if I use an underscore ('_') instead, I get Error : Invalid DESCR...
2016 Apr 19
3
installation of dplyr
...lude/R -DNDEBUG -I../inst/include -DCOMPILING_DPLYR -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c RcppExports.cpp -o RcppExports.o g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include -DCOMPILING_DPLYR -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=s...
2016 Apr 19
0
installation of dplyr
...lude/R -DNDEBUG -I../inst/include -DCOMPILING_DPLYR -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c RcppExports.cpp -o RcppExports.o > g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include -DCOMPILING_DPLYR -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --pa...
2013 May 24
0
Rcpp with OpenMP - Need example Makevars
Dear R experts, recently I started developing a Rcpp package "OpenMPTest". Within that package I want to use OpenMP, as in the following code example: // header file #include <omp.h> using namespace Rcpp ; RcppExport SEXP testOpenMP( SEXP nThreads ) ; // cpp file SEXP testOpenMP( SEXP nThreads ) { BEGIN_RCPP NumericVector numberThreads = NumericVector( nThreads );
2016 Dec 02
1
pdftools on Ubuntu
Hi Francois, Thanks for your quick response. Actually, I had already done that... sudo apt-get install libpoppler-cpp-dev Reading package lists... Done Building dependency tree Reading state information... Done libpoppler-cpp-dev is already the newest version (0.41.0-0ubuntu1.1). 0 upgraded, 0 newly installed, 0 to remove and 107 not upgraded. Therefore, I assume I have this installed. Best
2018 Mar 14
0
R crashing with a segmentation fault: how to locate the cause
...1F773: filter_ungrouped(Rcpp::DataFrame_Impl<Rcpp::PreserveStorage>, dplyr::NamedQuosure const&) (filter.cpp:89) ==12589== by 0x11B1FD89: filter_impl(Rcpp::DataFrame_Impl<Rcpp::PreserveStorage>, dplyr::NamedQuosure) (filter.cpp:106) ==12589== by 0x11AD45CB: _dplyr_filter_impl (RcppExports.cpp:192) ==12589== by 0x4F0DBAC: ??? (in /usr/lib/R/lib/libR.so) ==12589== by 0x4F50E50: Rf_eval (in /usr/lib/R/lib/libR.so) ==12589== by 0x4F534FF: ??? (in /usr/lib/R/lib/libR.so) ==12589== by 0x4F50C28: Rf_eval (in /usr/lib/R/lib/libR.so) ==12589== Address 0x2c is not stack'd, ma...
2010 Dec 03
1
Error using Rcpp under windows xp
Hi, I am a newbie to Rcpp packages, and got problems in having basic set-ups for Rcpp under windows xp. Here is the list I have done. 1) installed Rtools and have no problem in compiling .c file. 2) installed Rcpp packages 3) set enviroment variables 'path' to make C:\Program Files\R\R-2.12.0\library\Rcpp\include\ searchable The sample C++ code I used is from the original website:
2015 Apr 14
1
httpuv not installing on fedora 19
...ome/markleeds/research/R/Rlibs/library/Rcpp/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c base64.cpp -o base64.o) g++ -m64 -shared -L/usr/lib64/R/lib -Wl,-z,relro -o httpuv.so RcppExports.o filedatasource-unix.o filedatasource-win.o http.o httpuv.o md5.o set_invalid_parameter.o uvutil.o websockets-base.o websockets-hixie76.o websockets-hybi03.o websockets-ietf.o websockets.o [1] "LC_CTYPE=C;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=en_US.utf8;LC_PAPER=en_US....