[R] dput data frame
David Winsemius
dwinsemius at comcast.net
Thu Aug 25 00:57:19 CEST 2011
On Aug 24, 2011, at 6:48 PM, Jeffrey Joh wrote:
>
> I have a data frame that is about 40 columns by 10000 rows. I want
> to get the dput of small portion of that by using
> dput(results[1:10,3:6]). The dput is very long and includes all the
> values from the original data frame. Why is that?
>
I am guessing that you have factors with numerous levels that you are
incorrectly interpreting as "all the values from the original data
frame". Hard to do more than guess, given the description.
--
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list