ProjectTemplate (version 0.7)

xlsx.reader: Read an Excel 2007 file with a .xlsx file extension.

Description

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

Usage

xlsx.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 {
xlsx.reader('example.xlsx', 'data/example.xlsx', 'example')
# }

Run the code above in your browser using DataLab