Skip to content

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.

16 results for “from:Anwar Ludin”

compiling R from source with a catch!
Anwar Ludin · Jun 26, 2013 · r-devel

Professor Ripley, Thank your for pointing me in the right direction. I will start by reading the manual ;)

[Rcpp-devel] how to pass -fPIC instead of -fpic when building rccp package
Anwar Ludin · Jul 11, 2013 · rcpp-devel

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...

[Rcpp-devel] unloading/reloading Rcpp based custom package crashes my R session
Anwar Ludin · May 30, 2013 · rcpp-devel

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...

[Rcpp-devel] What's the most efficient way to convert a NumericVector to an array of doubles
Anwar Ludin · Jun 29, 2013 · rcpp-devel

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...

[Rcpp-devel] How to access fields and methods of a RefClass from C++?
Anwar Ludin · May 28, 2013 · rcpp-devel

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...

[Rcpp-devel] unloading/reloading Rcpp based custom package crashes my R session
Anwar Ludin · May 30, 2013 · rcpp-devel

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...

[Rcpp-devel] using Rcpp modules to expose class
Anwar Ludin · May 13, 2013 · rcpp-devel

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...

[Rcpp-devel] compiling R from source…with a ca tch!
Anwar Ludin · Jun 25, 2013 · rcpp-devel

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...

[Rcpp-devel] unloading/reloading Rcpp based custom package crashes my R session
Anwar Ludin · May 30, 2013 · rcpp-devel

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...

compiling R from source with a catch!
Anwar Ludin · Jun 25, 2013 · r-devel

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...

[Rcpp-devel] using Rcpp modules to expose class
Anwar Ludin · May 13, 2013 · rcpp-devel

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...

[Rcpp-devel] compiling R from source…with a catch!
Anwar Ludin · Jun 25, 2013 · rcpp-devel

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...

[Rcpp-devel] How to access fields and methods of a RefClass from C++?
Anwar Ludin · May 28, 2013 · rcpp-devel

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...

[Rcpp-devel] What's the most efficient way to convert a NumericVector to an array of doubles
Anwar Ludin · Jun 29, 2013 · rcpp-devel

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...

[Rcpp-devel] how to pass -fPIC instead of -fpic when building rccp package
Anwar Ludin · Jul 11, 2013 · rcpp-devel

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...

[Rcpp-devel] using Rcpp modules to expose class
Anwar Ludin · May 14, 2013 · rcpp-devel

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 .