Thanks! You mean something like:

> print(df$s[1], max.levels=0)

It seems I could also do

> as.character(df$s[1])

Any other/better solutions?

On Thu, Mar 10, 2011 at 4:40 PM, Rob Tirrell <r...@stanford.edu> wrote:
> See the max.levels argument in ?print. I think this is what you're looking
> for.
> --
> Robert Tirrell | r...@stanford.edu | (607) 437-6532
> Program in Biomedical Informatics | Butte Lab | Stanford University
>
>
> On Thu, Mar 10, 2011 at 13:35, Gang Chen <gangch...@gmail.com> wrote:
>>
>> n = c(2, 3, 5)
>> > s = c("aa", "bb", "cc")
>> > df = data.frame(n, s)
>

______________________________________________
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.

Reply via email to