loadxls
is an R package to read and write from an to Microsoft Excel Files. It is a wrapper of the excellent but complicated R package XLConnect
. loadxls
makes the operations of load the content of a spreadsheet super-easy, also save data.frame
s to them.
Open an R session and load devtools
. Then type:
install_github("carleshf/loadxls")
loadxls
implements four functions:
read_all
: This function loads the full content of a MS Excel file into the current workspace, using sheet's names to create the variables.read_sheet
: This function loads a specific sheet of a MS Excel file into the current workspace.write_all
: This function writes the given data.frame
s to a MS Excel file, creating a sheet for each data.frame
.write_sheet
: This function writes a given data.frame
to a specified sheet of a MS Excel file.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.