Re: [Rcpp-devel] RcppArmadillo error

2010-05-18 Thread Dirk Eddelbuettel
On 18 May 2010 at 13:04, Abhisek wrote: | i thought i would repost here as it is a similar problem: | | i updated Rcpp and then RcppArmadillo and when i run : export PKG_CXXFLAGS= | `Rscript -e "RcppArmadillo:::CxxFlags()"` | | i get the following error | | abhi...@shieks:~/Desktop/Personal/Tes

Re: [Rcpp-devel] RcppArmadillo error

2010-05-18 Thread Romain Francois
Hello, We are about to release RcppArmadillo 0.2.0 which works with Rcpp 0.8.0 and includes armadillo so all these issues should disappear. Romain Le 18/05/10 14:04, Abhisek a écrit : i thought i would repost here as it is a similar problem: i updated Rcpp and then RcppArmadillo and when i

Re: [Rcpp-devel] RcppArmadillo error

2010-05-18 Thread Abhisek
i thought i would repost here as it is a similar problem: i updated Rcpp and then RcppArmadillo and when i run : export PKG_CXXFLAGS=`Rscript -e "RcppArmadillo:::CxxFlags()"` i get the following error abhi...@shieks:~/Desktop/Personal/Test$ export PKG_CXXFLAGS=`Rscript -e "RcppArmadillo:::CxxFla

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, >> >> sorry to raise this again after

Re: [Rcpp-devel] RcppArmadillo error

2010-04-13 Thread Romain Francois
you need to recompile RcppArmadillo after you update Rcpp. Le 13/04/10 13:28, Abhisek a écrit : > Hi, > > sorry to raise this again after a hiatus. I updated to the latest Rcpp > (0.7.11) and when I tried the following commands: > > $ export PKG_CXXFLAGS=`Rscript -e "RcppArmadillo:::CxxFlags()"`

Re: [Rcpp-devel] RcppArmadillo error

2010-04-13 Thread Abhisek
Hi, sorry to raise this again after a hiatus. I updated to the latest Rcpp (0.7.11) and when I tried the following commands: $ export PKG_CXXFLAGS=`Rscript -e "RcppArmadillo:::CxxFlags()"` $ export PKG_LIBS=`Rscript -e "RcppArmadillo:::LdFlags()"` I obtained the following error. ~/Desktop/Pers

Re: [Rcpp-devel] RcppArmadillo error

2010-04-01 Thread Douglas Bates
On Thu, Apr 1, 2010 at 8:57 AM, Dirk Eddelbuettel wrote: > > On 30 March 2010 at 16:12, Romain Francois wrote: > | > It is not certain that those will be the same as the libraries used by > | > Armadillo.  If they are not shared objects you run the risk of getting > | > two copies of Lapack, etc.

Re: [Rcpp-devel] RcppArmadillo error

2010-04-01 Thread Dirk Eddelbuettel
On 1 April 2010 at 09:58, Dirk Eddelbuettel wrote: | On 1 April 2010 at 09:57, Romain Francois wrote: | | You need Rcpp 0.7.11 (where create was introduced) | | (And we mentioned that need for 0.7.11 several times) | | | It has been pushed to cran, but somehow does not appear yet. If you are |

Re: [Rcpp-devel] RcppArmadillo error

2010-04-01 Thread Dirk Eddelbuettel
On 1 April 2010 at 09:57, Romain Francois wrote: | You need Rcpp 0.7.11 (where create was introduced) (And we mentioned that need for 0.7.11 several times) | It has been pushed to cran, but somehow does not appear yet. If you are | in a hurry, you can get it from r-forge: | | $ svn checkout s

Re: [Rcpp-devel] RcppArmadillo error

2010-04-01 Thread Dirk Eddelbuettel
On 30 March 2010 at 16:12, Romain Francois wrote: | > It is not certain that those will be the same as the libraries used by | > Armadillo. If they are not shared objects you run the risk of getting | > two copies of Lapack, etc. and possibly different BLAS, leading to | > different performance

Re: [Rcpp-devel] RcppArmadillo error

2010-04-01 Thread Romain Francois
You need Rcpp 0.7.11 (where create was introduced) It has been pushed to cran, but somehow does not appear yet. If you are in a hurry, you can get it from r-forge: $ svn checkout svn://svn.r-forge.r-project.org/svnroot/rcpp/pkg/Rcpp $ R CMD INSTALL Rcpp Le 01/04/10 09:42, Abhisek a écrit : > Hi

Re: [Rcpp-devel] RcppArmadillo error

2010-04-01 Thread Abhisek
Hi Romain, I tried the commands you gave and I get the following error: RcppArmadilloEg.cpp: In function ‘SEXPREC* fastLm(SEXPREC*, SEXPREC*)’: RcppArmadilloEg.cpp:19: error: ‘create’ is not a member of ‘Rcpp::List’ make: *** [RcppArmadilloEg.o] Error 1 is there some kind of update I need to mak

Re: [Rcpp-devel] RcppArmadillo error

2010-03-31 Thread Romain Francois
Le 31/03/10 15:25, Douglas Bates a écrit : On Tue, Mar 30, 2010 at 9:12 AM, 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 that is here http://dirk.eddelbuettel.com/code/rcp

Re: [Rcpp-devel] RcppArmadillo error

2010-03-31 Thread Douglas Bates
On Tue, Mar 30, 2010 at 9:12 AM, 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 that is here >>> http://dirk.eddelbuettel.com/code/rcpp.armadillo.html directly from R

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, 2010 at 1:15 AM

Re: [Rcpp-devel] RcppArmadillo error

2010-03-30 Thread Romain Francois
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 that is here >> http://dirk.eddelbuettel.com/code/rcpp.armadillo.html directly from R >> CMD SHLIB, you can do this: > >> rom...@naxos /tmp $ export P

Re: [Rcpp-devel] RcppArmadillo error

2010-03-30 Thread Douglas Bates
On Tue, Mar 30, 2010 at 1:15 AM, Romain Francois wrote: > Hi, > If you want to compile the code that is here > http://dirk.eddelbuettel.com/code/rcpp.armadillo.html directly from R > CMD SHLIB, you can do this: > rom...@naxos /tmp $ export PKG_CXXFLAGS=`Rscript -e > "RcppArmadillo:::CxxFlags()"`

Re: [Rcpp-devel] RcppArmadillo error

2010-03-29 Thread Romain Francois
Hi, If you want to compile the code that is here http://dirk.eddelbuettel.com/code/rcpp.armadillo.html directly from R CMD SHLIB, you can do this: rom...@naxos /tmp $ export PKG_CXXFLAGS=`Rscript -e "RcppArmadillo:::CxxFlags()"` rom...@naxos /tmp $ export PKG_LIBS=`Rscript -e "RcppArmadillo:::

