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.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20081105/aed08e34/attachment.pl>
I think it is just I did something wrong with installing Rcpp from source, which I cannot reproduce now. Thanks very much. -- Jiqiang On Thu, Nov 15, 2012 at 1:55 PM, Dirk Eddelbuettel <edd at debian.org> wrote: > Possibly...
what did you mean by your C++ app? On Tue, Jun 5, 2012 at 2:35 PM, Dirk Eddelbuettel <edd at debian.org> wrote: > in my C++ app. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.r-forge...
Hi, From http://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-extending.pdf, we know that we could extend as. I would like to create an user-defined class instance from an SEXP (say a list in R). Where...
Hi, Thank Dirk first for replying to my previous questions so fast. Another question: Suppose I have a function in CPP as void cppfun(Rcpp::List lst) { ...... } Then I would like to call this cppfun in R code as say...
I see. For some reason, my installing Rcpp from source last time did not install the 64 bits lib, so Rcpp.system.file("lib", .Platform$r_arch) for me returns "". I reinstalled Rcpp 0.10.0 from source and made...
Thanks. But I am using R from command line, and I think it is set correctly: > Sys.getenv("R_ARCH") [1] "/x86_64" -- Jiqiang On Thu, Nov 15, 2012 at 1:30 PM, JJ Allaire <jj.allaire at gmail.com...
Hi, For a Rcpp::List object, the attributes got lost say if I add another element to the list. I am not sure this is supposed to be, but it's not in R. The following is some code to...
I tried the example of sourceCpp on Mac mountain lion with R 2.15.1 with the following error (I hit the similar error in using RStan as well). > library(Rcpp) > require(Rcpp) > > sourceCpp(code=' + #include <Rcpp.h> + + // [[Rcpp::export...
Thanks. The same error if I use cppFunction thought the example in sourceCpp use a string of c++ code passed using code: > require(Rcpp) > > cppFunction(code=' + #include <Rcpp.h> + + // [[Rcpp::export]] + int fibonacci(const int x) { + if (x == 0) return...
While developing R interface for Stan http://Stan.googlecode.com, we really want to save the compiled objects. So I isolated some code out and put it into a tiny package and would like to see comments. The thing is...
Well, those are good points. But I just do not know the size of my list a priori, so I have to grow it along the way. It might not be optimal, but I suppose as you said it is...
I got a seg fault from using RInside after upgrading Rcpp to the current version. The following is an example of using an example in RInside package: $ make rinside_test0 g++ -I/usr/share/R/include -I/home/jq/R...
Dear List, >From some reason, my Rcpp package on windows is installed in C:/Program Files/R/R-2.15.1/library/, which has a space in the path. So in the end, when compiling cpp code using inline package...
Dear List, I am wondering if there is a way to check whether an object created from Rcpp's module is valid or not especially for objects loaded in another session. In detail, we know that we could not save...
Dear List, In the middle of figure out another problem, I used function Module twice, but then I got segfault. Is there any solution for this? For the time being, I really need to call function Module more than once...
On Thu, Sep 6, 2012 at 11:43 PM, Dirk Eddelbuettel <edd at debian.org> wrote: > > On 6 September 2012 at 21:24, Jiqiang Guo wrote: > | Dear List, > | > | In the middle of figure out another problem, I used function Module...
I was learning Rcpp and got the following problem in a basic example. I have searched online and knew someone have the same problem before, but did not find a good answer for this. Simply put, I am running the...
RStan doesn't do anything to persist any c++ object. What's done is to save the binary file created using package inline in an R object so it can be reused without recompiling c++ code. So what is in...
Dirk, Thanks. As Dirk previously points out, every element of Rcpp::List is of type SEXP. So I looked at some R's doc, we should be able to get information (attributes in R's term: int or real, names...
Can't find what you're looking for? Try searching with Google .