Re: [Rcpp-devel] Using loess() from Rcpp

2010-04-01 Thread Romain Francois
Hello Davor, Rcpp gives you the tools, but it is up to you to use them. Le 02/04/10 02:04, Davor Cubranic a écrit : > > Has anyone here used R curve-fitting from Rcpp? Like loess(), for example? > Reading the R code, after a couple of layers of preliminaries to extract all > the required param

[Rcpp-devel] Using loess() from Rcpp

2010-04-01 Thread Davor Cubranic
Has anyone here used R curve-fitting from Rcpp? Like loess(), for example? Reading the R code, after a couple of layers of preliminaries to extract all the required parameters, it ends up in C (loess_raw) and Fortran (lowesw and lowesp). It would be nice if there were already code out there tha

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