[R] ggpairs in GGally replaces plotmatrix in ggplot2

Ista Zahn istazahn at gmail.com
Tue Jun 11 23:54:55 CEST 2013

I think the ggpairs equivalent is

ggpairs(dat1, upper=list(continuous="points"), axisLabels="show")

oddly enough.


should default to the same graph as


but there seems to be a conflict between the default
axisLabels="internal" and density plots. Or something. There is a bug
report at https://github.com/ggobi/ggally/issues/18 that may be


On Tue, Jun 11, 2013 at 4:07 PM, Keith S Weintraub <kw1958 at gmail.com> wrote:
> Yes. I was able to run it in RStudio but it did seem much slower than in R.app (on the Mac).
> Note that the "it" that I ran still didn't give the same results as plotmatrix.
> Thanks,
> KW
> --
> On Jun 11, 2013, at 11:16 AM, John Kane <jrkrideau at inbox.com> wrote:
>> Note that the code below might not work in RStudio.  I am gettting an intermittant crash when I use the ggpairs() command in RStudio and sometimes I get a density plot and sometimes not.  Also the command is taking 3-5 minutes to execute.
>> This may just be a peculiarity of my machine but the code works fine and fairly fast in a terminal.
>> John Kane
>> Kingston ON Canada
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list