Hi, I am neither a statistician nor a user of R. I am a programmer trying to provide my users (both statisticians and R users) data in a format that works best for them. What is a data frame? Is source data easier to work with in this format or a csv file? Or yet another format? Thanks for your time. Bruce [[alternative HTML version deleted]]
Do not post such questions to this list. Read an Introduction to R first, please. -- Bert On Thu, Aug 19, 2010 at 12:55 PM, Bruce Como <bruce at lmcsoftware.com> wrote:> Hi, > > I am neither a statistician nor a user of R. ?I am a programmer trying to > provide my users (both statisticians and R users) data in a format that > works best for them. > > What is a data frame? ?Is source data easier to work with in this format or > a csv file? ?Or yet another format? > > Thanks for your time. > > Bruce > > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > 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. >-- Bert Gunter Genentech Nonclinical Biostatistics 467-7374 http://devo.gene.com/groups/devo/depts/ncb/home.shtml
Bruce Como wrote:> Hi, > > I am neither a statistician nor a user of R. I am a programmer trying to > provide my users (both statisticians and R users) data in a format that > works best for them. >It sounds like they would be the best ones to ask then.> What is a data frame? Is source data easier to work with in this format or > a csv file? Or yet another format? >A data.frame is a class of a certain type of R object. It is basically a way to store rectangular data, rows for observations, columns for variables. Since R objects exist in memory, you can write out things like data.frames to disk with the ?save function, so others can load them with the ?load function. I think your users will have to tell you what is easiest for them.