[R] two questions for R beginners
Karl Ove Hufthammer
karl at huftis.org
Tue Mar 2 09:19:30 CET 2010
On Tue, 2 Mar 2010 08:58:25 +1300 Peter Alspach
<Peter.Alspach at plantandfood.co.nz> wrote:
> This brings up another confusion for new users. Simply typing the
> object name at the command line gives just one view of the object (that
> provided by print()).
Good point. Any good introduction to R should include a brief discussion
on 'str'. But sometimes even 'str' can fool you from discovering the
real underlying structure of an object, e.g. for data frames. The
solution is to use 'unclass' first.
--
Karl Ove Hufthammer
More information about the R-help
mailing list