aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/statistics.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-08-31 15:36:40 +0200
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-09-03 14:31:51 +0200
commitd11b808f4a456e6b09096742b21d58a317b73b84 (patch)
tree039ff7d1e42a6d7b65debddbda0d7476d6553449 /gnu/packages/statistics.scm
parenta11ee478a684e7a18f1a3eb51e3164645129af75 (diff)
downloadpatches-d11b808f4a456e6b09096742b21d58a317b73b84.tar
patches-d11b808f4a456e6b09096742b21d58a317b73b84.tar.gz
gnu: Add r-ggplot2.
* gnu/packages/statistics.scm (r-ggplot2): New variable.
Diffstat (limited to 'gnu/packages/statistics.scm')
-rw-r--r--gnu/packages/statistics.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index b10ebdccd4..b84c48dde9 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -456,3 +456,33 @@ using just two functions: melt and dcast (or acast).")
provides methods for automatically determining breaks and labels for axes and
legends.")
(license license:expat)))
+
+(define-public r-ggplot2
+ (package
+ (name "r-ggplot2")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cran/src/contrib/ggplot2_"
+ version ".tar.gz"))
+ (sha256
+ (base32 "0794kjqi3lrxb33lr1mykd58959hlgkhdn259vj8fxrh65mqw920"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-digest" ,r-digest)
+ ("r-gtable" ,r-gtable)
+ ("r-plyr" ,r-plyr)
+ ("r-proto" ,r-proto)
+ ("r-reshape2" ,r-reshape2)
+ ("r-scales" ,r-scales)))
+ (home-page "http://ggplot2.org")
+ (synopsis "An implementation of the grammar of graphics")
+ (description
+ "Ggplot2 is an implementation of the grammar of graphics in R. It
+combines the advantages of both base and lattice graphics: conditioning and
+shared axes are handled automatically, and you can still build up a plot step
+by step from multiple data sources. It also implements a sophisticated
+multidimensional conditioning system and a consistent interface to map data to
+aesthetic attributes.")
+ (license license:gpl2+)))