如何安装包fOptions?

时间:2013-10-26 04:52:34

标签: r

我正在尝试安装包fOptions但收到错误:

> library(fOptions)
Error in library(fOptions) : there is no package called ‘fOptions’ 

1 个答案:

答案 0 :(得分:2)

library函数用于加载包,而不是安装它们。要安装软件包,您需要使用install.packages("fOptions")。有关详细信息,请参阅?library?install.packages