ProjectTemplate (version 0.7)

xls.reader: Read an Excel 2004 file with a .xls file extension.

Description

This function will load the specified Excel file into memory using the gdata package. Each sheet of the Excel workbook will be read into a separate variable in the global environment.

Usage

xls.reader(data.file, filename, workbook.name)

Arguments

data.file

The name of the data file to be read.

filename

The path to the data set to be loaded.

workbook.name

The name to be assigned to in the global environment.

Value

No value is returned; this function is called for its side effects.

Examples

Run this code
# NOT RUN {
library('ProjectTemplate')

# }
# NOT RUN {
xls.reader('example.xls', 'data/example.xls', 'example')
# }

Run the code above in your browser using DataLab