# NOT RUN {
# Read in the data set nancycats from an example excel file in this
# package.
nancy <- system.file("files/nancycats.xlsx", package = "popprxl")
nancy # This is the address to our excel file.
read.genalexcel(nancy, sheet = 1, genclone = FALSE)
# Note that system.file() is only for examples. You can use
# file.choose() for an interactive way of choosing files.
#
# e.g.
# myfile <- file.choose()
# read.genalexcel(myfile)
# }
# NOT RUN {
nancy_ex_rows <- system.file("files/nancycats_extra_rows.xlsx", package = "popprxl")
# This will give a warning
read.genalexcel(nancy_ex_cols, sheet = 1, genclone = FALSE)
# }
Run the code above in your browser using DataLab