> On 2 Apr 2020, at 16:47 , Colin A. Smith <co...@colinsmith.org> wrote:
> 
> tapply(rownames(installed.packages()), installed.packages()[,"LibPath"], c)

or

X <- installed.packages()
split(rownames(X), X[,"LibPath"])


-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd....@cbs.dk  Priv: pda...@gmail.com

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to