3

I get the following error when I try to load ggplot2. I tried to uninstall scales and reinstall it but for some reason R can't find the package when I want to remove the package...

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  namespace ‘scales’ 0.2.5 is already loaded, but >= 0.3.0 is required
In addition: Warning message:
package ‘ggplot2’ was built under R version 3.2.3 
Error: package or namespace load failed for ‘ggplot2’
1
  • 6
    Your version of R is outdated. You must upgrade R first. Then you must run update.packages(checkBuilt = TRUE). Commented Feb 5, 2016 at 9:29

1 Answer 1

2

I had the same problem, I just install again ggplot2 and everything worked again. It installed also scales 0.4.2, so it solved the problem by itself.

Sign up to request clarification or add additional context in comments.

1 Comment

Where did you find scales 0.4.2? The latest version on CRAN is 0.4.1.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.