From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vicente Vera Subject: Re: R dependencies Date: Wed, 2 Sep 2015 21:53:49 -0300 Message-ID: References: <87613v43kv.fsf@gnu.org> <87a8t64ph1.fsf@elephly.net> <871teh9ddz.fsf_-_@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXImn-0006me-2f for guix-devel@gnu.org; Wed, 02 Sep 2015 20:53:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXImm-0004DP-54 for guix-devel@gnu.org; Wed, 02 Sep 2015 20:53:53 -0400 In-Reply-To: <871teh9ddz.fsf_-_@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel@gnu.org Hello, 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 - I installed ggplot2 through install.packages("ggplot2") in R (Guix packag= e) 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? 2015-09-02 10:09 GMT-03:00 Ludovic Court=C3=A8s : > Ricardo Wurmus skribis: > >> An alternative is to inherit from the =E2=80=9Cr=E2=80=9D package in =E2= =80=9Cstatistics.scm=E2=80=9D. >> >> (define-module (my own packages) >> #:use-module (guix packages) >> #:use-module (gnu packages statistics) >> #:use-module (srfi srfi-1)) >> >> (define-public my-r >> (package (inherit r) >> (name "my-r") >> ;; modify only the inputs here >> (native-inputs (alist-delete "texlive" (package-native-inputs r)= )) >> (inputs (alist-delete "icedtea6" (package-inputs r))))) > > Speaking of which: should we get rid of icedtea6:jdk in the default R > package (closure size: 1 GiB), and maybe of TeX Live (4 GiB)? Or should > we provide, say, =E2=80=98r-light=E2=80=99 with the definition above? > > I=E2=80=99m afraid having these two dependencies by default makes it > prohibitively expensive. > > Ludo=E2=80=99.