Skip to content

Failing to install {rggobi} on win-7 R 2.12.0

7 messages · Tal Galili, Tom La Bone, Yihui Xie +1 more

#
I recall that my problem on Windows was related to having a number of stray
versions of GTK+ installed. I went back and deleted all versions and
reinstalled the latest GTK+ and that seemed to fix things. However, when I
went to do any work of substance ggobi locked up and became unresponsive.
Never did get it working right on Windows. Had much more luck with R/ggobi
on Ubuntu 10.10.

Tom
#
According to my experience, you should NOT download the GTK version
from GGobi's website. That version won't work for R 2.12.0 and rggobi.
So first, remove that version of GTK; then follow the instructions
from library(RGtk2) to download and install the more recent version of
GTK+. Then everything should be fine, except library(rggobi) will
still complain that libxml2.dll is missing. [I don't guarantee the
rest of steps work] You might need to download libxml2
(http://xmlsoft.org/) and manually put its dll's under your PATH (e.g.
the bin directory of GTK+).

Regards,
Yihui
--
Yihui Xie <xieyihui at gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA
On Tue, Jan 25, 2011 at 11:27 AM, Tal Galili <tal.galili at gmail.com> wrote:
#
On Tue, 25 Jan 2011, Tom La Bone wrote:

            
I've just been setting rggobi up for our classroom.  It seems that on 
Windows we now need to use Rgui in SDI mode to run rggobi without 
lookups.  (That was not the case last year, so it might be due to the 
change in GTK+ version or it might be due to the change from XP to x64 
Windows 7 on those machines.)

The rggobi binary on CRAN extras is statically linked against 
everything except GTK+, but the www.ggobi.org ggobi DLL needs both 
GTK+ DLLs and libxml2.dll (which needs iconv.dll and zlib1.dll). 
Late last year there was a problem in that GTK+ and libxml2.dll needed 
different zlib1.dll's, but AFAICS this is now resolved by using 
ftp://ftp.zlatkovic.com/libxml/libxml2-2.7.7.win32.zip and 
ftp://ftp.zlatkovic.com/libxml/iconv-1.9.2.win32.zip.  (Unpack those 
and drop the DLLs into somewhere on your path, e.g. the GTK+ bin 
directory.)

We've had a lot of trouble over zlib1.dll: those prepared from zLib 
1.2.3 and 1.2.5 are incompatible.  The whole point of the '1' in the 
name is to change the name in that case!  I suspect very few of those 
benefitting from Windows binary packages have any idea how much work 
goes into circumventing such issues.
#
Your GTK+ installation is not being found: check your PATH.
On Wed, 26 Jan 2011, Tal Galili wrote: