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