11

This is the code I ran:

install.packages(ISLR);

And this was the response:

>Error in install.packages : object 'ISLR' not found

Any advice?

4

1 回答 1

27
  1. 使用引号install.packages('ISLR')
  2. 确保您的互联网连接可用。
  3. 如果您得到package is not available as binaries,请将您的 R 更新到当前版本。
  4. 安装成功后,调用library('ISLR')加载包。
于 2015-06-15T06:02:38.260 回答