I attempted install.packages("RMySQL") and it runs for a second and then says:
Error in install.packages : cannot remove prior installation of package ‘DBI’
I did remove.packages("DBI") and it says:
remove.packages("DBI") Removing package from ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library’ (as ‘lib’ is unspecified)
Then I retry install.packages("RMySQL") and it says:
Error in install.packages : cannot remove prior installation of package ‘DBI’
The DBI dependency is not actually getting removed or something. Or possibly I removed it from the wrong area? I'm confused.
DBI? What happens if you tryrequire(DBI)?remove.packages?DBIis attached to your session and probably can't be removed while attached. You may try either restarting your R session with no packages attached, or rundetach("package:DBI", unload=TRUE). Theninstall.packagesshould work.