Kembalikan direktori home R, atau path lengkap ke komponen instalasi R.
R.home(component = "home")
| Parameter | Deskripsi |
|---|---|
component |
As well as "home" which gives the R home directory, other known values are "bin", "doc", "etc", "include", "modules" and "share" giving the paths to the corresponding parts of an R installation. |
# NOT RUN {
## These result quite platform dependently :
rbind(home = R.home(),
bin = R.home("bin")) # often a sub directory of 'home'
list.files(R.home("bin"))
# }