Skip to content
Back to formatted view

Raw Message

Message-ID: <CAAxdm-6XObHSP7BBGuXg3TpSNmV_Lw+6A3-=LOTGAj+KK6Ys+w@mail.gmail.com>
Date: 2012-02-08T00:15:21Z
From: jim holtman
Subject: R equivalent of Python str()?
In-Reply-To: <20120208000849.GA28779@doriath.local>

?dump
?dput

2012/2/7 Ernest Adrogu? <nfdisco at gmail.com>:
> 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
>
> ______________________________________________
> R-help at 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.



-- 
Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.