[R] VR package not found for R version 1.9.1

2004-12-06 Thread Moises Hassan
I'm trying to install the VR package for version 1.9.1 but I'm getting the following error message: > install.packages("VR") trying URL `http://cran.r-project.org/bin/windows/contrib/1.9/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 20716 bytes opened URL downloaded 20Kb

RE: [R] removing invariant columns from a matrix

2004-08-29 Thread Moises Hassan
Thanks, that solved the problem! - Moises -Original Message- From: Roger D. Peng [mailto:[EMAIL PROTECTED] Sent: Sunday, August 29, 2004 3:08 PM To: Moises Hassan Cc: R Help Subject: Re: [R] removing invariant columns from a matrix See question 7.7 in the R FAQ (http://cran.r

RE: [R] removing invariant columns from a matrix

2004-08-29 Thread Moises Hassan
: Peter Dalgaard Cc: Moises Hassan; R Help Subject: Re: [R] removing invariant columns from a matrix Both the previous solutions seem to assume a numeric matrix. How about the following: A <- array(letters[c(rep(1, 13), rep(2, 13), 1:26)], dim=c(13, 5)) A[, apply(A, 2, function(x)any(x

[R] removing invariant columns from a matrix

2004-08-28 Thread Moises Hassan
I'm looking for an efficient way of removing zero-variance columns from a large matrix. Any suggestions? Thanks, - Moises [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] distance to cluster center

2004-08-18 Thread Moises Hassan
Is there a way to get the distance between each point and the center of the cluster it was assigned to in cluster methods such as agnes, pam, and clara. Thanks! - Moises [[alternative HTML version deleted]] __ [EMAIL PROTECTED] maili

[R] aov summary to matrix

2004-08-17 Thread Moises Hassan
Is there an easy way of converting an aov.summary into a matrix in which the rows are the factor names and the columns are Df, Sum Sq, Mean Sq, F value and Pr. For example, convert Df Sum Sq Mean Sq F value Pr(>F) block5 343.29 68.66 4.4467 0.015939 * N1

[R] capture stderr in Windows

2004-08-16 Thread Moises Hassan
I'm using the following command to run R in Windows "Rterm --no-save --no-restore < "Rscriptfile" > "Rstdoutfile" How can I capture the text sent by R to stderr in a file? Thanks, - Moises [[alternative HTML version deleted]] __

[R] Graphics in BATCH CMD mode

2004-07-12 Thread Moises Hassan
Running R scripts via 'R_exe BATCH CMD inpufile outputfile' works fine with jpeg commands in Windows, but the jpeg commands give an error under Linux because GUI is set to none. Is there a way to use jpeg commands in BATCH CMD in Linux. Thanks, Moises __

[R] binary data

2004-06-08 Thread Moises Hassan
What's the preferred way in R for handling samples with binary data (like chemical fingerprints encoded as hexadecimal strings with 0's and 1's indicating the absence or presence of chemical features) in methods such as clustering and MDS. Do you always have to expand the fingerprint data into indi