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.

26 results for “from:Jiqiang Guo”

how to source file with arugments
Jiqiang Guo · Nov 5, 2008 · r-help

An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20081105/aed08e34/attachment.pl>

[Rcpp-devel] rcpp 0.10 on mac error with sourceCpp
Jiqiang Guo · Nov 15, 2012 · rcpp-devel

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

[Rcpp-devel] trouble creating a dataframe
Jiqiang Guo · Jun 5, 2012 · rcpp-devel

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

[Rcpp-devel] examples on Extending Rcpp::as
Jiqiang Guo · May 7, 2012 · rcpp-devel

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

[Rcpp-devel] type information about elements in Rcpp::List
Jiqiang Guo · May 8, 2012 · rcpp-devel

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

[Rcpp-devel] rcpp 0.10 on mac error with sourceCpp
Jiqiang Guo · Nov 15, 2012 · rcpp-devel

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

[Rcpp-devel] rcpp 0.10 on mac error with sourceCpp
Jiqiang Guo · Nov 15, 2012 · rcpp-devel

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

[Rcpp-devel] Rcpp::List lost attributes after updating elements
Jiqiang Guo · Dec 9, 2012 · rcpp-devel

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

[Rcpp-devel] rcpp 0.10 on mac error with sourceCpp
Jiqiang Guo · Nov 15, 2012 · rcpp-devel

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

[Rcpp-devel] rcpp 0.10 on mac error with sourceCpp
Jiqiang Guo · Nov 15, 2012 · rcpp-devel

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

[Rcpp-devel] cxxfunplus
Jiqiang Guo · Aug 19, 2012 · rcpp-devel

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

[Rcpp-devel] Rcpp::List lost attributes after updating elements
Jiqiang Guo · Dec 9, 2012 · rcpp-devel

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

[Rcpp-devel] Segfault in using RInside
Jiqiang Guo · Feb 4, 2014 · rcpp-devel

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

[Rcpp-devel] link issue when Rcpp package is installed in a path with space
Jiqiang Guo · Jul 11, 2012 · rcpp-devel

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

[Rcpp-devel] check validity of object created from Rcpp module
Jiqiang Guo · Jun 26, 2012 · rcpp-devel

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

[Rcpp-devel] using Rcpp function Module twice triggers segfault
Jiqiang Guo · Sep 6, 2012 · rcpp-devel

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

[Rcpp-devel] using Rcpp function Module twice triggers segfault
Jiqiang Guo · Sep 6, 2012 · rcpp-devel

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

[Rcpp-devel] segfault for simple Rcpp module
Jiqiang Guo · May 4, 2012 · rcpp-devel

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

[Rcpp-devel] Making objects in the C++ "side" persistent
Jiqiang Guo · Mar 20, 2014 · rcpp-devel

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

[Rcpp-devel] type information about elements in Rcpp::List
Jiqiang Guo · May 9, 2012 · rcpp-devel

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 .