Re: [Rpy] How to predefine a vector of a specific size and fill with NA?

2011-10-03 Thread Laurent Gautier
On 2011-10-03 14:20, William T. Martin wrote: > I would like to do the rpy2 equivalent of the following: > > (a<- rep(NA, 2000)) > > The rpy2 documentation says that missing values for NA_INTEGER, > NA_LOGICAL, and NA_REAL are broken. Indicating the version of rpy2 you are referring to would be he

[Rpy] How to predefine a vector of a specific size and fill with NA?

2011-10-03 Thread William T. Martin
I would like to do the rpy2 equivalent of the following: (a <- rep(NA, 2000)) The rpy2 documentation says that missing values for NA_INTEGER, NA_LOGICAL, and NA_REAL are broken. Thank you Bill -- All the data c