Skip to content
Prev 9688 / 12125 Next

[R-pkg-devel] Question regarding listing base and recommended packages programmatically and efficiently

It would be much faster (but slightly less reliable) to use 
list.files(.libPaths()) to get the names of all installed packages, and 
then filter them to the known list of base and recommended packages, 
which changes very rarely.

Duncan Murdoch
On 12/10/2023 8:34 a.m., Tony Wilkes wrote: