Failing to install {rggobi} on win-7 R 2.12.0
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.