csv (version 0.5)

as.csv.character: Treat Character as CSV filename.

Description

Treat a character string as a CSV filename.

Usage

# S3 method for character
as.csv(x, as.is = TRUE, na.strings = c("", "\\s", ".",
  "NA"), strip.white = TRUE, ...)

Arguments

x

object

as.is

passed to read.csv

na.strings

passed to read.csv

strip.white

passed to read.csv

...

passed arguments

Value

data.frame

Details

If x is character, is length one, and is a path to a file, an attempt is made to read the file.