# get the path and file name
path2file <- system.file("extdata",
"BeersFlashProfile.xlsx", package = 'DistatisR')
# read the data in excel file with read.df.excel
beerDataFlash <- read.df.excel(path = path2file,
sheet = 'Rankings')$df.data
# the Flash Profiling data are now in the data.frame beerDataFlash
Run the code above in your browser using DataLab