Home Comments Thread
New Thread

5 Comments

giscus-bot giscus-bot 2022-12-16 20:22:57
Guest *Gordon Fox* @ 2011-04-09 19:33:15 originally posted:

Thanks, but either there are still problems or I've failed to read your post correctly. I uninstalled my old versions of ggobi and GTK+ and rggobi. I then opened R, and did an install.package('rggobi'). Just to be sure of everything, I restarted R. library(rggobi) then gets me a message "The application has failed to start because libxml2.dll was not found. . . ." And on the R console, I get

Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/Program Files/R/library/rggobi/libs/i386/rggobi.dll':
LoadLibrary failure: The specified module could not be found.

Error : .onLoad failed in loadNamespace() for 'rggobi', details:
call: fun(...)
error: Could not load the rggobi library - please ensure GGobi is on the library path
Error: package/namespace load failed for 'rggobi'

Any suggestions?

yihui yihui 2022-12-16 20:23:02

Oh... I did not realize GGobi did not write its own path to the PATH variable of the system, which must have introduced your problem. The solution is not difficult -- you just need to put the installation path of GGobi to the PATH variable like this (open a command line window from Start --> Run):

setx path "%PATH%;C:Program Filesggobi"

You need to make sure the path is correct (I guess it should be C:Program Filesggobi for your system). If you don't like the command line or don't understand what is the PATH variable, see here for detailed explanations: http://vlaurie.com/computers2/Articles/environment.htm

Then start R again and try library(rggobi).

Anyway, this problem has been reported to the developers. Thanks a lot!

Originally posted on 2011-04-10 05:04:24

yihui yihui 2022-12-16 20:23:03

Hi, this problem has been fixed. You may uninstall your previous installation and use this one: http://ggobi-documentation.googlecode.com/files/ggobi-2.1.9.exe Thanks!

Originally posted on 2011-04-11 03:43:08

giscus-bot giscus-bot 2022-12-16 20:23:04
Guest *Gordon Fox* @ 2011-04-11 18:41:32 originally posted:

Thanks - it works fine now!

giscus-bot giscus-bot 2022-12-16 20:23:08
Guest *tracy* @ 2015-09-12 17:00:38 originally posted:

i tried this solution and it didn't work. what i did is to copy and paste your command line above into the command line window without doing anything extra in the window and it tells me:

WARNING: the data being saved is truncated to 1024 characters.
SUCCESS: specified value was saved.

btw, i used the current version 2.1.10a, my error message is same as gordon above. i also used the one you suggested which is 2.1.9. it also didn't work. my R is 3.2.2 and windows 7 professional 64 bit machine. I ran the code in Rstudio 0.99.467.

Please advise further. Thanks!

giscus-bot giscus-bot 2022-12-16 20:22:58
Guest *Jan Hapala* @ 2011-06-27 12:07:13 originally posted:

I am struggling with the installation of rggobi. When I enter this command to R:

install.packages('rggobi')

I get this result:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘rggobi’ is not available

I have GGobi 2.1.10 and R 2.12.2 on Windows. R keeps claiming there is no such package should I do anything.

Do you have any suggestions, please?

yihui yihui 2022-12-16 20:23:05

I guess you have to update your R to 2.13.1. The changes I mentioned in the above post were made in R 2.13.

Originally posted on 2011-06-27 22:57:42

giscus-bot giscus-bot 2022-12-16 20:23:06
Guest *Jan Hapala* @ 2011-06-28 09:42:41 originally posted:

Splendid! It works! Thanks! (Also in 2.13.0)
But for some reason it does not work in the 64bit version of R (the same number, i.e. 2.13.0).

giscus-bot giscus-bot 2022-12-16 20:22:59
Guest *Chet Seligman* @ 2011-11-11 03:47:42 originally posted:

I am running the 64-bit version of R 2.13.1 on Windows 7
When I enter: > install.packages('rggobi')
Installing package(s) into ‘C:/Users/cseligman/Documents/R/win-library/2.13’
(as ‘lib’ is unspecified)
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘rggobi’ is not available (for R version 2.13.1)

Then:

library(rggobi)
Error: package 'rggobi' is not installed for 'arch=x64'
In addition: Warning message:
package 'rggobi' was built under R version 2.13.2

The PATH variable contains: C:Program Files (x86)ggobi;

Is it essential that I only use the 32-bit R for ggobbi?

Chet
Is

giscus-bot giscus-bot 2022-12-16 20:23:00
Guest *Chet Seligman* @ 2011-11-11 04:55:31 originally posted:

OK, so I installed the 32 bit R from CRAN. It is version 2.14.1
I then reinstalled rggobi from a downloaded zip file (for the second time) rggobi_2.1.17.zip
Then

library(rggobi)
A popup says" The program can't start because libggobi-0,dll is missing from your computer. Try reinstalling the program to fix the problem.

I tried to no avail.
What's next?

Chet

yihui yihui 2022-12-16 20:23:07

It seems GGobi is not in your PATH variable; try Sys.which('libggobi-0.dll') -- this should give you a full path to GGobi, otherwise I recommend you to reinstall GGobi.

BTW, usually install.pacakges('rggobi') is a better way to install R packages; you do not need to go to CRAN and download the packages manually.

Originally posted on 2011-11-11 08:27:08

giscus-bot giscus-bot 2022-12-16 20:23:01
Guest *naveen* @ 2011-12-10 07:46:10 originally posted:

Thanks for the input. It works great.

Sign in to join the discussion

Sign in with GitHub