Hi Luck,
If your package is installed,
system.file("extdata", "InputFiles", package = "myPackage")
will give you the full path of the InputFiles directory.
See ?system.file for more details.
HTH,
Tobias
- Original Message -
> From: "Luck Buttered"
> To: "r-devel@r-project.org"
> Se
I'm putting together an R package. I would like to show example code in the
vignette, where example data files (included in the package) are used to
generate an (example) output file.
I read about using example data in Hadley Wickham's post (
http://r-pkgs.had.co.nz/data.html), and believe I shoul