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

2013-01-12 Thread Dirk Eddelbuettel
On 12 January 2013 at 02:23, Wu Wush wrote: | In my experience, we could write some functions based on exposed API: | - Query a subset of xts object based on row | subset(`Rcpp::DatetimeVector` or integer vector) and column | subset(string vector or integer vector) That does not necessarily need

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

2013-01-12 Thread Dirk Eddelbuettel
On 13 January 2013 at 10:42, Darren Cook wrote: | Do you remember why it failed? It does look as simple as putting double | quotes around each item in the g++ command. (Looking at Charles Cara's | example, the "R CMD SHLIB" command has them in there correctly.) | | You can create a directory with

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

2013-01-12 Thread Darren Cook
> [ Little rant: I find it fexing how the R-on-Windows FAQ said for years "do > not install in a path with spaces"... > We tried to tackly this issue once by making the path quote-safe but > failed. Hello Dirk, Do you remember why it failed? It does look as simple as putting double quotes around e

Re: [Rcpp-devel] Subsetting / slicing with Vectors

2013-01-12 Thread Dirk Eddelbuettel
Hi Kevin, On 12 January 2013 at 11:10, Kevin Ushey wrote: | I'm wondering -- what operations are available for subsetting of Vectors in | Rcpp? I've scoured through all the vignettes but it seems like a couple | 'nice-to-haves' aren't there yet. My questions: | | * is there a difference between

[Rcpp-devel] Subsetting / slicing with Vectors

2013-01-12 Thread Kevin Ushey
Hi guys, I'm wondering -- what operations are available for subsetting of Vectors in Rcpp? I've scoured through all the vignettes but it seems like a couple 'nice-to-haves' aren't there yet. My questions: * is there a difference between subsetting a vector with () vs []? * is it possible to subs

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

2013-01-12 Thread Dirk Eddelbuettel
On 12 January 2013 at 18:12, Robin Girard wrote: | Merci ! | Both problem were solved by starting everything from begin (with Rcpp skeleton). Note that it took me time to understand that the aim of option module in the Rcpp.skeleton is not to help you introduce you module but produce something

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

2013-01-12 Thread Robin Girard
Merci ! Both problem were solved by starting everything from begin (with Rcpp skeleton). Note that it took me time to understand that the aim of option module in the Rcpp.skeleton is not to help you introduce you module but produce something that you can modify with your own module name. From