Where are located the packages and who is the owner
I have done a function list.packages() in my package HelpersMG. .libPaths() returns the list of locations for packages... but who is where ?: structure(lapply(.libPaths(), FUN = function(path) {list.dirs(path=path, full.names = FALSE, recursive = FALSE)}), .Names=.libPaths()) To get the owner for each location: structure(as.list(system(paste("ls -ld ", .libPaths()," | awk '{print $3}'", collapse=";"), intern=TRUE)), .Names=.libPaths()) It works both in ubuntu and MacOSx. I don't have Windows computer to do the same. The path used by .libPaths() are defined in one of the files used for R configuration at startup: in ubuntu: /usr/lib/R/etc/Renviron in MacosX: /Library/Frameworks/R.framework/Resources/etc/Renviron > file.path(Sys.getenv("R_HOME"), "etc", "Renviron") [1] "/Library/Frameworks/R.framework/Resources/etc/Renviron" and ~/.Renviron ~/.Rprofile The files /usr/lib/R/etc/R...