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