Message-ID: <CA+8X3fUqrGc+P4XZ5kC7x71XVcb1Fti41A+sAFRfoCpd1LqZAg@mail.gmail.com>
Date: 2020-01-17T08:06:09Z
From: Jim Lemon
Subject: Extracting a particular column from list
In-Reply-To: <e443304a-34b0-57b6-1d9d-caddd9347b59@sapo.pt>
Good one. When I saw this thread beginning to lengthen, I thought:
"Ask an unanswerable question and you get philosophy."
Jim
On Fri, Jan 17, 2020 at 6:10 PM Rui Barradas <ruipbarradas at sapo.pt> wrote:
>
> Hello,
>
> Inline.
>
>
> ?s 22:03 de 16/01/20, Mark Leeds escreveu:
> > I nominate the last sentence of Rolf's comment as a fortune.
>
> Second.
>
>
> Rui Barradas
>
> >
> >
> > On Thu, Jan 16, 2020 at 3:48 PM Rolf Turner <r.turner at auckland.ac.nz
> > <mailto:r.turner at auckland.ac.nz>> wrote:
> >
> >
> > On 17/01/20 1:55 am, Rui Barradas wrote:
> >
> > > Hello,
> > >
> > > What column and what list?
> > > Please post a reproducible example, see the link at the bottom of
> > this
> > > mail and [1], [2], [3].
> > >
> > > [1] https://cran.r-project.org/web/packages/reprex/index.html
> > > [2]
> > >
> > https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
> >
> > >
> > > [3] https://stackoverflow.com/help/mcve
> > >
> > > Hope this helps,
> >
> > The OP should note that lists in general *do not have* columns. Data
> > frames (which are a special case of lists) do have columns.
> >
> > Lists have "*entries*" or "components". It is important to get your
> > terminology right and to understand the concepts that you are dealing
> > with. Slap-dash hammer and hope is a recipe for disaster, especially
> > in R.
> >
> > cheers,
> >
> > Rolf Turner
> >
> > --
> > Honorary Research Fellow
> > Department of Statistics
> > University of Auckland
> > Phone: +64-9-373-7599 ext. 88276
> >
> > ______________________________________________
> > R-help at r-project.org <mailto:R-help at r-project.org> mailing list --
> > To UNSUBSCRIBE and more, see
> > 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.
> >
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.