Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Professor Ripley, Thank your for pointing me in the right direction. I will start by reading the manual ;)
Hello, When building a rcpp package is there a way of forcing -fPIC instead of -fpic during package compilation? I 'm using RStudio as my main IDE and the package is built using R CMD INSTALL --preclean --no-multiarch <package...
Hello, I am experiencing a strange behaviour when unloading/reloading a custom package written using Rcpp. The initial load works perfectly and I can use the package as intended. >library(RiskCeteraPricing) ## everything OK When unloading the package I get the...
Hello, I need to interface some R code with a numerical library containing functions taking as input double* What is the most efficient way to create an array of doubles from a NumericVector. I was thinking of something like: // input...
Hello, I have a Reference class defined in R that I am passing as a parameter to a C++ class using Rcpp. I am trying to access the fields of the Reference class from C++ and I'm not sure...
I've attached the source package to this mail. On 05/30/2013 04:59 PM, Anwar Ludin wrote: > Hello, > > I am experiencing a strange behaviour when unloading/reloading a > custom package written using Rcpp. The initial load works perfectly...
Hello, I'm trying to expose 2 classes from a Rcpp module: class Portfolio{ private: std::string portfolioId, description; public: Portfolio(std::string portfolioId, std::string description) : portfolioId(portfolioId), description(description) {} std::string getPortfolioId() {return portfolioId;} const void setPortfolioId(const...
Dirk, No your memory is playing you tricks?I have never asked this question previously on r-devel but will do so now! ;) Anwar On Jun 25, 2013, at 11:34 PM, Dirk Eddelbuettel <edd at debian.org> wrote: > > Anwar...
Hi Dirk, Yes I noticed that RStudio was restarting the session whenever you rebuild the package. I guess RStudio does this in order to make sure that the session is clean. I am however a bit worried from an RStudio...
I need to rebuild an R interpreter for the Intel Xeon Phi coprocessor which can be considered as an embedded system. My only option is to use the intel compiler tools and cross compile the interpreter. My first stumbling block...
Hi Dirk, Thanks for your answer! So if I understand correctly, the fact that I exposed previously Portfolio is not enough? I still need to provide wrap the template specialization: template <> SEXP wrap( const Portfolio& ) ; Thanks, Anwar On 05/13...
Hello, This is not a Rcpp question per se and I m sorry if I m posting in the wrong list. I need to rebuild an R interpreter for the Intel Xeon Phi coprocessor which can be considered as an...
Yes that did it...thanks a lot Dirk! On 05/29/2013 01:49 AM, Dirk Eddelbuettel wrote: > On 28 May 2013 at 23:14, Anwar Ludin wrote: > | Hello, > | > | I have a Reference class defined in R that I am...
Romain, Thanks a lot for the clarifications! Anwar On Jun 29, 2013, at 12:35 PM, Romain Francois <romain at r-enthusiasts.com> wrote: > Hello, > > just use: > > double* values = input.begin() ; > > A NumericVector uses R allocated memory, and R allocates...
Hi Dirk, Yes I agree, I'm just having issues with the way the build process works, so let's make it a Rcpp problem ;) >library(Rcpp) >Rcpp.package.skeleton("testpackage") R CMD INSTALL --preclean --no-multiarch testpackage icpc -I...
Thanks guys! This is exactly what I was looking for...tested it & works :-) On 05/13/2013 10:06 PM, Robin Girard wrote: > Actually I have integrated more complex classes copying Romain's example. > This included polymorphism (see the answers...
Can't find what you're looking for? Try searching with Google .