Got it, thanks.  That really clarified things up.
Mike

On Fri, Sep 14, 2012 at 8:20 PM, David Winsemius <[email protected]>wrote:

>
> On Sep 14, 2012, at 5:07 PM, C W wrote:
>
> > Yes, I must made a mistake thinking state.abb, state.area is contained
> in 'state'.  But they are actually different data frame.
> >
> > But why does this list have 'state' when it doesn't actually exist?
>
> When you execute the command:
>
> data(state)
>
> ... the interpreter loads all of those dataframes into memory.
>
> The pages says:
>
> "Usage
>
>         state.abb
>         state.area
>         state.center
>         state.division
>         state.name
>         state.region
>         state.x77"
>
> --
> David.
> >
> > state US State Facts and Figures
> > state.abb     US State Facts and Figures
> > state.area    US State Facts and Figures
> > state.center  US State Facts and Figures
> > state.division        US State Facts and Figures
> > state.name    US State Facts and Figures
> > state.region  US State Facts and Figures
> > state.x77     US State Facts and Figures
> >
> >
> > Here's the link where I found it.
> >
> http://stat.ethz.ch/R-manual/R-patched/library/datasets/html/00Index.html
> >
> > Yes, I was forced to reinstalled because I didn't find datasets on CRAN.
> >
> > Thanks,
> > Mike
> >
> > On Fri, Sep 14, 2012 at 7:12 PM, David Winsemius <[email protected]>
> wrote:
> >
> > On Sep 14, 2012, at 2:09 PM, C W wrote:
> >
> > > Hi list,
> > > I am having some trouble using the datasets package.  The 'state' data
> is
> > > missing.
> >
> > Evidence?  (Notice there is no dataframe named "state")
> >
> > state.abb (state)              US State Facts and Figures
> > state.area (state)             US State Facts and Figures
> > state.center (state)           US State Facts and Figures
> > state.division (state)         US State Facts and Figures
> > state.name (state)             US State Facts and Figures
> > state.region (state)           US State Facts and Figures
> > state.x77 (state)              US State Facts and Figures
> >
> >
> > > So, I removed the package trying to reinstall.
> >
> > Well, now you've really done it, Ollie.
> >
> > >
> > > What I did,
> > > Package&Data > Package Installer > Get list
> > >
> > > No 'datasets' in the list.
> >
> > Correct. Also no "stats" or "base" or "graphics".
> >
> > >
> > > So, I tried to install using,
> > >
> > >> install.packages('datasets')
> > >
> > > Warning message:
> > >
> > > package Œdatasets‚ is not available (for R version 2.15.1)
> > >
> > >
> > > But, the documentation says it is built for 2.15.1.
> > >
> http://stat.ethz.ch/R-manual/R-patched/library/datasets/html/00Index.html
> >
> > Since it is part of the base install, you may find it easiest to just
> reinstall R.
> >
> > --
> > David.
> > >
> > >
> > >> sessionInfo()
> > >
> > > R version 2.15.1 (2012-06-22)
> > >
> > > Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
> > >
> > >
> > > locale:
> > >
> > > [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
> > >
> > >
> > > attached base packages:
> > >
> > > [1] stats     graphics  grDevices utils     methods   base
> > >
> > > So, am I missing something?
> > > Thanks,
> > > M
> > >
> > >       [[alternative HTML version deleted]]
> > >
> > > _______________________________________________
> > > R-SIG-Mac mailing list
> > > [email protected]
> > > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> >
> > David Winsemius, MD
> > Alameda, CA, USA
> >
> >
>
> David Winsemius, MD
> Alameda, CA, USA
>
>

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to