# Examples taken from ?system.file
system_file() # The root of the 'base' package
system_file(package = "stats") # The root of package 'stats'
system_file("INDEX")
system_file("help", "AnIndex", package = "splines")
Run the code above in your browser using DataLab