How to list all installed R-packages

I don’t use R, and nor I do know much about it. However, I maintain R’s installation on linux machines at work. Today, I learned a new trick to list all installed R-packages. Here it is: ip = as.data.frame(installed.packages()[,c(1,3:4)]) ip = ip[is.na(ip$Priority),1:2,drop=FALSE] ip And here is the sample output: Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors....

October 5, 2017 · 1 min · 201 words · kenno

YUM what provides this file, huh?

This post is primarily written to remind myself, an Ubuntu user, to figure out how to find what RPM package provides a file — for example a header file. Today, I’m trying to compile and install R 3.1.3 on CentOS 6 from source code. This R installation is one of the requirements to install Tessera stack. The instruction from the installation page is: Unfortunately, the process failed with ./configure with the complain about missing readline library....

June 24, 2015 · 1 min · 136 words · kenno

R-tip: List installed R packages

April 29, 2015 · 0 min · 0 words · kenno