Hi, Sure. The error message is this:
X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 5 at size 15 could not be loaded No plot is being drawn; only a blank window appears. The code: ggplot(data = fig1, aes(x = Var1, y = Freq, fill = brewer.pal(length(levels(the_data$VARIABLE1)), "Set3"))) + geom_bar(stat = "identity") + scale_fill_identity() + labs(x = "x", y = "y") + geom_text(aes(label = perc), vjust = 2, size = 4, colour = "black", fontface = "bold") + scale_x_discrete(labels = c("a", "b", "c")) + theme(panel.background = element_blank(), line = element_blank(), axis.text.y = element_blank()) On my base system, R 3.2.1 + ggplot2 draws the plot with no problem. It might be related to a missing font or font alias in the Guix store (not familiar enough with it to catch the issue). Now, I didn't installed ggplot2 through Guix, so that could be a problem. 2015-09-03 3:29 GMT-03:00 Ricardo Wurmus <rek...@elephly.net>: > Hi Vicente, > >> Going back to the R dependencies topic, I ran across an issue when >> trying to draw a plot (with ggplot2). But first some context: >> >> - I'm not using GuixSD but a binary installation over Manjaro OpenRC; >> several base packages missing on Guix >> - I only have other two Guix packages installed: xpdf & abbaye > > All Guix packages capture the complete graph of dependencies, so you’ll > always end up with the dependent packages in ‘/gnu/store’ even if only > those packages appear in your profile that have been explicitly > installed. > >> - I installed ggplot2 through install.packages("ggplot2") in R (Guix package) > > Note that ggplot2 has been packaged for Guix: > > guix package -i r-ggplot2 > >> R complained about some fonts missing, but I think it could be related >> to a missing X11 dependency (complete Xorg maybe?). What could it be? > > What is the exact error message you get? Is any plot drawn at all? > What is the code you use to draw the plot? > > ~~ Ricardo >