scan: modified version of scan for relax

Description Usage Arguments Details Value See Also Examples

Description

reads data into a vector or a list from console or file

Usage

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)

Arguments

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

Details

see help of scan (package base)

Value

scanned object is returned ...

See Also

scan

Examples

1
 ## 

relax documentation built on May 30, 2017, 6:30 a.m.

Related to scan in relax...