[R] Accessing just the value of an object but not the attributes

Johann Petrak johann at ai.univie.ac.at
Tue Oct 2 17:08:50 CEST 2001

I have the feeling that this is a dumb question but oh well ...
When I have an object x with several attributes,
y <- x will make a copy of x with all the attributes included.
What if I just want y to get the value assigned but nothing
else (no class, names, dim or other attributes)?


Phone/FAX/Adr/PGPkey ... at http://www.ai.univie.ac.at/~johann

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