Re: [R] Failing to install {rggobi} on win-7 R 2.12.0
I also had issues installing the rggobi package into R (v 2.14, 32 bit on Vista 64) . I believe the problem rests in the install script. It has minor typos. I did manage to find an install script that did work. Try pasting this into R. source(http://www.ggobi.org/downloads/install.r;) Here is the reference page I found it on, for more background on it: http://datamining.togaware.com/survivor/Installation_Details.html Hope this helps. -- View this message in context: http://r.789695.n4.nabble.com/Failing-to-install-rggobi-on-win-7-R-2-12-0-tp3236602p4649909.html Sent from the R help mailing list archive at Nabble.com. __ 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.
Re: [R] Failing to install {rggobi} on win-7 R 2.12.0
Dear Prof Brian Ripley and others, After (finally) checking again, I found that ggobi doesn't work with the newer GTK (probably needed for R 2.12.0). Here is the results of my experimentations: *What works:* Installing ggobi and the GTK (version 2.12.9) provided on: http://www.ggobi.org/downloads/ Will *work* with R 2.11.1 + rggobi (version 2.1.14) (notice that the newest version 2.1.16, is not available for windows users. And the newer version 2.1.16-3 is not available on CRAN: http://cran.r-project.org/web/packages/rggobi/index.html) *What doesn't work:* Trying this with R 2.12.0 with rggobi (version 2.1.16-3), will *crash* with the error: the procedure entry point g_malloc_n could not be located in the dynamic link library libglic-2.0-0.dll When then trying to install gtk+ from the dialog box offered, then it downloads GTK (version 2.22.0 instead of 2.12.9) from here: http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.22.0-2010-10-21-ash.exe?download ' After doing this, ggobi (not rggobi) itself, won't run. It will crash with the error: the procedure entry point g_assertion_message_error could not be located in the dynamic link library libglib-2.0-0.dll Trying then to insert the dll's from the packages Prof Brian Ripley suggested (libxml2.dll and iconv.dll) won't fix the problem. Also using the libglib-2.0-0.dll from the old GTK package won't help. Also, reinstalling ggobi won't work. Any suggestions on how to make ggobi work with the newer version of GTK ? Thanks, Tal Contact Details:--- Contact me: tal.gal...@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 4:50 PM, Tal Galili tal.gal...@gmail.com wrote: I checked it using: Sys.getenv(PATH) And the output includes the PATH to the GTK2 installation (it's the last item in the following list): C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Common Files\\Ulead Systems\\MPEG;C:\\Program Files\\TortoiseGit\\bin;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\Program Files (x86)\\ggobi;C:\\Program Files (x86)\\GTK2-Runtime\\bin What else might I try? (Thanks) Contact Details:--- Contact me: tal.gal...@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 4:23 PM, Prof Brian Ripley rip...@stats.ox.ac.ukwrote: 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.gal...@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 rip...@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
Re: [R] Failing to install {rggobi} on win-7 R 2.12.0
Hi Tal, Thanks for working through this. GGobi needs to be rebuilt for the new version of GTK+. I'm probably the person to do that, but my time is short these days. I'll try to get to it soon. The new binary will just include the necessary DLLs, so that this GTK+ installation step is unnecessary. Michael On Sat, Feb 5, 2011 at 2:57 AM, Tal Galili tal.gal...@gmail.com wrote: Dear Prof Brian Ripley and others, After (finally) checking again, I found that ggobi doesn't work with the newer GTK (probably needed for R 2.12.0). Here is the results of my experimentations: *What works:* Installing ggobi and the GTK (version 2.12.9) provided on: http://www.ggobi.org/downloads/ Will *work* with R 2.11.1 + rggobi (version 2.1.14) (notice that the newest version 2.1.16, is not available for windows users. And the newer version 2.1.16-3 is not available on CRAN: http://cran.r-project.org/web/packages/rggobi/index.html) *What doesn't work:* Trying this with R 2.12.0 with rggobi (version 2.1.16-3), will *crash* with the error: the procedure entry point g_malloc_n could not be located in the dynamic link library libglic-2.0-0.dll When then trying to install gtk+ from the dialog box offered, then it downloads GTK (version 2.22.0 instead of 2.12.9) from here: http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.22.0-2010-10-21-ash.exe?download ' After doing this, ggobi (not rggobi) itself, won't run. It will crash with the error: the procedure entry point g_assertion_message_error could not be located in the dynamic link library libglib-2.0-0.dll Trying then to insert the dll's from the packages Prof Brian Ripley suggested (libxml2.dll and iconv.dll) won't fix the problem. Also using the libglib-2.0-0.dll from the old GTK package won't help. Also, reinstalling ggobi won't work. Any suggestions on how to make ggobi work with the newer version of GTK ? Thanks, Tal Contact Details:--- Contact me: tal.gal...@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 4:50 PM, Tal Galili tal.gal...@gmail.com wrote: I checked it using: Sys.getenv(PATH) And the output includes the PATH to the GTK2 installation (it's the last item in the following list): C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Common Files\\Ulead Systems\\MPEG;C:\\Program Files\\TortoiseGit\\bin;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\Program Files (x86)\\ggobi;C:\\Program Files (x86)\\GTK2-Runtime\\bin What else might I try? (Thanks) Contact Details:--- Contact me: tal.gal...@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 4:23 PM, Prof Brian Ripley rip...@stats.ox.ac.ukwrote: 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.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English)
Re: [R] Failing to install {rggobi} on win-7 R 2.12.0
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.gal...@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 rip...@stats.ox.ac.ukwrote: 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, rip...@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, UKFax: +44 1865 272595 __ 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.
Re: [R] Failing to install {rggobi} on win-7 R 2.12.0
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.gal...@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 rip...@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, rip...@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@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, rip...@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, UKFax: +44 1865 272595__ 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.
Re: [R] Failing to install {rggobi} on win-7 R 2.12.0
I checked it using: Sys.getenv(PATH) And the output includes the PATH to the GTK2 installation (it's the last item in the following list): C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Common Files\\Ulead Systems\\MPEG;C:\\Program Files\\TortoiseGit\\bin;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;C:\\Program Files (x86)\\ggobi;C:\\Program Files (x86)\\GTK2-Runtime\\bin What else might I try? (Thanks) Contact Details:--- Contact me: tal.gal...@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 4:23 PM, Prof Brian Ripley rip...@stats.ox.ac.ukwrote: 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.gal...@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 rip...@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, rip...@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, UKFax: +44 1865 272595 __ 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,
[R] Failing to install {rggobi} on win-7 R 2.12.0
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.gal...@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@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.
Re: [R] 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 xieyi...@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.gal...@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.gal...@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@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. __ 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.
Re: [R] Failing to install {rggobi} on win-7 R 2.12.0
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. __ 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.
Re: [R] Failing to install {rggobi} on win-7 R 2.12.0
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, rip...@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, UKFax: +44 1865 272595 __ 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.