[R] Reading formated databases

Kenneth Cabrera krcabrer at epm.net.co
Mon Dec 8 13:08:44 CET 2003


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




More information about the R-help mailing list