[R] Can you send "side effect" text into a variable?

andrewH ahoerner at rprogress.org
Tue Aug 16 02:28:51 CEST 2011


Dear folks --

There are a number of functions -- I am thinking of str() as an example --
that produce text as a side-effect, rather then returning it. Is there any
way to send the text produced by such functions into a character variable? 

Any suggestions would be greatly appreciated.

andrewH



--
View this message in context: http://r.789695.n4.nabble.com/Can-you-send-side-effect-text-into-a-variable-tp3746025p3746025.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list