Re: [Rcpp-devel] RcppArmadillo error

2010-03-26 Thread Abhisek
Hi Dirk, I was referring to this page: http://dirk.eddelbuettel.com/code/rcpp.armadillo.html i was trying to run the code there. here is my understanding so far (im new to linux and c++ so i apologize for seeming rather slow!): 1. The Rcpp package helps C++ and R recognize each others stuff (lik

Re: [Rcpp-devel] RcppArmadillo error

2010-03-26 Thread Dirk Eddelbuettel
On 26 March 2010 at 15:32, Abhisek wrote: | Hi Dirk, | | Just so that I understand. I copied the code in the RcppArmadillo section | on your website and pasted and saved it. What code? What page? | Are you saying I should change | #include to #include and #include ? No that is not what

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, > > On 26

Re: [Rcpp-devel] RcppArmadillo error

2010-03-26 Thread Dirk Eddelbuettel
Hi Abhisek, On 26 March 2010 at 12:28, Abhisek wrote: | I downloaded the stuff just last friday so it should be the latest version | of Rcpp as well as Armadillo. I used install.packages() for Rcpp and | RcppArmadillo. Armadillo is 0.9.4. Im using xubuntu karmic koala. Ok, that is all good.

Re: [Rcpp-devel] RcppArmadillo error

2010-03-26 Thread Abhisek
Hi Dirk, I downloaded the stuff just last friday so it should be the latest version of Rcpp as well as Armadillo. I used install.packages() for Rcpp and RcppArmadillo. Armadillo is 0.9.4. Im using xubuntu karmic koala. i also had some problem using Armadillo which I posted on the Armadillo dis

Re: [Rcpp-devel] RcppArmadillo error

2010-03-26 Thread Dirk Eddelbuettel
(resending, this time to list I omitted last time, sorry. --Dirk) On 26 March 2010 at 11:10, Abhisek wrote: | Hi, | | Ive been trying to make RcppArmadillo work using the example file (fastLM). | I copied and pasted the code and saved it as RcppArmadilloEg.cpp (not to use | fastLM but to figure

[Rcpp-devel] RcppArmadillo error

2010-03-26 Thread Abhisek
Hi, Ive been trying to make RcppArmadillo work using the example file (fastLM). I copied and pasted the code and saved it as RcppArmadilloEg.cpp (not to use fastLM but to figure out how to work RcppArmadillo). Then i tried using the command R CMD SHLIB RcppArmadilloEg.cpp but an error came up say