| Line 120... |
Line 120... |
| 120 |
need \code{transpose = TRUE} to be read correctly.}
|
120 |
need \code{transpose = TRUE} to be read correctly.}
|
| 121 |
|
121 |
|
| 122 |
\item{fileEncoding}{character string: if non-empty declares the
|
122 |
\item{fileEncoding}{character string: if non-empty declares the
|
| 123 |
encoding used on a file (not a connection or clipboard) so the
|
123 |
encoding used on a file (not a connection or clipboard) so the
|
| 124 |
character data can be re-encoded. See the \sQuote{Encoding} section
|
124 |
character data can be re-encoded. See the \sQuote{Encoding} section
|
| 125 |
of the help for \code{\link{file}}, the \sQuote{R Data Import/Export}
|
125 |
of the help for \code{\link{file}}, and
|
| 126 |
manual and \sQuote{Note}.}
|
126 |
\manual{R-data}{Variations on read.table}.}
|
| 127 |
}
|
127 |
}
|
| 128 |
\value{
|
128 |
\value{
|
| 129 |
A data frame (\code{\link{data.frame}}) containing a representation of
|
129 |
A data frame (\code{\link{data.frame}}) containing a representation of
|
| 130 |
the data in the file. Empty input is an error unless \code{col.names}
|
130 |
the data in the file. Empty input is an error unless \code{col.names}
|
| 131 |
is specified, when a 0-row data frame is returned: similarly giving
|
131 |
is specified, when a 0-row data frame is returned: similarly giving
|
| Line 139... |
Line 139... |
| 139 |
Less memory will be used if \code{colClasses} is specified as one of
|
139 |
Less memory will be used if \code{colClasses} is specified as one of
|
| 140 |
the six atomic vector classes.
|
140 |
the six atomic vector classes.
|
| 141 |
}
|
141 |
}
|
| 142 |
\author{R Core; \code{transpose} option by Christoph Buser, ETH Zurich}
|
142 |
\author{R Core; \code{transpose} option by Christoph Buser, ETH Zurich}
|
| 143 |
\seealso{
|
143 |
\seealso{
|
| 144 |
The \emph{R Data Import/Export} manual.
|
144 |
The manual \manual{R-data}{}.
|
| 145 |
|
145 |
|
| 146 |
\code{\link{scan}}, \code{\link{type.convert}},
|
146 |
\code{\link{scan}}, \code{\link{type.convert}},
|
| 147 |
\code{\link{read.fwf}} for reading \emph{f}ixed \emph{w}idth
|
147 |
\code{\link{read.fwf}} for reading \emph{f}ixed \emph{w}idth
|
| 148 |
\emph{f}ormatted input;
|
148 |
\emph{f}ormatted input;
|
| 149 |
\code{\link{read.table}};
|
149 |
\code{\link{read.table}};
|