Exercise solutions in R for 'An Introduction to Statistical Learning with Applications in R' (1st Edition).
Online course available from: https://online.stanford.edu/courses/sohs-ystatslearning-statistical-learning.
Complete R Markdown files with the code and answers are shown above. Additionally, here is the link to PDF outputs: https://onmee.github.io/ISLR-Solutions/
RStudio is a great IDE for R, and would be my recommendation for this course.
There will certainly be some errors in my answers, so use your own critical judgment for confirmation.