Learn R Programming

fImport (version 3000.82)

read-xls: Read from an xls file

Description

Reads a sheet from an xls file.

Usage

read.xls(url, sheet=1, lines=-1, verbose=FALSE, encoding="unknown")

Arguments

url

a character string specifying the URL of the web page.

sheet

an integer denoting which sheet should be extracted, by default the first.

lines

a negative integer with the lines to be skipped, by default the first.

verbose

a logical decides about verbose mode, by default FALSE.

encoding

a character string with the type of encoding, by defaul "unknown".

Value

the downloaded text.

References

Diethelm Wuertz, Yohan Chalabi, and Andrew Ellis, (2010); Financial Market Data for R/Rmetrics, Rmetrics eBook, Rmetrics Association and Finance Online, Zurich, www.rmetrics.org.