cas.read.table | R Documentation |
This function is a convenience wrapper for
the R read.table
and as.casTable
functions.
After reading the file that is accessible to the R
client, it is uploaded to an in-memory table in
CAS (the server).
cas.read.table(
conn,
file,
header = FALSE,
sep = "",
quote = "\"'",
dec = ".",
numerals = c("allow.loss", "warn.loss", "no.loss"),
row.names,
col.names,
as.is = !stringsAsFactors,
na.strings = "NA",
colClasses = NA,
nrows = -1,
skip = 0,
check.names = TRUE,
fill = !blank.lines.skip,
strip.white = FALSE,
blank.lines.skip = TRUE,
comment.char = "#",
allowEscapes = FALSE,
flush = FALSE,
stringsAsFactors = default.stringsAsFactors(),
fileEncoding = "",
encoding = "unknown",
text,
skipNul = FALSE,
casOut = list(name = "", replace = FALSE)
)
conn |
An instance of a CAS object that represents a connection and CAS session. |
file |
An |
header |
An optional |
sep |
An optional |
quote |
An optional |
dec |
An optional |
numerals |
An optional |
row.names |
An optional |
col.names |
An optional |
as.is |
An optional vector of |
na.strings |
An optional |
colClasses |
An optional |
nrows |
An optional |
skip |
An optional |
check.names |
An optional |
fill |
An optional |
strip.white |
An optional |
blank.lines.skip |
An optional |
comment.char |
An optional |
allowEscapes |
An optional |
flush |
An optional |
stringsAsFactors |
An optional |
fileEncoding |
An optional |
encoding |
An optional |
text |
An optional |
skipNul |
An optional |
casOut |
An optional
|
CASTable
Other functions for loading in-memory data:
cas.read.csv()
,
cas.read.jmp()
,
cas.read.sas7bdat()
,
cas.read.xlsx()
,
cas.readRDS()
## Not run:
myCasTable <- cas.read.table(s, "/path/to/data.tsv", header=TRUE,
sep="\t", casOut=list(name="mycastable"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.