Skip to content
Prev 319411 / 398506 Next

How to read a *.csv file in R?

On Mar 13, 2013, at 16:54 , Daniel Nordlund wrote:

            
read.delim2() would be more to the point. (M: Are you _sure_ Excel calls this a csv file? Those are usually semicolon-separated in German locales.)

It's usually easier to leave blank fields blank in delimited formats. If you code NULL for missing, you'll need the na.strings= argument.

-pd