Skip to content
Prev 139132 / 398506 Next

When to quote a package name

Muenchen, Robert A (Bob) wrote:
The cleaner approach is to use quotes. I'd expect

x <- "Hmisc"
library(x)

to install package "Hmisc", but not package "x"...
In fact, it also installs "x" (as documented), unfortunately.

Uwe Ligges