View source: R/read.gnumeric.R
read.gnumeric.sheets | R Documentation |
Read data from each non-empty sheet of a gnumeric file to a list of data.frames.
All arguments are passed to read.gnumeric.sheet
.
read.gnumeric.sheets(file,
head=FALSE,
drop.empty.rows="none",
drop.empty.columns="none",
colnames.as.sheet=FALSE,
rownames.as.sheet=colnames.as.sheet,
quiet=TRUE,
LANG='C',
locale='C',
import.encoding=NA,
field.format='automatic',
...
);
file |
Name of gnumeric file to read from. |
head, drop.empty.rows, drop.empty.columns |
See |
colnames.as.sheet,rownames.as.sheet, quiet |
See |
LANG, locale, import.encoding, field.format, ... |
See
|
A list of data frames.
read.gnumeric.sheet.info
to list sheet names and
sizes.
read.gnumeric.range
to read an exact cell range of a
single sheet.
## Read all sheets from 'file.gnumeric'
## Not run:
df.list <- read.gnumeric.sheets( file="file.gnumeric" );
df1 <- df.list['Sheet1'];
df.list <- read.gnumeric.sheets( file="file.gnumeric",
head=TRUE );
names(df.list); ## sheet names
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.