Re: [R] multiple separators in scan() functions

2008-07-30 Thread Prof Brian Ripley
On Thu, 31 Jul 2008, milton ruser wrote: Dear all, Is there a way of I deal with more than one kind of separators when reading a asc file using scan() function? The separators could be ":", "\t" and ";". Yes, pre-process the file (e.g. use a pipe connection and 'tr', or read the file with re

[R] multiple separators in scan() functions

2008-07-30 Thread milton ruser
Dear all, Is there a way of I deal with more than one kind of separators when reading a asc file using scan() function? The separators could be ":", "\t" and ";". Kind regards miltinho [[alternative HTML version deleted]] __ R-help@r-project