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.

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to