You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggp...@googlegroups.com
I upgraded to R 3.0.2 and now can't load ggplot2. I get this message:
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called ‘colorspace’ Error: package or namespace load failed for ‘ggplot2’
I tried removing and re-installing the ggplot2 package, to no avail. Suggestions?
Thank you.
Ista Zahn
unread,
Sep 28, 2013, 2:03:22 PM9/28/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tristram Smith, ggplot2
Hi Tristram,
This sounds strange... did you try
install.packages("ggplot2", dependencies=TRUE)
perhaps followed by
upgrade.packages(ask=FALSE, checkBuilt=TRUE)
?
If that doesn't solve it you could install colorspace manually, i.e.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggp...@googlegroups.com, Tristram Smith
I received very useful guidance from Ista and Dennis on re-installing
ggplot2 in 3.0.2. I can now load it. However, it still doesn't seem to
be running properly, and reverting to 3.0.1 didn't fix the problem, so
now I'm stuck again. For example, I have a very simple file called iacc:
I try to create a straightforward Cleveland dot plot:
ggplot(iacc,aes(x=Studies,y=Area))+geom_point()
Then I get the following error message:
in scale$trans$breaks(limits) : lazy-load database 'P' is corrupt
In addition: Warning message:
In scale$trans$breaks(limits) : internal error -3 in R_decompress1
I appreciate any guidance the group can offer.
Tris
Brandon Hurr
unread,
Sep 30, 2013, 7:44:19 AM9/30/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tristram Smith, ggplot2
What's your sessionInfo() after loading ggplot2?
Tristram Smith
unread,
Sep 30, 2013, 7:54:19 AM9/30/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggp...@googlegroups.com, Tristram Smith
Hi Brandon,
Thank you for your quick reply. Here it is:
> library("ggplot2") > sessionInfo() R version 3.0.2 (2013-09-25) Platform: i386-w64-mingw32/i386 (32-bit)
Also, provide a dataset and code to reproduce exactly what is happening on your machine.
B
Tristram Smith
unread,
Sep 30, 2013, 9:14:47 AM9/30/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggp...@googlegroups.com, Tristram Smith
Hi Brandon,
Thank you once more. Yes, I installed R directly from http://cran.r-project.org/bin/windows/base/. I installed ggplot2 from my usual CRAN mirror (UCLA).I get the same error message with every plot I try to make, so, for simplicity, I use as an example a tiny dataset and straightforward code:
I try to create a straightforward Cleveland dot plot:
>ggplot(iacc,aes(x=Studies,y=Area))+geom_point()
Then I get what I agree is a "crazy" error message:
in scale$trans$breaks(limits) : lazy-load database 'P' is corrupt In addition: Warning message: In scale$trans$breaks(limits) : internal error -3 in R_decompress1
I've made my way through the R Cookbook and R Graphics Cookbook, so I can follow recipes but have very limited understanding of the underlying R system. I greatly appreciate your help.
Tris
David Guy
unread,
Sep 30, 2013, 9:23:08 AM9/30/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tristram Smith, ggplot2
Tristram,
Try re-loading ggplot2 from a different CRAN mirror (other than UCLA). It happened to me in the past that changing mirrors solves the problem.
Use chooseCRANmirror() for making a different choice
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to David Guy, Tristram Smith, ggplot2
Also, a quick google search indicates that you might have a corrupt session. Can you load a completely empty session?
If not, start R and then:
rm (list = ls(all=TRUE))
quit()
# Save your "workspace", should be empty now
# Restart R
B
Tristram Smith
unread,
Sep 30, 2013, 7:53:45 PM9/30/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggp...@googlegroups.com, David Guy, Tristram Smith
Thank you very much, everyone! Unfortunately, removing ggplot2 and installing from another CRAN didn't work (I tried Austria and New Zealand), nor did rm (list = ls(all=TRUE)). I also received a suggestion to search for help on LazyLoad (?lazyLoad), which may be the answer if I can figure out how to set the parameters. I'll keep investigating this.
Brandon Hurr
unread,
Oct 1, 2013, 3:15:55 AM10/1/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tristram Smith, ggplot2, David Guy
Hard for me to say... I only run windows rarely and I've never seen these errors.
When's the last time you rebooted?
Did you previously completely uninstall R previously?
When's the last time you started with a fresh install of Windows?
Have you got another machine you can try doing the same things on?
Lastly, you need to probably go to r-help... as far as I can tell this isn't a ggplot-specific problem.
B
Felix Lankester
unread,
Oct 1, 2013, 11:15:36 AM10/1/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggplot2
HI All,
I seem to have 2 small problems:
1. how to get geom_points to appear on all lines on a plot, rather than just the ones from the first line of code (ie nsmeans2)
2. How to include the two dashed lines (ie the lines from nsmeans3) in the legend, with a title for each
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggp...@googlegroups.com, Tristram Smith, David Guy
I am immensely appreciative of all the detailed, helpful guidance I received. As suggested by Brandon and others, the program files on my computer somehow became corrupted. I expunged R and all related files with Revo Installer, permanently deleted them from my computer, downloaded R into a different program file, and then downloaded ggplot2 again. Now both work. Laborious, but I learned a lot. Thank you!
Tris
Tengiz
unread,
Jul 19, 2015, 8:29:23 AM7/19/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggp...@googlegroups.com, tristra...@urmc.rochester.edu
Sorry for intruding: just used Ista's guidance to solve qplot problem - couldn't load until I manually installed colorspace. Many thanks. T.