Re: [Rd] rcmdr gui not running (PR#13831)

2009-07-14 Thread Peter Dalgaard
francois.gr...@dbmail.com wrote: Full_Name: greff francois Version: 2.8.1 OS: ubuntu 9.04 Submission from: (NULL) (89.227.27.2) into r , the command library("Rcmdr") works well : the r commander GUI is opened , with menu in french ( well !) . But it isn't possible to have a response to any cl

[Rd] rcmdr gui not running (PR#13831)

2009-07-14 Thread francois . greff
Full_Name: greff francois Version: 2.8.1 OS: ubuntu 9.04 Submission from: (NULL) (89.227.27.2) into r , the command library("Rcmdr") works well : the r commander GUI is opened , with menu in french ( well !) . But it isn't possible to have a response to any click on menu ??? It's neither possibl

[Rd] Faster as.data.frame & save copy by doing names(x) <- NULL only if needed

2009-07-14 Thread Tim Hesterberg
A number of as.data.frame methods do names(x) <- NULL Replacing that with if(!is.null(names(x))) names(x) <- NULL appears to save making one copy of the data (based on tracemem and Rprofmem in a copy of R compiled with --enable-memory-profiling) and gives a modest but consistent b

Re: [Rd] ordering dataframe for strata() (PR#13830)

2009-07-14 Thread marc_schwartz
On Jul 14, 2009, at 2:10 PM, eric.vander...@usask.ca wrote: > I've been using strata(sampling) and found that if the dataframe to be > sampled ("data") consists of repeated measures that are not sorted in > order the run will fail on a given stratum. Ordering the dataframe > prior to using strata

[Rd] ordering dataframe for strata() (PR#13830)

2009-07-14 Thread eric . vanderwal
I've been using strata(sampling) and found that if the dataframe to be sampled ("data") consists of repeated measures that are not sorted in order the run will fail on a given stratum. Ordering the dataframe prior to using strata() eliminates this problem. Thanks, Eric -- Eric Vander Wal Ph.

[Rd] matrix algebra in c

2009-07-14 Thread Richard D. Morey
I'd like to use some matrix algebra in my c code that is called from R. I need matrix multiplication, transposition, and Cholesky decomposition. I haven't come across any easy way to do this, but from browsing the web and R-devel a few options come to mind: 1. use F77_CALL() to call matrix multipl

[Rd] Incorrect comment about ISNA(x) in Arith.h (PR#13826)

2009-07-14 Thread rocket
R-2.9.0/include/R_ext/Arith.h has: int R_IsNA(double); /* True for R's NA only */ int R_IsNaN(double);/* True for special NaN, *not* for NA */ int R_finite(double); /* True if none of NA, NaN, +/-Inf */ #define ISNA(x)R_IsNA(x) /* True for *both* NA and N