[R] R equivalent of Python str()?

Ernest Adrogué nfdisco at gmail.com
Wed Feb 8 01:08:49 CET 2012


Hi,

I was wondering if there's a function in R that is meant to return a
string representation of an object. Basically, it's like print() but
it doesn't print anything, it only returns a string.

I know there's a str() function but it's not quite the same. I mean a
function that returns the same string that print() would display.

-- 
Bye,
Ernest



More information about the R-help mailing list