search for: lrcpp

Displaying 11 results from an estimated 11 matches for "lrcpp".

Did you mean: rcpp
2010 Sep 15
2
lapack in R 2.11.1 (Ubuntu 10.04.1)
...1 which I installed and regularly update via Ubuntu's repositories. When I try to install RcppArmadillo from CRAN I get: > install.packages('RcppArmadillo', lib='~/myRlibs') [...] g++ -shared -o RcppArmadillo.so RcppArmadillo.o fastLm.o -L/home/matias/myRlibs/Rcpp/lib -lRcpp -Wl,-rpath,/home/matias/myRlibs/Rcpp/lib -llapack -lblas -lgfortran -lm -L/usr/lib/R/lib -lR /usr/bin/ld: cannot find -llapack I believe this means I don't have lapack available to link to. Does anybody know how I can fix this? I really only need to have RcppArmadillo running. I...
2011 Oct 08
0
Fatal Error: unable to load base package
...command g++ -Ic:/Progra~1/R/R-2.13.1/include -Ic:/Progra~1/R/R-2.13.1/library/Rcpp/include -Ic:/Progra~1/R/R-2.13.1/library/RInside/include -O3 -pipe -g -s em00.cpp -Lc:/Progra~1/R/R-2.13.1/bin/i386 -lR -lRblas -lRlapack -lRiconv -lRzlib -lRgraphapp -Lc:/Progra~1/R/R-2.13.1/library/Rcpp/libs/i386 -lRcpp -Lc:/Progra~1/R/R-2.13.1/library/Rcpp/libs/x64 -lRcpp -Lc:/Progra~1/R/R-2.13.1/library/RInside/libs/i386 -llibRInside -o em00 [[alternative HTML version deleted]]
2017 Dec 03
1
Rcpp, dyn.load and C++ problems
...t. Rcpp has its down, rcpp-devel, and I basically do not read | this and would have missed this were it not for luck. "R has its own list, rcpp-devel" is what I meant to write. For completeness, we can also test on the command-line as Martin and what I do a lot myself: edd at bud:~$ r -lRcpp -e'sourceCpp("/tmp/mmsp.cpp")' R> res <- compute_values_cpp() R> str(res) Attaching package: ?utils? The following objects are masked from ?package:Rcpp?: .DollarNames, prompt List of 2 $ x: num [1:100000] 199 362 118 302 262 ... $ y: num [1:100000] 20 40 14.3...
2013 Mar 11
1
"undefined symbol" when `R CMD check'.
...clude -DNDEBUG -I/usr/local/include -I/usr/include -I"/home/gogamza/R/x86_64-pc-linux-gnu-library/2.15/Rcpp/include" -fpic -O2 -pipe -g -c getCharEncoding.cpp -o getCharEncoding.o g++ -shared -o Ruchardet.so getCharEncoding.o -L/home/gogamza/R/x86_64-pc-linux-gnu-library/2.15/Rcpp/lib -lRcpp -Wl,-rpath,/home/gogamza/R/x86_64- pc-linux-gnu-library/2.15/Rcpp/lib -L/usr/local/lib -L/usr/lib/ -lstdc++ -luchardet -L/usr/lib/R/lib -lR installing to /home/gogamza/work/Ruchardet.Rcheck/Ruchardet/libs ** R ** preparing package for lazy loading ** help *** installing help indices ** building p...
2011 Jun 27
1
R CMD check --force-multiarch does not install all the archs for testing
...creating libRcpp.a ranlib libRcpp.a rm -f Rcpp.o rm -f Rcpp.o ** libs running src/Makefile.win ... rm -f fabia.o fabia.dll *.a *.o *.so *.dll g++ -c fabiac.cpp -o fabia.o -I../RcppSrc -I"D:/biocbld/BBS-2?1.9-B/R/include" -Wall -O2 g++ -shared -s -static-libgcc fabia.o -L../RcppSrc -lRcpp -L"D:/biocbld/BBS-2?1.9-B/R/bin/i386" -lR -o fabia.dll rm -f fabia.o *.a *.o *.so installing to D:/biocbld/bbs-2.9-bioc/meat/fabia.Rcheck/fabia/libs/i386 ** R ** demo ** inst ** preparing package for lazy loading Creating a generic function for "plot" from package "graph...
2011 Feb 26
0
(no subject)
...+ -I/usr/local/lib64/R/include -I/usr/local/lib64/R/library/Rcpp/include -I/usr/local/lib64/R/library/RInside/include -g -O3 -Wall -I/usr/local/include rinside.cpp -L/usr/local/lib64/R/lib -lR -L/usr/local/lib64/R/lib -lRblas -L/usr/local/lib64/R/lib -lRlapack -L/usr/local/lib64/R/library/Rcpp/lib -lRcpp -Wl,-rpath,/usr/local/lib64/R/library/Rcpp/lib -L/usr/local/lib64/R/library/RInside/lib -lRInside -Wl,-rpath,/usr/local/lib64/R/library/RInside/lib -o rinside I know RInside works on my system as I have used it before successfully. If somebody can help me out here I would appreciate it. Thanks, Ham...
2017 Dec 03
0
Rcpp, dyn.load and C++ problems
I would go to the source, in this case Dirk Eddelbuettel's (I hope I spelled it correctly) documentation for Rcpp: http://dirk.eddelbuettel.com/code/rcpp/Rcpp-attributes.pdf Note that you need to do sourceCpp("logistic_map.cpp") in R instead of building and dyn.load()-ing the object. HTH, Peter On Sun, Dec 3, 2017 at 11:04 AM, Martin M?ller Skarbiniks Pedersen <traxplayer
2017 Dec 03
1
Rcpp, dyn.load and C++ problems
On 3 December 2017 at 20:19, Dirk Eddelbuettel <edd at debian.org> wrote: Hi Dirk, Thanks for your answers. I got a few more questions. > > 0) Wrong list. Rcpp has its down, rcpp-devel, and I basically do not read > this and would have missed this were it not for luck. OK. I did found the rcpp-devel mailing-list. But I though it was a developers of the rcpp-package. So it is ok
2017 Dec 03
2
Rcpp, dyn.load and C++ problems
On 3 December 2017 at 05:23, Eric Berger <ericjberger at gmail.com> wrote: > > Do a search on "Rcpp calling C++ functions from R" > Thanks. However search for "Rcpp calling C++ functions from R" gives a lot of result but I think some of them are outdated and others don't agree with each other. Can you point to a specific good on-line guide for me? Regards
2012 Nov 27
1
Problems with MinGW and boost on Windows
...obj/Debug64/Tester/Trunk_Test.o -I. -I/R/R-2.15.1/include -I/R/R-2.15.1/library/Rcpp/include -I/Sys/boost/boost_1_50_0 g++ -shared -fPIC -o Debug64/Tester.dll @"MinGW\Tester.txt" -L. -L/R/R-2.15.1/library/Rcpp/lib/x64 -L/R/R-2.15.1/bin/x64 -L/Sys/boost/MinGW64/boost_1_50_0/lib -LDebug64 -lRcpp -lR -lboost_serialization-mgw46-mt-d-1_50 -lboost_system-mgw46-mt-d-1_50 -Wl,--out-implib="Debug64/libTester.a" -m64 And for boost: b2.exe --prefix=c:\Sys\boost\MinGW64\boost_1_50_0 toolset=gcc address-model=64 link=static,shared -s BZIP2_SOURCE=C:\Sys\bzip2-1.0.6 -s ZLIB_SOURCE=C:\Sys\...
2011 Jan 26
2
Dealing with R list objects in C/C++
Hi, I'd like to construct an R list object in C++, fill it with relevant data, and pass it to an R function which will return a different list object back. I have browsed through all the R manuals, and examples under tests/Embedding, but can't figure out the correct way. Below is my code snippet: #include <Rinternals.h> // Rf_initEmbeddedR and other setups already performed