Reputation: 145
I'm trying to install the package fOptions but got the error:
> library(fOptions)
Error in library(fOptions) : there is no package called ‘fOptions’
Upvotes: 1
Views: 1844
Reputation: 60944
The library
function is used to load packages, not to install them. To install a package, you need to use install.packages("fOptions")
. See ?library
and ?install.packages
for more details.
Upvotes: 2