Re: [Rd] Newbie - how do I debug a crash of RGUI.EXE

From: Martin Morgan <mtmorgan_at_fhcrc.org>
Date: Mon, 16 Feb 2009 13:06:29 -0800

"Sim, Fraser" <Fraser_Sim_at_urmc.rochester.edu> writes:

> Hi-
>
> I'm running Vista64 Business and trying to use a package called
> RGraphViz. Unfortunately, when I try to plot a graph using this package
> it causes RGUI.EXE to crash. This package has no problem working in
> WinXP 32-bit.
>
> Is there any way to get useful information as to why it crashes?
>
> Here's my commands:
>
>> library(Rgraphviz)
> Loading required package: graph
> Loading required package: grid
> Warning message:
> In fun(...) : Rgraphviz built with Graphviz version 2.20.
> Found Graphviz version 2.21.

It might be worth while to match your Graphviz with the one Rgraphviz was built against (2.20) -- the problem is almost certainly at the C level where this could matter.

Duncan Murdoch has hints here

http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR/

If 'newbie' means an inexperienced C programmer then this will be a lot of work. A first step will be to install tools required to build R from source, and to rebuild Rgraphviz from source with flags set to generate debugging information. Again Duncan's pages will come in handy.

Hope that helps.

Martin

>> sessionInfo()
> R version 2.9.0 Under development (unstable) (2009-01-21 r47661)
> i386-pc-mingw32
>
> locale:
> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
> States.1252;LC_MONETARY=English_United
> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
>
> attached base packages:
> [1] grid stats graphics grDevices utils datasets methods
>
> [8] base
>
> other attached packages:
> [1] Rgraphviz_1.21.7 graph_1.21.3
>
> loaded via a namespace (and not attached):
> [1] cluster_1.11.12 tools_2.9.0
>>
>
>
> I then define a graph using the following
>
> G = new("graphNEL", nodes = c("A","B","C"))
> plot(G)
>
> And RUI.exe crashes...
>
> Any help would be most appreciated.
>
> Thanks,
> Fraser
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M2 B169
Phone: (206) 667-2793

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon 16 Feb 2009 - 20:14:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 Feb 2009 - 23:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive