[R] About reading data into R

Gabor Grothendieck ggrothendieck at myway.com
Tue Mar 9 07:52:22 CET 2004



scan has no problem with blank lines.  read.table has
an argument that controls how it handles blank lines
and the default setting is to ignore them.


---
Date:   Mon, 8 Mar 2004 20:27:48 -0600 (CST) 
From:   Rui Song <rsong at cs.wisc.edu>
To:   <R-help at R-project.org> 
Subject:   [R] About reading data into R 

 
I have a problem about reading data into R. There is a "\n"
between each pair of data, like:

-155.65

-155.77

-155.40

-155.46

-155.52

-155.34

     ...
Could anyone tell me how to read in such data? Thanks!

Rui




More information about the R-help mailing list