bug in ggobi_display_save_picture() for scatterplot matrix

14 views
Skip to first unread message

Stéphane Laurent

unread,
Dec 12, 2013, 2:23:35 PM12/12/13
to gg...@googlegroups.com, lawrence...@gene.com, h.wi...@gmail.com
Hello, 

  ggobi_display_save_picture(..., plot.only=TRUE) does not work for a scatterplot matrix.

There's a programming error here:

  if (inherits(displ, "GGobiScatmatDisplay")) 
    display_widget1 <- display_widget[[2]][[1]]
  display_widget2 <- display_widget[[2]][[3]][["widget"]]

It should be replaced with:

  if (inherits(displ, "GGobiScatmatDisplay")) 
    display_widget1 <- display_widget[[2]][[1]]
  else display_widget2 <- display_widget[[2]][[3]][["widget"]]

Yihui Xie

unread,
Dec 12, 2013, 2:36:15 PM12/12/13
to Stéphane Laurent, gg...@googlegroups.com, Michael Lawrence, Hadley Wickham
Thanks! Could you send a Github pull request for it?
https://github.com/ggobi/rggobi/

Regards,
Yihui
--
Yihui Xie <xiey...@gmail.com>
Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA

Stéphane Laurent

unread,
Dec 12, 2013, 2:45:06 PM12/12/13
to gg...@googlegroups.com, Michael Lawrence, Hadley Wickham
Hi Yihui. Ok, done. 
Reply all
Reply to author
Forward
0 new messages