X-Received: by 10.50.11.196 with SMTP id s4mr7271817igb.9.1356279480771;
Sun, 23 Dec 2012 08:18:00 -0800 (PST)
X-BeenThere: ggplot2-/***@public.gmane.org
Received: by 10.50.76.202 with SMTP id m10ls4813671igw.26.gmail; Sun, 23 Dec
2012 08:17:57 -0800 (PST)
X-Received: by 10.42.41.9 with SMTP id n9mr14840137ice.29.1356279477849;
Sun, 23 Dec 2012 08:17:57 -0800 (PST)
X-Received: by 10.42.41.9 with SMTP id n9mr14840136ice.29.1356279477840;
Sun, 23 Dec 2012 08:17:57 -0800 (PST)
Received: from mail-ob0-f179.google.com (mail-ob0-f179.google.com [209.85.214.179])
by gmr-mx.google.com with ESMTPS id vb13si1416947igb.2.2012.12.23.08.17.57
(version=TLSv1/SSLv3 cipher=OTHER);
Sun, 23 Dec 2012 08:17:57 -0800 (PST)
Received-SPF: pass (google.com: domain of juliet.hannah-***@public.gmane.org designates 209.85.214.179 as permitted sender) client-ip=209.85.214.179;
Received: by mail-ob0-f179.google.com with SMTP id x4so6056487obh.38
for <ggplot2-/***@public.gmane.org>; Sun, 23 Dec 2012 08:17:57 -0800 (PST)
Received: by 10.182.3.144 with SMTP id c16mr16165538obc.42.1356279477562; Sun,
23 Dec 2012 08:17:57 -0800 (PST)
Received: by 10.76.130.235 with HTTP; Sun, 23 Dec 2012 08:17:57 -0800 (PST)
In-Reply-To: <CADv2QyFn6MtoOJr+BycW=0tqa0e7f7AwioPZk35iu4HTS5znBA-JsoAwUIsXosN+***@public.gmane.org>
X-Original-Sender: juliet.hannah-***@public.gmane.org
X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com:
domain of juliet.hannah-***@public.gmane.org designates 209.85.214.179 as permitted
sender) smtp.mail=juliet.hannah-***@public.gmane.org; dkim=pass header.i=@gmail.com
Precedence: list
Mailing-list: list ggplot2-/***@public.gmane.org; contact ggplot2+owners-/***@public.gmane.org
List-ID: <ggplot2.googlegroups.com>
X-Google-Group-Id: 604545605438
List-Post: <http://groups.google.com/group/ggplot2/post?hl=en>, <mailto:ggplot2-/***@public.gmane.org>
List-Help: <http://groups.google.com/support/?hl=en>, <mailto:ggplot2+help-/***@public.gmane.org>
List-Archive: <http://groups.google.com/group/ggplot2?hl=en>
Sender: ggplot2-/***@public.gmane.org
List-Subscribe: <http://groups.google.com/group/ggplot2/subscribe?hl=en>, <mailto:ggplot2+subscribe-/***@public.gmane.org>
List-Unsubscribe: <http://groups.google.com/group/ggplot2/subscribe?hl=en>, <mailto:googlegroups-manage+604545605438+unsubscribe-/***@public.gmane.org>
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.r.ggplot2/6693>
All,
Any suggestions on where I'm going wrong ?
qplot(mpg / 100, wt, data = mtcars, facets = vs ~ am) +
theme(panel.margin = unit(1, "cm"))
Error in theme(panel.margin = unit(1, "cm")) :
could not find function "unit"
sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ggplot2_0.9.3
loaded via a namespace (and not attached):
[1] colorspace_1.1-1 dichromat_1.2-4 digest_0.5.2
grid_2.15.2 gtable_0.1.2 labeling_0.1 MASS_7.3-22
munsell_0.4 plyr_1.8
[10] proto_0.3-9.2 RColorBrewer_1.0-5 reshape2_1.2.1
scales_0.2.3 stringr_0.6.1
qplot(mpg / 100, wt, data = mtcars, facets = vs ~ am) +
theme(panel.margin = unit(1, "cm"))