From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Woodcroft Subject: [PATCH] ggplot2: fix ggsave('a.svg'). Date: Tue, 5 Jul 2016 21:06:32 +0800 Message-ID: <20160705130635.668-1-donttrustben@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKQ5f-0000aP-Aa for guix-devel@gnu.org; Tue, 05 Jul 2016 09:08:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKQ5b-0001Id-27 for guix-devel@gnu.org; Tue, 05 Jul 2016 09:08:38 -0400 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]:33381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKQ5a-0001IS-Rb for guix-devel@gnu.org; Tue, 05 Jul 2016 09:08:34 -0400 Received: by mail-pa0-x236.google.com with SMTP id b13so67494760pat.0 for ; Tue, 05 Jul 2016 06:08:34 -0700 (PDT) Received: from u.gateway (CPE-120-145-15-70.lnse2.wel.bigpond.net.au. [120.145.15.70]) by smtp.googlemail.com with ESMTPSA id qc16sm5542769pab.1.2016.07.05.06.08.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Jul 2016 06:08:32 -0700 (PDT) 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" To: guix-devel@gnu.org Hi all, Beforehand, trying to save an SVG file from a plot generated with ggplot did not work. 'r-svglite' is only a listed as a suggested dependency for gpglot2, but given that saving SVGs is reasonably central (at least for me), then I think we should propagate it. Test code: $ R > library(ggplot2) > qplot(x=c(1,2,3),y=c(3,4,6)) > ggsave('/tmp/a.svg') Saving 6.99 x 7 in image Thanks, ben