Hallo,
it might be a problem with the underscore in the names. Look up the syntax
conventions. Here is a example for the write function in my programs perhaps it
might help you:
helpLetters=
cat(\nThe workspace is now imported!, helpLetters ,\n\n)
cat(The names of the variables are the same as they were in Matlab.,
helpLetters ,\n)
CU, Corinna
Original-Nachricht
Datum: Tue, 24 Apr 2007 15:29:47 +0200
Von: Conny Schmitt [EMAIL PROTECTED]
An: elyakhlifi mustapha [EMAIL PROTECTED]
CC: R-help@stat.math.ethz.ch
Betreff: Re: [R] write
Hallo,
just try it like a data frame, as I mailed you last time. Here an example:
dat - data.frame(Class=I(Id_TrT1), Levels=I(1), Values=I(2))
new.info - c(Class=Id_Geno, Levels=7 , Values=64208 64209 64210
64211 64212 64213 64214)
dat - rbind(dat, new.info)
dat
new.info - c(Class= Id_Rep , Levels=2 , Values=12) dat -
rbind(dat, new.info) dat
Just hack it in the console and look at the output. you can change it for
your now needs.
CU, Corinna
Original-Nachricht
Datum: Tue, 24 Apr 2007 13:21:05 + (GMT)
Von: elyakhlifi mustapha [EMAIL PROTECTED]
An: R-help@stat.math.ethz.ch
Betreff: [R] write
ok,
I have problems with write function
F
Id_TrT1 Id_Geno Id_Rep Val_O
30 55094 185
90 55096 187
15 0 55098 192
21 0 55079 176
27 0 55095 192
33 0 55099 198
39 0 55092 192
45 0 55090 172
51 0 55101 193
57 0 55106 190
and to write F I obtain like this:
write(F, , sep= )
Erreur dans cat(list(...), file, sep, fill, labels, append) :
argument 1 (type 'list') pas encore traité par cat
I know that the problem it's that f is a list but when I change it in
matrix or something else the consol display it but badly
I obtain just one column
___
[[alternative HTML version deleted]]
--
Feel free - 10 GB Mailbox, 100 FreeSMS/Monat ...
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Feel free - 10 GB Mailbox, 100 FreeSMS/Monat ...
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.