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.
Hi, I have two questions on using the ff package and wonder if anyone who used ff can share some thoughts. I need to save a matrix as a memory-mapped file and load it back later. To save the...
Hi, I wonder how to write a function that remembers its state across its calls. For example, I would like to compute the average of the pass three values the function has seen f(1) # NA f(2) # NA f...
Hi Tim, > def = "bool is_na_character_vector(CharacterVector x) { return CharacterVector::is_na(x); }" x is a CharacterVector, so you need to check is_na on each element separately. Try: def = "bool is_first_character_na(CharacterVector x) {return...
Dear All: I am stuck with this issue: I have a button on a TK window, once click it, it pops up a individual plot device: individual_plot <- function() { tkconfigure(overlay.button, state="normal") options(locatorBell = FALSE) plotfuntype() trellis.focus...
Hi, I wonder how to pass several functions and their arguments as arguments to a function. For example, the main function is f = function(X ) { process1(X) ... process2(X) } I have a few functions that operate on X, e.g...
If you leave R script the way it is and add loading Rmpi instructions in Rprofile.site, it will not work (tested on old versions of R and I don't know the reason why). However, by modifying R script...
Thanks... I just realized using add=TRUE will work... Best Hao hadley wickham wrote: > You will get more useful answers if you specify exactly how you want > to overlay the boxplots (overlay them on what?). You can certainly do > this...
Hi. I am the maintainer of Rmpi package. Now I have a problem regarding the change of CHAR () in R 2.6.0. According to R 2.6.0 NEWS: ******* CHAR() now returns (const char *) since CHARSXPs should no longer...
Hi, I have C code to produce a lot of matrices to be analyzed. As these matrices are large (> 1000*10000) and are a lot (> 1000), I am thinking about how to pass them from C to R effectively. Would...
Hi Tim, My Rcpp package compiles fine with header files in /inst/include (and subfolders), but I do have the following line in my Makevars: > PKG_CXXFLAGS = -pedantic -Wall -I../inst/include You may need the last option there to...
mpi.recv or mpi.irecv needs a buffer to store an incoming messenger and must know in advance the size of the buffer. For mpi.irecv.Robj to work, one needs to probe the incoming messenger size which is a...
Hi Youssef, Rcpp has sugar for the R random number generators. This is nice if you want to let your users set the random seed in R code outside of the package for reproducibility: http://gallery.rcpp.org/articles/random...
Dear Martin, Thanks very much. Best Regards, Chen Hao > On 24 Sep 2016, at 5:44 PM, Martin Morgan <Martin.Morgan at roswellpark.org> wrote: > > On 09/24/2016 05:43 AM, Nuno Agostinho wrote: >> Good evening, >> >> I recently submitted...
Hi, I just got started using Rcpp after spending a fair amount of time working in the two separately. I'm currently running into some errors with c++ code that tries to use the matrix classes in Rcpp: > > library(Rcpp...
Hi Jens, Thanks for the suggestions. I tried closing the ff file on one nfs client and open that file from another client. It doesn't work. Jeff -----Original Message----- From: Jens Oehlschl?gel [mailto:oehl_list at gmx.de...
> But your threads, > be it pthreads or C++11 threads are not calling the RNG supplied by R, are they? That is correct. Just reading and writing to c++ vectors (with some non-R deterministic computations in-between) Best, -- Hao...
Hi. serialize may have memory leak issue. When I run the following codes x=split(1:40000, rep(1:8, 5000)) fun=function(x)lapply(x, serialize, NULL) out =replicate(5000, fun(x)) After using gc() severally times, R reports...
Hi, I have a few questions about RcppEigen. I hope I am posting on the right list. 1. const-correctness Suppose I have a function double fcn(NumericVector const& points){ ... Map<VectorXd > tmp = as<Map<VectorXd > >(points); ... } It compiles fine...
Hi, I have been using filehash for a while. It has performed very well. However, recently I found filehash gives an error when I need to do something like db[c("a", "b")] when the db is in RDS format...
Dear Martin and core members, We have a package named uSORT submitted to Bioconductor through GitHub half a month ago, FYI * Github Link: <https://github.com/JinmiaoChenLab/uSORT> * Bioconductor submission track: <https://github.com/Bioconductor/Contributions/issues/104> Now the...
Can't find what you're looking for? Try searching with Google .