Can't install ISLR package

31.4k views Asked by At

This is the code I ran:

install.packages(ISLR);

And this was the response:

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

Any advice?

1

There are 1 answers

0
cyberj0g On BEST ANSWER
  1. Use quotes install.packages('ISLR').
  2. Make sure your internet connection available.
  3. If you're getting package is not available as binaries, update your R to the current version.
  4. After successfull installation, call library('ISLR') to load package.