[R-SIG-Mac] Problems with playwith package

David Afshartous dafshartous at med.miami.edu
Sat Jul 5 17:10:18 CEST 2008


All,

I've installed the playwith package and the GTK libraries for MacOS as
instructed at playwith.googlecode.com.

However, invoking the playwith function seems to crash R.  Below is an
example for a simple clould plot.  Is there something else I need to do RE
setting up?

Cheers,
David


> sessionInfo()
R version 2.7.1 (2008-06-23)
i386-apple-darwin8.10.1

locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
> 

> library("RGtk2")
> library("cairoDevice")
> library("playwith")
> playwith(  cloud(rnorm(10,0) ~ rnorm(10,0)*rnorm(10,0)))

 *** caught bus error ***
address 0x0, cause 'non-existent physical address'

Traceback:
 1: .Call(name, ..., PACKAGE = PACKAGE)
 2: .RGtkCall("S_gtk_container_add", object, widget, PACKAGE = "RGtk2")
 3: method(obj, ...)
 4: myWin$add(myVBox)
 5: playwith(cloud(rnorm(10, 0) ~ rnorm(10, 0) * rnorm(10, 0)))

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
2008-07-05 11:01:10.324 R[3401] tossing reply message sequence 2 on thread
0x15201a00

(R:3401): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window

(R:3401): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion
`GDK_IS_SCREEN (screen)' failed

(R:3401): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion
`GDK_IS_COLORMAP (colormap)' failed

(R:3401): Gdk-CRITICAL **: gdk_screen_get_default_colormap: assertion
`GDK_IS_SCREEN (screen)' failed

Etc.



More information about the R-SIG-Mac mailing list