1

使用 Ggobi 创建多个图形时,始终只有一个当前显示(由用户通过单击此图形选择)。使用包的ggobi_display_save_picture()功能,rggobi必须指定我们要保存的绘图的编号。但是有没有办法在不知道其编号的情况下保存当前显示?

4

1 回答 1

0

Try this for the ggobi display with the largest number:

ggobi_display_save_picture(display=displays(ggobi_get(ggobi_count())[[1]])

Substitute an integer value for ggobi_count() if you want a different one. See:

?rggobi::ggobi_display_save_picture
?rggobi::ggobi_get
于 2013-11-29T15:59:04.933 回答