From: Vicente Vera <vicentemvp@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org
Subject: Re: R dependencies
Date: Thu, 3 Sep 2015 11:55:22 -0300 [thread overview]
Message-ID: <CAMfbzvDGT1XCwbxmvhZ1=8E2DNzpeWXj2nFyTm2X+9fouY0OMA@mail.gmail.com> (raw)
In-Reply-To: <8737yw3ti0.fsf@elephly.net>
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 <rekado@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
>
next prev parent reply other threads:[~2015-09-03 14:55 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-31 16:42 Installing a custom package on Guix binary setup Vicente Vera
2015-08-31 20:03 ` Thompson, David
2015-08-31 20:15 ` Ludovic Courtès
2015-09-01 2:28 ` Vicente Vera
2015-09-01 6:34 ` Ricardo Wurmus
2015-09-02 13:09 ` R dependencies Ludovic Courtès
2015-09-02 18:41 ` '-light' vs. '-minimal' packages Alex Kost
2015-09-02 19:26 ` Mathieu Lirzin
2015-09-02 20:18 ` Ludovic Courtès
2015-09-03 8:32 ` Alex Kost
2015-09-03 21:11 ` Ludovic Courtès
2015-09-04 12:59 ` Alex Kost
2015-09-05 20:29 ` Ludovic Courtès
2015-09-03 0:53 ` R dependencies Vicente Vera
2015-09-03 6:29 ` Ricardo Wurmus
2015-09-03 14:55 ` Vicente Vera [this message]
2015-09-11 14:39 ` Vicente Vera
2015-09-03 10:12 ` [PATCH] " Ricardo Wurmus
2015-09-03 21:44 ` Ludovic Courtès
2015-09-05 20:20 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAMfbzvDGT1XCwbxmvhZ1=8E2DNzpeWXj2nFyTm2X+9fouY0OMA@mail.gmail.com' \
--to=vicentemvp@gmail.com \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).