[Rcpp-devel] Problem with compiling a code for RcppArmadillo

2010-05-19 Thread Abhisek
Hi, I am trying to use the following lines to compile a cpp code export PKG_LIBS=`Rscript -e "Rcpp:::LdFlags()"` export PKG_CXXFLAGS=`Rscript -e "Rcpp:::CxxFlags()"` R CMD SHLIB gamwibTrial.cpp I get the following error g++ -I/usr/share/R/include -I/home/abhisek/R/i486-

[Rcpp-devel] Typo in RcppArmadillo documentation

2010-05-19 Thread Abhisek
development issue. Thanks for the updates! Abhisek Banerjee ___ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Re: [Rcpp-devel] RcppArmadillo error

2010-05-18 Thread Abhisek
t;RcppArmadillo:::CxxFlags()"` Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/home/abhisek/R/i486-pc-linux-gnu-library/2.10/RcppArmadillo/libs/RcppArmadillo.so': /home/abhisek/R/i486-pc-linux-gnu-library/2.10/RcppArmadillo/libs/Rcpp

[Rcpp-devel] Updates to armadillo

2010-05-10 Thread Abhisek
Hi, I was wondering how updates to armadillo are incorporated into Rcpp? There has been an update with a new function that I would like to use. Best, Abhisek ___ Rcpp-devel mailing list [email protected] https://lists.r-forge.r

Re: [Rcpp-devel] RcppArmadillo error

2010-04-13 Thread Abhisek
WOOHOO! its alive - its alive! many many thanks for your patience and help! abhisek On Tue, Apr 13, 2010 at 12:30 PM, Romain Francois wrote: > you need to recompile RcppArmadillo after you update Rcpp. > > Le 13/04/10 13:28, Abhisek a écrit : > >> Hi, >> >> s

Re: [Rcpp-devel] RcppArmadillo error

2010-04-13 Thread Abhisek
ng error. ~/Desktop/Personal/Test$ export PKG_CXXFLAGS=`Rscript -e "RcppArmadillo:::CxxFlags()"` Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/home/abhisek/R/i486-pc-linux-gnu-library/2.10/RcppArmadillo/libs/RcppArmadillo.so': /home/

Re: [Rcpp-devel] RcppArmadillo error

2010-04-01 Thread Abhisek
make? almost there! abhisek On Tue, Mar 30, 2010 at 3:12 PM, Romain Francois wrote: > Le 30/03/10 15:36, Douglas Bates a écrit : > > On Tue, Mar 30, 2010 at 1:15 AM, Romain Francois >> wrote: >> >>> Hi, >>> >> >> If you want to compile the code

Re: [Rcpp-devel] RcppArmadillo error

2010-03-31 Thread Abhisek
Hi all, thanks very much for all this advice! ill be trying this out soon and hopefully it works. again, thanks for writing these amazing packages! abhisek On Tue, Mar 30, 2010 at 3:12 PM, Romain Francois wrote: > Le 30/03/10 15:36, Douglas Bates a écrit : > > On Tue, Mar 30, 201

Re: [Rcpp-devel] RcppArmadillo error

2010-03-26 Thread Abhisek
understand. either that or my understanding is way off. appreciate your patience and help! abhisek On Fri, Mar 26, 2010 at 4:20 PM, Dirk Eddelbuettel wrote: > > On 26 March 2010 at 15:32, Abhisek wrote: > | Hi Dirk, > | > | Just so that I understand. I copied the code in th

Re: [Rcpp-devel] RcppArmadillo error

2010-03-26 Thread Abhisek
Hi Dirk, Just so that I understand. I copied the code in the RcppArmadillo section on your website and pasted and saved it. Are you saying I should change #include to #include and #include ? best, abhisek On Fri, Mar 26, 2010 at 1:40 PM, Dirk Eddelbuettel wrote: > > Hi Abhisek, >

Re: [Rcpp-devel] RcppArmadillo error

2010-03-26 Thread Abhisek
discussion board. Conrad got back to me. Here is the discussion: https://sourceforge.net/apps/phpbb/arma/viewtopic.php?f=1&t=4 so it may be that armadillo is the problem but im really not sure. Many thanks Abhisek On Fri, Mar 26, 2010 at 12:17 PM, Dirk Eddelbuettel wrote: > > (resen

[Rcpp-devel] RcppArmadillo error

2010-03-26 Thread Abhisek
...@shieks:~/Desktop/Personal/Test$ R CMD SHLIB RcppArmadilloEg.cpp g++ -I/usr/share/R/include -I/home/abhisek/R/i486-pc-linux-gnu-library/2.10/Rcpp/lib -fpic -g -O2 -c RcppArmadilloEg.cpp -o RcppArmadilloEg.o In file included from /home/abhisek/R/i486-pc-linux-gnu-library/2.10/Rcpp/lib/RcppCommon.h

Re: [Rcpp-devel] [R] Error using Rcpp

2010-03-25 Thread Abhisek
Many thanks Romain! It worked. And thanks for pointing out the errors. best abhisek On Thu, Mar 25, 2010 at 12:45 PM, Romain Francois wrote: > Le 25/03/10 13:16, Abhisek a écrit : > > >> Hi, Im not sure if this is the right place to post this. >> > > It is not. The