The R Project SVN R

Rev

Rev 61433 | Rev 64657 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61433 Rev 62172
Line 24... Line 24...
24
           comment.char = "#",
24
           comment.char = "#",
25
           allowEscapes = FALSE, flush = FALSE,
25
           allowEscapes = FALSE, flush = FALSE,
26
           stringsAsFactors = default.stringsAsFactors(),
26
           stringsAsFactors = default.stringsAsFactors(),
27
           fileEncoding = "", encoding = "unknown", text)
27
           fileEncoding = "", encoding = "unknown", text)
28
 
28
 
29
read.csv(file, header = TRUE, sep = ",", quote = "\"", dec = ".",
29
read.csv(file, header = TRUE, sep = ",", quote = "\"",
30
         fill = TRUE, comment.char = "", \dots)
30
         dec = ".", fill = TRUE, comment.char = "", \dots)
31
 
31
 
32
read.csv2(file, header = TRUE, sep = ";", quote = "\"", dec = ",",
32
read.csv2(file, header = TRUE, sep = ";", quote = "\"",
33
          fill = TRUE, comment.char = "", \dots)
33
          dec = ",", fill = TRUE, comment.char = "", \dots)
34
 
34
 
35
read.delim(file, header = TRUE, sep = "\t", quote = "\"", dec = ".",
35
read.delim(file, header = TRUE, sep = "\t", quote = "\"",
36
           fill = TRUE, comment.char = "", \dots)
36
           dec = ".", fill = TRUE, comment.char = "", \dots)
37
 
37
 
38
read.delim2(file, header = TRUE, sep = "\t", quote = "\"", dec = ",",
38
read.delim2(file, header = TRUE, sep = "\t", quote = "\"",
39
            fill = TRUE, comment.char = "", \dots)
39
            dec = ",", fill = TRUE, comment.char = "", \dots)
40
}
40
}
41
\arguments{
41
\arguments{
42
  \item{file}{the name of the file which the data are to be read from.
42
  \item{file}{the name of the file which the data are to be read from.
43
    Each row of the table appears as one line of the file.  If it does
43
    Each row of the table appears as one line of the file.  If it does
44
    not contain an \emph{absolute} path, the file name is
44
    not contain an \emph{absolute} path, the file name is