Skip to content
Prev 299343 / 398503 Next

How to import SAS data in R?

On Jul 6, 2012, at 1:39 PM, C W wrote:

            
You probably have mismatched quotes. Consider using quote="". Also  
consider doing this:

table(count.fields(file-name)) # with a valid file name

That count.fields function is very useful since it accepts the same  
arguments as the read.tables functions, with defaults of:

  quote = "\"'", skip = 0, blank.lines.skip = TRUE, comment.char = "#")