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.

174 results for “from:Christian Gunning”

[Rcpp-devel] more on stats functions
Christian Gunning · Dec 8, 2010 · rcpp-devel

> With that I simply do > > ? $ ~/bin/runit.sh -p Rcpp,inline inst/unitTests/runit.stats.R > > as shown below. Thanks, works for me. -xian -- A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal...

[Rcpp-devel] Appropriate scope of Rcpp-quickref?
Christian Gunning · Dec 17, 2010 · rcpp-devel

I was wondering if Rcpp-quickref is an appropriate place for information about RcppArmadillo, RcppGSL, etc. It seems like a nice place to centralize information, as well as "advertise" the other packages. Likewise, Rcpp-quickref is always available since RcppArmadillo...

[Rcpp-devel] package .onLoad multiple modules
Christian Gunning · May 31, 2011 · rcpp-devel

On Tue, May 31, 2011 at 3:00 AM, <rcpp-devel-request at r-forge.wu-wien.ac.at> wrote: > When FALSE it does what you want. I can't begin to describe how long I've waited for such...

[Rcpp-devel] Rcpp-devel Digest, Vol 14, Issue 20
Christian Gunning · Dec 5, 2010 · rcpp-devel

On Sun, Dec 5, 2010 at 4:00 AM, <rcpp-devel-request at lists.r-forge.r-project.org> wrote: > > I was just enquiring about it. This is not commited yet. Understood. Thanks for the details on behavior. I'm...

[Rcpp-devel] Rcpp advocacy question -- build environment
Christian Gunning · Nov 28, 2012 · rcpp-devel

Thanks all for the helpful comments. Personally I've found the uniformity provided by Rstudio a great aid in teaching environments. I've struggled with introducing Rcpp to folks, and I agree these developments are very exciting. > And I say...

[Rcpp-devel] R.e. "No matching function for call to as(double&)" error at compile time
Christian Gunning · Dec 6, 2012 · rcpp-devel

> /* up to the above line, everything compiles. > Now I want to get a double out from first element of test.*/ > > double test0 = Rcpp::as<double>(test[0]); Does this work? double test0 = test[0]; In general, including a self-contained...

[Rcpp-devel] Rcpp-devel Digest, Vol 10, Issue 33
Christian Gunning · Aug 31, 2010 · rcpp-devel

Funny, since this is the most polite and discursive R list i've ever seen. On Tue, Aug 31, 2010 at 3:00 AM, <rcpp-devel-request at lists.r-forge.r-project.org> wrote: > > Such propaganda would probably be...

[Rcpp-devel] problem with sample() implemented in Rcpp/RcppArmadillo
Christian Gunning · Nov 2, 2012 · rcpp-devel

On Sun, Oct 28, 2012 at 2:28 AM, Christian Gunning <xian at unm.edu> wrote: > > I spent some time looking at this today. Guidance/advice on the best > approach here? Should I take that as a no? -Christian -- A...

[Rcpp-devel] Short blog post on loop speed in R
Christian Gunning · Jun 18, 2011 · rcpp-devel

Dear all, I haven't been able to keep up with the list this month (I'm looking forward to catching up on the Module developments), but I just posted this, which might be of interest to some. http://helmingstay...

[Rcpp-devel] Regression in conversion from NumericVector to ComplexVector?
Christian Gunning · Dec 22, 2010 · rcpp-devel

> test1 = cxxfunction(signature(vec='complex'), ' > ? ? ? ? ? ?ComplexVector x(vec) ; > ? ? ? ? ? ? ? ?int nn = x.size(); > ? ? ? ? ? ? ? ?for( int i=0; i<nn; i++) { > ? ? ? ? ? ? ? ? ? ?x[i].r = x[i].r*2 ; > ? ? ? ? ? ? ? ? ? ?x[i].i = x[i].i*2 ; > ? ? ? ? ? ? ? ?} > ? ? ? ? ? ? ? ?return x ; > ', plugin='Rcpp') > > aa1 = ?(0:9...

[Rcpp-devel] Rcpp-devel Digest, Vol 14, Issue 25
Christian Gunning · Dec 7, 2010 · rcpp-devel

> It is useful if you actually send us what you ?tried to compile, hoiw it > failed, why you though it would work, etc ... Sorry. My primary goal for the night was the doc; by the end, I wasn't sure...

[Rcpp-devel] Rcpp-devel Digest, Vol 14, Issue 4
Christian Gunning · Dec 2, 2010 · rcpp-devel

> This is not about this particular case, it is about "general ideas" > along the lines of your original post. As far as I can tell, this is clearly not the appropriate forum for "general ideas" about software. Nor is it...

[Rcpp-devel] Rcpp-devel Digest, Vol 19, Issue 10
Christian Gunning · May 15, 2011 · rcpp-devel

On Sat, May 14, 2011 at 6:46 PM, <rcpp-devel-request at r-forge.wu-wien.ac.at> wrote: > > There is also Davor's trick of getting the C++ function pointer---this avoids > the 'going back to R' overhead...

[Rcpp-devel] Help with SubMatrix test case
Christian Gunning · Dec 3, 2010 · rcpp-devel

In this test case, I expected yy to be a proper subset of xx. I confess that I don't understand the results at all, but I'm assuming that the Row/Column exchange is involved. Am I missing anything...

[Rcpp-devel] Thread handling
Christian Gunning · Apr 27, 2011 · rcpp-devel

> That is a simple model, and it should work. > > Dirk > > | -steve Just to clarify/reiterate (simplicity aside!) -- I was thinking about Steve's comments of RInside-with-Rcpp-within-R as an interesting route to MPI, played with it for...

[Rcpp-devel] How to modifying the elements of a list in the global environment?
Christian Gunning · Oct 20, 2012 · rcpp-devel

> What I would really do here is to create a simple struct or rather class that > upon initialization creates the workspace and holds it. > > Doesn't fit as easily in the inline paradigm though. Can one place object definitions in...

[Rcpp-devel] Function speed - assignment versus pointer passing?
Christian Gunning · Sep 1, 2010 · rcpp-devel

Is there a good rule of thumb for when to write a function that returns an object (to be assigned to a variable) versus passing the object pointer to the function to be modified in place? I'm more familiar...

[Rcpp-devel] Patch for Rcpp-quickref
Christian Gunning · Dec 4, 2010 · rcpp-devel

I hope to fill out a few sections now that i have a bit of time. The SubMatrix questions were generated by testing example code. Overall, it's been a good learning exercise. xian > We need to commit some more...

[Rcpp-devel] Blog post - optimizing ragged arrays in R and Rcpp
Christian Gunning · Jul 3, 2014 · rcpp-devel

Dear all, I just posted a short article on ragged arrays in R and Rcpp (it will also be auto-posted to R-bloggers). I've tried to be as comprehensive as possible in discussing the problem background, as well...

[Rcpp-devel] Rcpp::ListOf.size() returns signed int?
Christian Gunning · Sep 1, 2014 · rcpp-devel

Minor implementation question - As a learning exercise, I'm working through g++ warnings. After reading SO posts r.e. int vs size_t, I've set all variables that hold or compare object size information to type std::size_t...

Can't find what you're looking for? Try searching with Google .