On Wed, 1 Jun 2005 [EMAIL PROTECTED] wrote:
Dear all,
I wrote the following batch script on a iMac, and ran it on a linux
mosix cluster.
tu <- read.table("cage.mm5.tags.rna_lib.CAA-CAJ.tu-reshape.table")
tu_reshaped <- t(reshape(tu[1:50,], direction="wide", timevar="tu",
idvar=c("rna","lib")))
write.table(tu_reshaped, "cage.mm5.tags.rna_lib.CAA-CAJ.tu-reshaped.table")
q(sav="no")
<snip>
There is something obviously wrong in the second one. The versions are:
GSLC8|Reproducibility|$ R --version
R 2.1.0 Patched (2005-05-12).
[EMAIL PROTECTED]:~$ R --version
R 1.5.1 (2002-06-17).
I am wondering wether there is a fix or I have to ask the admin of the
mosix cluster to upgrade R...
Having multiple `id' variables in reshape() was a feature added in version
2.0.0, so you have to upgrade.
-thomas
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html