Re: [Rcpp-devel] [RcppArmadillo] Install problem

2013-01-11 Thread Dirk Eddelbuettel
On 11 January 2013 at 13:23, Alan Coppola wrote: | Dirk, | Thanks for the quick reply. | I had found | http://grokbase.com/t/r/r-help/109fvxeb44/r-lapack-in-r-2-11-1-ubuntu-10-04-1/ With all due respect that implies an R and Ubuntu version that is two years, and four MAJOR releases each, out of d

Re: [Rcpp-devel] [RcppArmadillo] Install problem

2013-01-11 Thread Alan Coppola
Dirk, Thanks for the quick reply. I had found http://grokbase.com/t/r/r-help/109fvxeb44/r-lapack-in-r-2-11-1-ubuntu-10-04-1/oldest and did what it recommended, with your r-base-dev add-on, along with reading the FAQ. sudo apt-get update sudo apt-get remove r-base sudo apt-get remove r-base-dev

Re: [Rcpp-devel] Two problem trying to install a package with modules (e.g. testmod) on windows and on CRAN

2013-01-11 Thread Dirk Eddelbuettel
Salut Robin, Welcome, at long last, to rcpp-devel. On 11 January 2013 at 21:10, Robin Girard wrote: | (sorry for posting again , I sent the first one before confirmation of subscription) | | Dear rcpp-devel list, | | I am encountering 2 different problems with Rcpp modules (which by the way

Re: [Rcpp-devel] [RcppArmadillo] Install problem

2013-01-11 Thread Dirk Eddelbuettel
On 11 January 2013 at 12:04, Alan Coppola wrote: | I've been using Rcpp for a while now, through Rstudio, and like it. | I now have the need to use RcppArmadillo, and have been trying to | install it through Rstudio. | Somehow, LAPACK_LIBS, BLAS_LIBS, and FLIBS from the Makevars file are | not g

[Rcpp-devel] Two problem trying to install a package with modules (e.g. testmod) on windows and on CRAN

2013-01-11 Thread Robin Girard
(sorry for posting again , I sent the first one before confirmation of subscription) Dear rcpp-devel list, I am encountering 2 different problems with Rcpp modules (which by the way are sooo impressively great !) during the install phase of testmod, -1st problem while trying to chec

[Rcpp-devel] [RcppArmadillo] Install problem

2013-01-11 Thread Alan Coppola
Hi, I've been using Rcpp for a while now, through Rstudio, and like it. I now have the need to use RcppArmadillo, and have been trying to install it through Rstudio. Somehow, LAPACK_LIBS, BLAS_LIBS, and FLIBS from the Makevars file are not getting filled in properly. I don't understand enough ab

Re: [Rcpp-devel] Integrate xts_API for C with Rcpp

2013-01-11 Thread Dirk Eddelbuettel
On 12 January 2013 at 02:23, Wu Wush wrote: | > A few quick questions to focus the discussion: | > - Do you have particular functions from the xts C API in mind? | > - Is what you are looking for already exported? | > - Is it in xts or in zoo? Would be need both? | > --- | > My question was about

Re: [Rcpp-devel] Integrate xts_API for C with Rcpp

2013-01-11 Thread Wu Wush
> A few quick questions to focus the discussion: > - Do you have particular functions from the xts C API in mind? > - Is what you are looking for already exported? > - Is it in xts or in zoo? Would be need both? > --- > My question was about which C function in the xts API, and which unexported >

Re: [Rcpp-devel] Integrate xts_API for C with Rcpp

2013-01-11 Thread Dirk Eddelbuettel
On 12 January 2013 at 00:16, Wu Wush wrote: | To handle xts in c++, I am using `Rcpp::RObject`, xts API, and some C functions | found in the source of xts. My question was about which C function in the xts API, and which unexported functions. We could start getting to those (particularly the ex

Re: [Rcpp-devel] Integrate xts_API for C with Rcpp

2013-01-11 Thread Dirk Eddelbuettel
On 11 January 2013 at 11:11, Gabor Grothendieck wrote: | Just to be fair it should be pointed out that C/C++ is not the only | priority of the project. Also there have been more user contributions I truly and honestly love you guys and use zoo and xts daily. And even though I use them so much (a

Re: [Rcpp-devel] Integrate xts_API for C with Rcpp

2013-01-11 Thread Wu Wush
Dear Dirk, > Exactly what type of access / use did you have in mind from C / C++? > > Recently, I am developing a trading system involving xts with my friends. To handle xts in c++, I am using `Rcpp::RObject`, xts API, and some C functions found in the source of xts. In my opinion, it might be

Re: [Rcpp-devel] Integrate xts_API for C with Rcpp

2013-01-11 Thread Dirk Eddelbuettel
(Thanks for reposting on list. I had replied earlier to an email I was CCed on) On 11 January 2013 at 23:59, Wu Wush wrote: | Dear Dirk, | | I have seen your post in http://stackoverflow.com/questions/14274055/ | how-to-use-c-api-of-xts-package-in-rcpp .  | | What should we do to generalize the

Re: [Rcpp-devel] Integrate xts_API for C with Rcpp

2013-01-11 Thread Gabor Grothendieck
On Fri, Jan 11, 2013 at 10:36 AM, Dirk Eddelbuettel wrote: > > Howdy, > > Thanks for bringing questions to the list, much appreciated! > > On 11 January 2013 at 23:10, Wu Wush wrote: > | Dear Dirk, > | > | I have seen your post in http://stackoverflow.com/questions/14274055/ > | how-to-use-c-api-o

[Rcpp-devel] Integrate xts_API for C with Rcpp

2013-01-11 Thread Wu Wush
Dear Dirk, I have seen your post in http://stackoverflow.com/questions/14274055/how-to-use-c-api-of-xts-package-in-rcpp . What should we do to generalize the include flag settings? Regards, Wush Wu ___ Rcpp-devel mailing list Rcpp-devel@lists.r-forge

Re: [Rcpp-devel] Integrate xts_API for C with Rcpp

2013-01-11 Thread Dirk Eddelbuettel
Howdy, Thanks for bringing questions to the list, much appreciated! On 11 January 2013 at 23:10, Wu Wush wrote: | Dear Dirk, | | I have seen your post in http://stackoverflow.com/questions/14274055/ | how-to-use-c-api-of-xts-package-in-rcpp .  | | What should we do to generalize the include fl

Re: [Rcpp-devel] Rcpp-devel mailing list outage / delay

2013-01-11 Thread Dirk Eddelbuettel
On 10 January 2013 at 07:44, Dirk Eddelbuettel wrote: | | All, | | >From what I can tell, the list went down on Sunday. There were issues with | abuse on another R-Forge list which has since been closed. | | For "our" traffic, I can see only what the list archive | | http://lists.r-forge

Re: [Rcpp-devel] Error when trying to your piSugar example

2013-01-11 Thread Dirk Eddelbuettel
On 11 January 2013 at 12:10, Charles Cara wrote: | Thank you. I will have a go at changing the directory when I upgrade to | R-2.15.2 . Sounds good. You should be all set after that (and you may have to update Rtools). [ Little rant: I find it fexing how the R-on-Windows FAQ said for years "

Re: [Rcpp-devel] Error when trying to your piSugar example

2013-01-11 Thread Charles Cara
Thank you. I will have a go at changing the directory when I upgrade to R-2.15.2 . Charles From: JJ Allaire [mailto:jj.alla...@gmail.com] Sent: 11 January 2013 11:33 To: Charles Cara Cc: rcpp-devel@lists.r-forge.r-project.org Subject: Re: [Rcpp-devel] Error when trying to your piSugar ex

Re: [Rcpp-devel] Error when trying to your piSugar example

2013-01-11 Thread JJ Allaire
Hi Charles, I believe the problem is that the Rcpp package is installed in a directory with spaces in the path (C:/Program Files/R/R-2.15.1/library/) and that this is causing the problem. If you install into a library without spaces in the path everything should work correctly (see: http://stackov

[Rcpp-devel] Error when trying to your piSugar example

2013-01-11 Thread Charles Cara
I have been trying to experiment with Rcpp as it looks like it could be an excellent tool. However, I am unable to get your Finding Pi example ( http://dirk.eddelbuettel.com/blog/2012/11/20/#rcpp_attributes_pi_example ) to work. I have the C++ file and the R script, but sourceCpp fails. When I