[R] Scanning data files line-by-line

Duncan Murdoch dmurdoch at pair.com
Wed Apr 30 16:55:33 CEST 2003


On Wed, 30 Apr 2003 09:19:20 -0400, I wrote:

>con <- file("foo") 
>
>will open the file called foo and attach it to a connection called
>con.

Whoops, believe Brian, not me.  You need 

 con <- file("file", "r")

Duncan Murdoch



More information about the R-help mailing list