For some reason, cairoDevice has been crashing the Mac for a while. It has
something to do with the rotation of text through Pango. That's all I've
been able to determine. Kind of tough without access to a Mac... but it DID
work once upon a time..

2008/7/15 Felix Andrews <[EMAIL PROTECTED]>:

> Dear Professor Kubovy
>
> I do not have a Mac to test it on, but please try this:
> library(cairoDevice)
> Cairo()
> grid::grid.newpage()
>
> I expect that you will see a similar crash; if so, it would seem to be
> a problem with your GTK+ libraries. I have heard that you need to have
> Apple X11 installed (from MacOS system CDs?) for RGtk2 to work. But I
> am not sure whether that advice is still current.
>
> Hope that helps.
> Felix
>
> On Tue, Jul 15, 2008 at 10:40 PM, Michael Kubovy <[EMAIL PROTECTED]>
> wrote:
> > Dear R-helpers,
> >
> > I tried the playwith packages for the first time, and it crashed R:
> >
> >  > require(playwith)
> > Loading required package: playwith
> > Loading required package: lattice
> > Loading required package: grid
> > Loading required package: gWidgets
> > Loading required package: gWidgetsRGtk2
> > Loading required package: RGtk2
> > Loading required package: cairoDevice
> >
> >  > 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] grid      stats     graphics  grDevices utils     datasets
> > methods   base
> >
> > other attached packages:
> > [1] playwith_0.9-3       cairoDevice_2.8      gWidgetsRGtk2_0.0-35
> > RGtk2_2.12.5-3       gWidgets_0.0-28
> > [6] lattice_0.17-10
> >
> > loaded via a namespace (and not attached):
> > [1] gridBase_0.4-3 tools_2.7.1
> >
> > Making links in per-session dir ... done
> >
> >  > rownames(USArrests) <- state.name
> >  > playwith(plot(Assault ~ UrbanPop, data=USArrests,
> > +   xlab="Percent urban population, 1973",
> > +   ylab="Assault arrests (per 100,000), 1973"))
> >
> >  *** caught bus error ***
> > address 0xa8, cause 'non-existent physical address'
> >
> > Traceback:
> >  1: .Call(L_newpage)
> >  2: grid.newpage()
> >  3: playNewPlot(playState)
> >  4: playwith(plot(Assault ~ UrbanPop, data = USArrests, xlab =
> > "Percent urban population, 1973",     ylab = "Assault arrests (per
> > 100,000), 1973"))
> >
> > Possible actions:
> > 1: abort (with core dump, if enabled)
> > 2: normal R exit
> > 3: exit R without saving workspace
> > 4: exit R saving workspace
> > Selection:
> > Selection: 3
> >
> >  *** caught segfault ***
> > address 0x611912ca, cause 'memory not mapped'
> >
> > Traceback:
> >  1: .Call(L_newpage)
> >  2: grid.newpage()
> >  3: playNewPlot(playState)
> >  4: playwith(plot(Assault ~ UrbanPop, data = USArrests, xlab =
> > "Percent urban population, 1973",     ylab = "Assault arrests (per
> > 100,000), 1973"))
> >
> > Possible actions:
> > 1: abort (with core dump, if enabled)
> > 2: normal R exit
> > 3: exit R without saving workspace
> > 4: exit R saving workspace
> > Selection: 2
> >
> > Mac OS details:
> >   System Version:      Mac OS X 10.5.4 (9E17)
> >   Kernel Version:      Darwin 9.4.0
> >
> >
> >
> > _____________________________
> > Professor Michael Kubovy
> > University of Virginia
> > Department of Psychology
> > USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
> > Parcels:    Room 102        Gilmer Hall
> >         McCormick Road    Charlottesville, VA 22903
> > Office:    B011    +1-434-982-4729
> > Lab:        B019    +1-434-982-4751
> > Fax:        +1-434-982-4766
> > WWW:    
> > http://www.people.virginia.edu/~mk9y/<http://www.people.virginia.edu/%7Emk9y/>
> >
> >
> >
> >
> >
> >        [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@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.
> >
>
>
>
> --
> Felix Andrews / 安福立
> PhD candidate
> Integrated Catchment Assessment and Management Centre
> The Fenner School of Environment and Society
> The Australian National University (Building 48A), ACT 0200
> Beijing Bag, Locked Bag 40, Kingston ACT 2604
> http://www.neurofractal.org/felix/
> 3358 543D AAC6 22C2 D336 80D9 360B 72DD 3E4C F5D8
>
> ______________________________________________
> R-help@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.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to