I'm new to R and I'm having a lot of trouble with a homework assignment for class. We need to install a package "ISLR" into rstudio and then run something with it. I cannot install the package. I'm so unfamiliar with R that I don't know what to do. Can anyone give me advice on what to do? Thank you in advance. The error I get is below.
Error in install.packages : Updating loaded packages
Restarting R session...
Installing package into ‘/home/codio/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/ISLR_1.2.tar.gz'
Content type 'application/x-gzip' length 1757568 bytes (1.7 MB)
downloaded 1.7 MB
- installing source package ‘ISLR’ ...
** package ‘ISLR’ successfully unpacked and MD5 sums checked
*** moving datasets to lazyload DB
*** installing help indices
** building package indices
** testing if installed package can be loaded
- DONE (ISLR)
The downloaded source packages are in