Description Usage Arguments Details Value See Also Examples
reads data into a vector or a list from console or file
1 2 3 4 5 6 | scan(file = "", what = double(), nmax = -1L, n = -1L, sep = "",
quote = if (identical(sep, "\n")) "" else "'\"", dec = ".", skip = 0L,
nlines = 0L, na.strings = "NA", flush = FALSE, fill = FALSE,
strip.white = FALSE, quiet = FALSE, blank.lines.skip = TRUE,
multi.line = TRUE, comment.char = "", allowEscapes = FALSE, fileEncoding = "",
encoding = "unknown", text = NA)
|
file |
file name |
what |
type of data |
nmax |
max number of data |
n |
max number of data |
sep |
separator |
quote |
set of quoting strings |
dec |
decimal point character |
skip |
lines of input file to be skipped |
nlines |
max number of lines |
na.strings |
coding of NA entries |
flush |
for ignoring comments |
fill |
for adding empty fields |
strip.white |
for ignoring leading or trailing blanks |
quiet |
if FALSE number of items will be printed |
blank.lines.skip |
ignore empty lines |
multi.line |
if FALSE: record must be in lines |
comment.char |
character used as comment char |
allowEscapes |
how to handle escape sequences |
fileEncoding |
file encoding |
encoding |
encoding assumed for the input |
text |
concerning text connections |
see help of scan (package base)
scanned object is returned ...
1 | ##
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.