Re: [Rd] matrix operations

2005-02-20 Thread Prof Brian Ripley
On Sun, 20 Feb 2005, Melanie Vida wrote: In R, I'm imported a data frame of 2,321,123 by 4 called "dataF". I converted the data frame "dataF" to a matrix dataM <- as.matrix(dataF) I am assuming this is a numeric matrix, and "inf" means Inf and in places that there are no NAs. Does R have an effi

Re: [Rd] eapply weirdness/bug

2005-02-20 Thread Luke Tierney
On Sat, 20 Feb 2005, Peter Dalgaard wrote: Luke Tierney <[EMAIL PROTECTED]> writes: For this specific case though, I _think_ the semantics we want is this: eapply1 <- function(env, FUN, ..., all.names = FALSE) { FUN <- match.fun(FUN) lapply(.Internal(env2list(env, all.names)),

Re: [Rd] matrix operations

2005-02-20 Thread Gabor Grothendieck
Melanie Vida mac.com> writes: : : In R, I'm imported a data frame of 2,321,123 by 4 called "dataF". : I converted the data frame "dataF" to a matrix : : dataM <- as.matrix(dataF) : : Does R have an efficient routine to treat the special elements that : contain "inf" in them. For example, can

[Rd] matrix operations

2005-02-20 Thread Melanie Vida
In R, I'm imported a data frame of 2,321,123 by 4 called "dataF". I converted the data frame "dataF" to a matrix dataM <- as.matrix(dataF) Does R have an efficient routine to treat the special elements that contain "inf" in them. For example, can you separate the rows that have "inf" elements fr

[Rd] Comments to promptMethods/promptClass

2005-02-20 Thread W.E. Wolski
Hi, The Rd file sceleton created using function _promptMethdos_ contains *only* the following fields: name docType alias title description section{Methods} keyword while _promptClass_ creates in addition fields like: author references seealso examples and even is invalid due to: ~Make other