Skip to content

Instantly share code, notes, and snippets.

@AndrewTheTM
Created September 16, 2015 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewTheTM/dbf957dc60da62921287 to your computer and use it in GitHub Desktop.
Save AndrewTheTM/dbf957dc60da62921287 to your computer and use it in GitHub Desktop.
Code to read an Excel file in R
library(openxlsx)
dat<-read.xlsx("file path","Sheetname")
# Optionally, add startRow = 13, possibly colNames=F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment