An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110125/7069b4c5/attachment.pl>
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
View this message in context: http://r.789695.n4.nabble.com/Failing-to-install-rggobi-on-win-7-R-2-12-0-tp3236602p3237166.html Sent from the R help mailing list archive at Nabble.com.
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:
Greetings all, I am failing to install the package rggobi on windows 7 with R 2.12.0. On R 2.11.1, the package was installed fine. I asked for help on the rggobi google group 4 days ago, and didn't receive any help, so I was wondering if someone here might have a suggestion. Here are the details: ----------------------------------- I am having a similar (bot not exact) problem as Tom had here: http://groups.google.com/group/ggobi/browse_thread/thread/67b7260d074d710c I downloaded and installed all components. (GTK was placed in d:\\GTK) When I try to load the rggobi library (library(rggobi) it offers me to install GTK+ because it can't find the dll (even that all of the dll it is looking for are present in the path environment Sys.getenv("PATH") Sys.getenv("GTK_BASEPATH") ) When answering "no" to the installation of GTK, I get the following error in a popping window: "the procedure entry point g_malloc_n could not be located in the dynamic link library libglic-2.0-0.dll" I then get the following errors in the R console: "Loading required package: rggobi Error in library.dynam("RGtk2", pkgname, libname) : ?DLL 'RGtk2' not found: maybe not installed for this architecture? Failed to load RGtk2 dynamic library, attempting to install it. Learn more about GTK+ at http://www.gtk.org If the package still does not load, please ensure that GTK+ is installed and that it is on your PATH environment variable IN ANY CASE, RESTART R BEFORE TRYING TO LOAD THE PACKAGE AGAIN Error in inDL(x, as.logical(local), as.logical(now), ...) : ?unable to load shared object 'd:/Program Files/R/library/rggobi/libs/ i386/rggobi.dll': ?LoadLibrary failure: ?The specified procedure could not be found. " I also tried running R as "an administrator", but it didn't fix the problem (only added another error popup window with the massage: "the procedure entry point cairo_glyph_allocate could not be located in the dynamic link library libcairo-2.dll") Here is my sessionInfo:
sessionInfo()
R version 2.12.0 (2010-10-15) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=Hebrew_Israel.1255 ?LC_CTYPE=Hebrew_Israel.1255 [3] LC_MONETARY=Hebrew_Israel.1255 LC_NUMERIC=C [5] LC_TIME=Hebrew_Israel.1255 attached base packages: [1] stats ? ? graphics ?grDevices utils ? ? datasets ?methods base
Thank you for any advice. Best, Tal ----------------Contact Details:------------------------------------------------------- Contact me: Tal.Galili at gmail.com | ?972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---------------------------------------------------------------------------------------------- ? ? ? ?[[alternative HTML version deleted]]
______________________________________________ R-help at 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.
On Tue, 25 Jan 2011, Tom La Bone wrote:
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.
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.
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110126/26f545c0/attachment.pl>
Your GTK+ installation is not being found: check your PATH.
On Wed, 26 Jan 2011, Tal Galili wrote:
Hello?Prof Brian Ripley, Yihui and Tom,
Thank you for your suggestions. ?It seemed to have made some differences in
the error massages - but rggobi still fails to load.
Steps taken:
1) I removed the old GTK (through the uninstall interface)
2) I ran??library(RGtk2) which downloaded the new GTK-runtime
version?2.22.0-2010-10-21 (instead of the one I got from ggobi, which
was?2.12.9-2).
3) I downloaded both
ftp://ftp.zlatkovic.com/libxml/libxml2-2.7.7.win32.zip and?
ftp://ftp.zlatkovic.com/libxml/iconv-1.9.2.win32.zip
Unzipped them, and moved their dll's (from their bin directory), into -?
C:\Program Files (x86)\GTK2-Runtime\bin
4) I then tried starting rggobi:??library(rggobi) ?and got the following
error massages:
Error 1:
the program can't start because?
libgdk-win32-2.0-0.dll
is missing from your computer.
Try reinstalling the program to fix this problem.
It then tried to reinstall GTK, and after I refused to, it sent the second
Error massage:
the program can't start because?
libfreetype-6.dll
is missing from your computer.
Try reinstalling the program to fix this problem.
Any suggestions what else I should try?
Many thanks for helping,
Tal
----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili at gmail.com |? 972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
---------------------------------------------------------------------------
-------------------
On Wed, Jan 26, 2011 at 9:17 AM, Prof Brian Ripley <ripley at stats.ox.ac.uk>
wrote:
On Tue, 25 Jan 2011, Tom La Bone wrote:
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.
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.
--
Brian D. Ripley, ? ? ? ? ? ? ? ? ?ripley at stats.ox.ac.uk
Professor of Applied Statistics, ?http://www.stats.ox.ac.uk/~ripley/
University of Oxford, ? ? ? ? ? ? Tel: ?+44 1865 272861 (self)
1 South Parks Road, ? ? ? ? ? ? ? ? ? ? +44 1865 272866 (PA)
Oxford OX1 3TG, UK ? ? ? ? ? ? ? ?Fax: ?+44 1865 272595
______________________________________________ R-help at 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.
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110126/62a56390/attachment.pl>