Kenneth Cabrera wrote:> How can I read an ascii database that is controled by the column number??read.fwf -- Chuck Cleland, Ph.D. NDRI, Inc. 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 452-1424 (M, W, F) fax: (917) 438-0894
Kenneth Cabrera wrote:> Hi R-users: > > How can I read an ascii database that is controled by the column number? > For example: > > 7349593Luis Miguel Ariza Gutierrez 32342123 > 9394583XXXXX XX YYYYYYYYYYYY 34234930 > 39483 KKKKKKKK KKKKKKKKCCCCCCC CCCCCCCCCCCCCCCCCC39203230 > 3484932YYYYYYYYYY YYYYYYZZZZZZ ZZZZZZZZZZZZZZZ 39402343 > 39203WWWWWWWWWWWW WWWVVVVVVVVVVVV VVVVVVVVVVVVV 342343 > > There are 4 variables, ID, Name, Last Name, Numeric Variable. > 1 Variable column 1-8 > 2 Variable column 9-25 > 3 Variable column 26-51 > 4 Variable column 51-59 > > Thank you for your help > > Kenneth >See ?read.fwf Uwe Ligges
Hi R-users: How can I read an ascii database that is controled by the column number? For example: 7349593Luis Miguel Ariza Gutierrez 32342123 9394583XXXXX XX YYYYYYYYYYYY 34234930 39483 KKKKKKKK KKKKKKKKCCCCCCC CCCCCCCCCCCCCCCCCC39203230 3484932YYYYYYYYYY YYYYYYZZZZZZ ZZZZZZZZZZZZZZZ 39402343 39203WWWWWWWWWWWW WWWVVVVVVVVVVVV VVVVVVVVVVVVV 342343 There are 4 variables, ID, Name, Last Name, Numeric Variable. 1 Variable column 1-8 2 Variable column 9-25 3 Variable column 26-51 4 Variable column 51-59 Thank you for your help Kenneth -- Kenneth Roy Cabrera Torres Celular +57 (315) 405 9339