gge-ucd / Discussion

Class discussion for R-DAVIS course
0 stars 4 forks source link

manually installing packages #30

Closed alanaroseo closed 6 years ago

alanaroseo commented 6 years ago

Some of the dependencies for tidyverse didn't install, and couldn't be installed individually using install.packages(), I got the following message when I tried: Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘utf8’ These will not be installed

Can I manually install them, and if so, how? Thanks! @ryanpeek @taylorreiter @mikoontz

ryanpeek commented 6 years ago

@alanaroseo , good question! Haven't had something like this in awhile. I have two guesses, but may need to know a bit more about your system first. Are you on a Windows 7 or 10 platform? (I'm assuming yes...). So, first option is unlikely but easier to deal with first, so let's try A, and if that doesn't work, try B.

I hope this solves this issue, but if not, please keep us posted. I'm leaving this issue open until we know things work.

alanaroseo commented 6 years ago

That didn't work, but I figured it out! Since RStudio was sharing a library with R, and my version of R was >3 years old (although RStudio was up to date), not all the tidyverse packages were available. Updating R did the trick, for some reason it is now making me install packages into a personal library, but I can get them to load, so that's not really an issue. Thanks a bunch! @ryanpeek @mikoontz

ryanpeek commented 6 years ago

Aha! Libraries and versions of R can be tricky, so it's always best to try and update the to most recent version. Glad you sorted it out!