[R] Difference in Cat(...) function between S Plus and R ?

Liu.Chunhua@epamail.epa.gov Liu.Chunhua at epamail.epa.gov
Wed Jan 9 19:02:47 CET 2002


Dear All,

THis is my "data.char$excluded" object and I want to show its content in
my output screen.

> data.char$excluded
$names
[1] "Species" "Target"  "Sex"

[[2]]
[1] "DG"

[[3]]
[1] "R"

[[4]]
[1] "M"

>

When I run cat() in S Plus, I got:

> cat(data.char$excluded, "\n")
c("Species", "Target", "Sex") "DG" "R" "M"

However, when I run the same commend in R, I got:
> cat(data.char$excluded, "\n")
Error in cat(list(...), file, sep, fill, labels, append) :
        argument 1 not yet handled by cat

Anyone know what's wrong with it.

Thanks

Charlie Liu



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list