search for: librcpp

Displaying 15 results from an estimated 15 matches for "librcpp".

Did you mean: libcpp
2012 Nov 25
0
Problema de compilacion con Rcpp
...ue funcione Rcpp ni con un ejemplo básico. He seguido las instrucciones que vienen en http://tonybreyal.wordpress.com/2011/12/07/installing-rcpp-on-windows-7-for-r-and-c-integration/ Tengo instalado Rtools y los paths correspondientes, pero no hay manera... Casi todo parece un problema de "libRcpp.a" ¿alguien tiene algo de experiencia con cosas parecidas? Sale justo esto: #.................................................... > # load main two packages > library(Rcpp) > library(inline) > # do something with Rcpp to quickly check that it works > body <- ' + Nume...
2011 Oct 12
1
Error in Rcpp/inline (Windows XP)
...= xa[i] * xb[j]; + + return xab; + ' > > fun = cxxfunction( + signature(a = "numeric", b = "numeric"), + src, plugin = "Rcpp",verbose=T) >> setting environment variables: PKG_LIBS = C:/Program Files/R/R-2.13.0/library/Rcpp/lib/i386/libRcpp.a >> LinkingTo : Rcpp CLINK_CPPFLAGS = -I"C:/Program Files/R/R-2.13.0/library/Rcpp/include" >> Program source : ...... Compilation argument: C:/PROGRA~1/R/R-213~1.0/bin/i386/R CMD SHLIB file6d55374d.cpp 2> file6d55374d.cpp.err.txt g++ -I"C:/PROGRA~1/R/R-213~...
2011 Jun 27
1
R CMD check --force-multiarch does not install all the archs for testing
...ackage 'fabia' is not installed for 'arch=x64' Execution halted It looks like this package has a loading problem: see the messages for details. Content of fabia.Rcheck\00install.out: -------------------------------------- * installing *source* package 'fabia' ... Building libRcpp.a in RcppSrc... rm -f Rcpp.o libRcpp.a g++ -c Rcpp.cpp -o Rcpp.o -I"D:/biocbld/BBS-2?1.9-B/R/include" -I"D:/biocbld/BBS-2?1.9-B/R/src/include" -Wall -O2 ar r libRcpp.a Rcpp.o C:\Rtools213\MinGW\bin\ar.exe: creating libRcpp.a ranlib libRcpp.a rm -f Rcpp.o rm -f Rcpp.o ** lib...
2013 Jun 20
1
compiling Rcpp with 3.0.1 on Solaris 10
...fw/include -I/opt/sfw/include -fPIC -g -O2 -c exceptions.cpp -o exceptions.o g++ -shared -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/opt/solarisstudio12.3/lib -L/opt/solarisstudio12.3/prod/lib -o Rcpp.so Date.o Module.o Rcpp_init.o Timer.o api.o attributes.o barrier.o exceptions.o g++ -o libRcpp.so Date.o Module.o Rcpp_init.o Timer.o api.o attributes.o barrier.o exceptions.o -shared ar qc libRcpp.a Date.o Module.o Rcpp_init.o Timer.o api.o attributes.o barrier.o exceptions.o cp libRcpp.so ../inst/lib cp libRcpp.a ../inst/lib rm libRcpp.so libRcpp.a installing to /usr/local/lib/R/library/Rc...
2013 Jun 21
1
compiling Rcpp with 3.0.1 on Solaris 10
...I/opt/sfw/include??? -fPIC? -g -O2? -c exceptions.cpp -o g++ exceptions.o -shared -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib g++ -L/opt/solarisstudio12.3/lib -L/opt/solarisstudio12.3/prod/lib -o g++ Rcpp.so Date.o Module.o Rcpp_init.o Timer.o api.o attributes.o g++ barrier.o exceptions.o -o libRcpp.so Date.o Module.o Rcpp_init.o g++ Timer.o api.o attributes.o barrier.o exceptions.o -shared ar qc libRcpp.a Date.o Module.o Rcpp_init.o Timer.o api.o attributes.o barrier.o exceptions.o cp libRcpp.so ../inst/lib cp libRcpp.a ../inst/lib rm libRcpp.so libRcpp.a installing to /usr/local/lib/R/libra...
2009 Jun 29
1
Installing DLL elsewhere than in \libs?
Hello, Its a couple of days I am fighting with this problem, and cannot find a solution. I need to compile a DLL that is not directly used by R, but must be installed elsewhere (it is indeed part of a Tcl/Tk package). So, I want to install it in /tklibs/tkpackage/alib.dll (under Windows) in my compiled package. I do manage to compile it in /src, but cannot copy it at the right place. I
2012 May 03
1
Setting up a windows system for rcpp
...add <- cxxfunction(signature(x = "numeric"), body, plugin = "Rcpp", verbose=T) x <- 1 y <- 2 res <- add(c(x, y)) res I get the following error messages: >> setting environment variables: PKG_LIBS = C:/Users/Owe/Documents/R/win-library/2.15/Rcpp/lib/x64/libRcpp.a >> LinkingTo : Rcpp CLINK_CPPFLAGS = -I"C:/Users/Owe/Documents/R/win-library/2.15/Rcpp/include" >> Program source : 1 : 2 : // includes from the plugin 3 : 4 : #include<Rcpp.h> 5 : 6 : 7 : #ifndef BEGIN_RCPP 8 : #define BEGIN_R...
2008 Jun 05
1
RFC: Add 'postinstall' hook to R CMD INSTALL ?
...tler which is easy to 'configure; make; make install' but would want to live in $PREFIX/bin -- and I need to copy it there ii) RCpp which is a library / glue code making live easier for C++ code to interface with R; also easy to configure but I'd then libRcpp.{so,a} to be in $PREFIX/bin -- and I need to copy it there How: Similar to 'cleanup' we could have a script 'postinstall' in the top-level directory, and if present, R would execute it. As I'm the one with the itch, I'd be happy to work on code towards impleme...
2013 Jul 15
2
linking modules - add needed libraries
...o base64.o) g++ -shared -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/opt/solarisstudio12.3/lib -L/opt/solarisstudio12.3/prod/lib -o httpuv.so RcppExports.o filedatasource-unix.o filedatasource-win.o http.o httpuv.o set_invalid_parameter.o uvutil.o websockets.o /usr/local/lib/R/library/Rcpp/lib/libRcpp.a ./libuv/libuv.a ./http-parser/http_parser.o ./sha1/sha1.o ./base64/base64.o installing to /usr/local/lib/R/library/httpuv/libs ** R ** demo ** preparing package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded Error in...
2010 Mar 25
1
Error using Rcpp
...uot;original",orig)); return res; } I then try to use - R CMD SHLIB addone.cpp that didnt work. the error said there was no such file - "Rcpp.h" . Then i came across Dirk Eddelbeutel's beamer presentation and followed the suggestion to copy Rcpp.h to /usr/loca/include and libRcpp.so to /usr/local/lib Then i tried R CMD SHLIB addone.cpp again but got many errors. Here is a small selection: /usr/local/include/Rcpp.h:34:32: error: RcppDatetimeVector.h: No such file or directory /usr/local/include/Rcpp.h:35:23: error: RcppFrame.h: No such file or directory /usr/local/include/...
2011 Feb 25
1
R CMD build error (RProtoBuf on windows)
...wrapper_ArrayOutputStream.o wrapper_Descriptor.o wrapper_EnumDesc riptor.o wrapper_EnumValueDescriptor.o wrapper_FieldDescriptor.o wrapper_FileDes criptor.o wrapper_Message.o wrapper_MethodDescriptor.o wrapper_ServiceDescriptor .o wrapper_ZeroCopyInputStream.o C:/Devel/R-2.12/library/Rcpp/lib/i386/libRcpp.a -Lc:/Devel/mingw/msys/1.0/local/lib -lprotobuf -LC:/Devel/R-2.12/bin/i386 -lR Info: resolving google::protobuf::FieldDescriptor::kTypeToCppTypeMap by lin king to __imp___ZN6google8protobuf15FieldDescriptor17kTypeToCppTypeMapE (auto-im portc:/devel/rtools/mingw/bin/../lib/gcc/mingw32/4.5.0/....
2009 Dec 13
1
How to resolve include Rcpp.h problems?
...y.so: undefined symbol: _ZN10RcppVectorIiEC1EP7SEXPREC Error in library(rply) : .First.lib has failed for 'rply' Execution stopped It looks like this package has a loading problem: see the messages for details. Resulting this last error seems to be also logical. In fact, I think the file libRcpp.so is need for the compilation of my code. Please notice that the package Rcpp is installed in the following directory: /usr/lib/R/site-library/Rcpp Thank you for giving an idea for solving this problem. -- View this message in context: http://n4.nabble.com/How-to-resolve-include-Rcpp-h-problems...
2013 Sep 16
1
Rcpp modules
...ass in package /home/pingu/src/2013-rcpp-test/rcpptest/build/libtestlib.so Passing the PACKAGE argument above reportedly should solve this error but does not seem to do so in my setup. Any suggestion appreciated. The mentioned symbol exists in the shared object file which is linked agains libR and libRcpp. Both a build with R CMD SHLIB and/or standard cmake gives the same result. Environment: Linux R 3.0.1 Rcpp_0.10.4 Freshly compiled from source. Thanks in advance, Stefan
2006 Feb 24
2
Rcpp, best method for linking to
Dear all, After a bit of reading I came across the Rcpp example package. There are a few classes that I would like to use and I am not sure how best to include them in my own package. Is it best to compile it as an independent library and link to it? Or is there some way to `require` it for my own package? Re-write using the code as an example (unsure how best to do this at this moment, as
2011 Oct 28
1
"file name too long" error during R CMD INSTALL
...r/texbin:/Applications/dssp:/Library/Frameworks/PROJ.framework/:/Library/Frameworks/PROJ.framework/Programs:/Library/Frameworks/PROJ.framework/Versions/4.6/Headers:/Library/Frameworks/GDAL.framework/Versions/1.6/Programs /Library/Frameworks/R.framework/Versions/2.10/Resources/library/Rcpp/lib/i386/libRcpp.a -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation i686-apple-darwin8-g++-4.2.1: Loading: No such file or directory i686-apple-darwin8-g++-4.2.1: ~/.Rprofile...: No such file or directory i686-apple-darwin8-g++-4.2.1: Currently: No such file or directory i...