Re: [R] Splitting strings in data files R

2016-01-20 Thread David Winsemius
> On Jan 20, 2016, at 3:33 PM, Zilefac Elvis wrote: > > I did not want to include attachments but as they are requested I am > attaching the original files. > File1=dx701S001 > > File2= dt402DAF0 These are fixed width files. The "upper-left corner of the file looks

Re: [R] Splitting strings in data files R

2016-01-20 Thread Mark Sharp
Looks like homework. R. Mark Sharp, Ph.D. Director of Primate Records Database Southwest National Primate Research Center Texas Biomedical Research Institute P.O. Box 760549 San Antonio, TX 78245-0549 Telephone: (210)258-9476 e-mail: msh...@txbiomed.org > On Jan 20, 2016, at 2:53 PM, R.

[R] Splitting strings in data files R

2016-01-20 Thread Zilefac Elvis via R-help
Please I need help processing files with strings in R. All the files have two patterns (thus,examine separately): Pattern 1 (see file1 below): Delete Lines 1,2 & 4 in file1. Line 3 contains the column names. Then find anything as.character and delete. Please do not delete any values (e.g.

Re: [R] Splitting strings in data files R

2016-01-20 Thread David Winsemius
> On Jan 20, 2016, at 12:53 PM, Zilefac Elvis via R-help > wrote: > > > > > Please I need help processing files with strings in R. All the files have > two patterns (thus,examine separately): You do need help, that much is clear. But the first thing to do is retrace