[R] why data.frame, mutate package and not lists

Alaios alaios at yahoo.com
Wed Sep 14 20:15:36 CEST 2016

thanks for all the answers. I think also ggplot2 requires data.frames.If you want to add variable to data.frame you have to use attach, detach. Right?Any more links that discuss thoe two different approaches?Alex 

    On Wednesday, September 14, 2016 5:34 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote:

 This is partially a matter of subjectve opinion, and so pointless; but
I would point out that data frames are the canonical structure for a
great many of R's modeling and graphics functions, e.g. lm, xyplot,

As for mutate() etc., that's about UI's and user friendliness, and
imho my ho is meaningless.

Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Wed, Sep 14, 2016 at 6:01 AM, Alaios via R-help <r-help at r-project.org> wrote:
> Hi all,I have seen data.frames and operations from the mutate package getting really popular. In the last years I have been using extensively lists, is there any reason to not use lists and use other data types for data manipulation and storage?
> Any article that describe their differences? I would like to thank you for your replyRegardsAlex
>        [[alternative HTML version deleted]]
> ______________________________________________
> 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.

	[[alternative HTML version deleted]]

More information about the R-help mailing list