Guys, I can see no built-in support for zoo objects in Rcpp (I seem to recall there was support on the old version), is that right? If it is has anyone written an extension supporting zoo and is willing to share? Cheers! //Giuseppe ________________________________ ---- MAKO ---- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender immediately by e-mail and delete this e-mail from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Mako Group. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action with respect to the contents of this information is strictly prohibited. Finally, the recipient should check this email and any attachments for the presence of viruses. The Mako Group accepts no liability for any damage caused by any virus transmitted by this email. For important disclosures please click <<http://www.makoglobal.com/UKRegulatoryNotice.htm>> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20110412/fffe8fe0/attachment-0001.htm>
[Rcpp-devel] passing zoo series between c++ and R
3 messages · Giuseppe Milicia, Romain Francois, Dirk Eddelbuettel
Le 12/04/11 15:10, Giuseppe Milicia a ?crit :
Guys, I can see no built-in support for zoo objects in Rcpp (I seem to recall there was support on the old version), is that right? If it is has anyone written an extension supporting zoo and is willing to share? Cheers! //Giuseppe
Maybe you refer to cxxPack: http://cran.r-project.org/web/packages/cxxPack/index.html It does not appear to work these days, according to CRAN checks: http://cran.r-project.org/web/checks/check_results_cxxPack.html Romain
Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr http://romain-francois.com |- http://bit.ly/fhqbRC : Rcpp workshop in Chicago on April 28th |- http://bit.ly/dFyZGB : Hydraulique au Montpellier Comedie Club `- http://bit.ly/eVXit9 : Eponyme : 40 minutes stand up
On 12 April 2011 at 14:10, Giuseppe Milicia wrote:
| I can see no built-in support for zoo objects in Rcpp (I seem to recall there | was support on the old version), is that right? I have always split this into a vector of times (trivially using as.numeric() first on the POSIXct data to use double precision fractional times -- before I had added a Datetime class) and matrix of data. You get microsecond precision (on Linux, Windows only does milliseconds) that way in a format that is native to C/C++ as well. That was always good enough for me. Working patches for zoo (or better still, xts) would be considered. | If it is has anyone written an extension supporting zoo and is willing to | share? As Romain said, cxxPack once went that way, but then cxxPack also ceased to function or be supported over six months ago. But this is not the list to discuss cxxPack. Dirk
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com