[R] Of fixed column format (and more fixed mindsets)

From: arin basu <arinbasu_at_cashette.com>
Date: Wed 13 Sep 2006 - 02:37:25 GMT

>
> Message: 107
> Date: Tue, 12 Sep 2006 05:25:09 -0400
> From: Michael Kubovy <kubovy@virginia.edu>
> Subject: Re: [R] Reading fixed column format
> To: Anupam Tyagi <AnupTyagi@yahoo.com>
> Cc: r-help@stat.math.ethz.ch
> Message-ID: <3EBEC9D3-559C-4607-838D-46042D36A3AA@virginia.edu>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> On Sep 12, 2006, at 2:47 AM, Anupam Tyagi wrote:
>
> > Jason Barnhart <jasoncbarnhart <at> msn.com> writes:
> >
> >>
> >> These posts may be helpful.
> >> http://tolstoy.newcastle.edu.au/R/help/05/06/5776.html
> >> https://stat.ethz.ch/pipermail/r-help/2002-May/021145.html
> >>
> >> Using scan directly may also work for you rather than read.fwf.
> >>
> >> Also, there are posts regarding using other tools such a 'perl' or
> >> 'cut' to
> >> prepocess the data
> >> before reading with R. Searching the archives with those keywords
> >> should
> >> help.
> >
> > I new user should not have to learn "perl","cut", "awk", etc simply
> > to be able
> > to use R. Does not make sense to me.
>
> Hi Anupam,
>
> You'll get much better help here if you're not ill-tempered. This is
> a group of extraordinarily helpful volunteers who owe you less than
> you paid for the product.
>
> Please consider saving your data in a way that will make it easier to
> read into R. No program can read every dataset.
> _____________________________
> Professor Michael Kubovy
> University of Virginia
> Department of Psychology
> USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
> Parcels: Room 102 Gilmer Hall
> McCormick Road Charlottesville, VA 22903
> Office: B011 +1-434-982-4729
> Lab: B019 +1-434-982-4751
> Fax: +1-434-982-4766
> WWW: http://www.people.virginia.edu/~mk9y/

Also, if a user is new to R, it always helps if he or she uses a spreadsheet or another program/ set of scripts to first preprocess the data before reading them in R. These preprocessing might include simple steps such as naming and renaming columns, selecting which columns one needs in the dataset, etc. Then, once one is more familiar working with R, these can be accomplished within R relatively easily.

/Arin Basu



R-help@stat.math.ethz.ch 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. Received on Wed Sep 13 16:54:05 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 13 Sep 2006 - 07:30:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.