ProjectTemplate (version 0.4-2)

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
library('ProjectTemplate')

xls.reader('example.xls', 'data/example.xls', 'example')

Run the code above in your browser using DataCamp Workspace