If you want to capture the output of the str function in a vector of character
strings, try the capture.output function.
________________________________
From: r-help-bounces@r-project.org on behalf of eggsbrown
Sent: Thu 12/27/2007 11:51 AM
To: r-help@r-project.org
Subject: [R] getting a string output from str
I would like to use the output from str() in a homemade function but str does
not return a value!
eg:
list(x=str(1:20),y=str(1:15))
returns odd output...
Thanks - Kevin.
--
View this message in context:
http://www.nabble.com/getting-a-string-output-from-str-tp14517059p14517059.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help@r-project.org 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.
[[alternative HTML version deleted]]