powered by
List pre-built packages in a directory based on file extension
.listFiles(pkgs, path, type)
Character vector of package names
Character string specifying the directory containing packages to be added.
Character indicating the package type (e.g., "source", "win.binary", etc.).
Installs the packages and returns the new package index.
# NOT RUN { .listFiles('path/to/my/packages', type = "source") # } # NOT RUN { # }
Run the code above in your browser using DataLab