Re: [Rd] Installation of RGtk2 (PR#10519)

2007-12-17 Thread Duncan Murdoch
This isn't an R bug.  You should send contributed package problems to 
the package maintainer, in this case Michael Lawrence.

You need to install GTK; it's not included as part of the package.  See 
this page for instructions:

http://www.ggobi.org/rgtk2/

It would probably be a good idea for the R package to recognize this 
omission and print more helpful error messages, but setting that up is 
tricky.  Michael, if you want help, please contact me offline.

Duncan Murdoch

On 12/17/2007 9:00 AM, [EMAIL PROTECTED] wrote:
 Full_Name: Caroline Keef
 Version: 2.6.1
 OS: Windows XP
 Submission from: (NULL) (195.171.203.131)
 
 
 I have tried to install the package rggobi which if I'm right requires the
 package RGtk2 
 If I install RGtk2 using the install.packages (I used the UK (Bristol) 
 mirror, I
 haven't tried any other mirror) within R and then use library(RGtk2) I get the
 following message box
 
 This application has failed to start because libtak-1.0-0.dll was not found. 
 Re-installing the application may fix this problem.
 
 I click ok and the following is printed to the R console.
 
 Error in dyn.load(file, ...) : 
   unable to load shared library
 'C:/PROGRA~1/R/R-26~1.1/library/RGtk2/libs/RGtk2.dll':
   LoadLibrary failure:  The specified module could not be found.
 
 
 [1] PLEASE RESTART R BEFORE TRYING TO LOAD THE PACKAGE AGAIN
 Error in .C(R_gtkInit, length(args), x = args, PACKAGE = RGtk2) : 
   C symbol name R_gtkInit not in DLL for package RGtk2
 In addition: Warning message:
 In fun(...) :
   Failed to load RGtk2 dynamic library:Error in dyn.load(file, ...) : 
   unable to load shared library
 'C:/PROGRA~1/R/R-26~1.1/library/RGtk2/libs/RGtk2.dll':
   LoadLibrary failure:  The specified module could not be found.
 
 
 Error : .onLoad failed in 'loadNamespace' for 'RGtk2'
 Error: package/namespace load failed for 'RGtk2'
 
 I've re-started R again and the same happened.  I've also tried downloading 
 the
 RGtk2 zip files from the CRAN website and installing from a local zip file
 option which gave the same results.  I haven't tried re-installing R to get
 around this problem.
 
 __
 R-devel@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-devel

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Installation of RGtk2 (PR#10519)

2007-12-17 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote:
 Full_Name: Caroline Keef
 Version: 2.6.1
 OS: Windows XP
 Submission from: (NULL) (195.171.203.131)


 I have tried to install the package rggobi which if I'm right requires the
 package RGtk2 
 If I install RGtk2 using the install.packages (I used the UK (Bristol) 
 mirror, I
 haven't tried any other mirror) within R and then use library(RGtk2) I get the
 following message box

 This application has failed to start because libtak-1.0-0.dll was not found. 
 Re-installing the application may fix this problem.

 I click ok and the following is printed to the R console.

 Error in dyn.load(file, ...) : 
   unable to load shared library
 'C:/PROGRA~1/R/R-26~1.1/library/RGtk2/libs/RGtk2.dll':
   LoadLibrary failure:  The specified module could not be found.


 [1] PLEASE RESTART R BEFORE TRYING TO LOAD THE PACKAGE AGAIN
 Error in .C(R_gtkInit, length(args), x = args, PACKAGE = RGtk2) : 
   C symbol name R_gtkInit not in DLL for package RGtk2
 In addition: Warning message:
 In fun(...) :
   Failed to load RGtk2 dynamic library:Error in dyn.load(file, ...) : 
   unable to load shared library
 'C:/PROGRA~1/R/R-26~1.1/library/RGtk2/libs/RGtk2.dll':
   LoadLibrary failure:  The specified module could not be found.


 Error : .onLoad failed in 'loadNamespace' for 'RGtk2'
 Error: package/namespace load failed for 'RGtk2'

 I've re-started R again and the same happened.  I've also tried downloading 
 the
 RGtk2 zip files from the CRAN website and installing from a local zip file
 option which gave the same results.  I haven't tried re-installing R to get
 around this problem.

 __
 R-devel@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-devel
   
This is a package problem, not an issue in R itself, hence you should
not use the bug report interface.

However, the error indicates reliance on an external library, which you
presumably haven't got, so retrying is not going to help anything. You
probably need to go to http://www.ggobi.org/rgtk2/ and follow the
instructions that start with If you're on Windows...

-- 
   O__   Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark  Ph:  (+45) 35327918
~~ - ([EMAIL PROTECTED])  FAX: (+45) 35327907

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Installation of RGtk2 (PR#10519)

2007-12-17 Thread ripley
This is not a bug, and not appropriate to R-bugs as it is about a 
contributed package.

From http://cran.r-project.org/bin/windows/contrib/2.6/ReadMe you will see

   Package RGtk2 requires an installed version of Gtk2 with version
   number = 2.10.11.

Now, so does GGobi and hence rggobi.  'Installed' includes ensuring they 
are on your path, so if GGobi works I would expect RGtk2 to.


On Mon, 17 Dec 2007, [EMAIL PROTECTED] wrote:

 Full_Name: Caroline Keef
 Version: 2.6.1
 OS: Windows XP
 Submission from: (NULL) (195.171.203.131)


 I have tried to install the package rggobi which if I'm right requires the
 package RGtk2
 If I install RGtk2 using the install.packages (I used the UK (Bristol) 
 mirror, I
 haven't tried any other mirror) within R and then use library(RGtk2) I get the
 following message box

 This application has failed to start because libtak-1.0-0.dll was not found.
 Re-installing the application may fix this problem.

 I click ok and the following is printed to the R console.

 Error in dyn.load(file, ...) :
  unable to load shared library
 'C:/PROGRA~1/R/R-26~1.1/library/RGtk2/libs/RGtk2.dll':
  LoadLibrary failure:  The specified module could not be found.


 [1] PLEASE RESTART R BEFORE TRYING TO LOAD THE PACKAGE AGAIN
 Error in .C(R_gtkInit, length(args), x = args, PACKAGE = RGtk2) :
  C symbol name R_gtkInit not in DLL for package RGtk2
 In addition: Warning message:
 In fun(...) :
  Failed to load RGtk2 dynamic library:Error in dyn.load(file, ...) :
  unable to load shared library
 'C:/PROGRA~1/R/R-26~1.1/library/RGtk2/libs/RGtk2.dll':
  LoadLibrary failure:  The specified module could not be found.


 Error : .onLoad failed in 'loadNamespace' for 'RGtk2'
 Error: package/namespace load failed for 'RGtk2'

 I've re-started R again and the same happened.  I've also tried downloading 
 the
 RGtk2 zip files from the CRAN website and installing from a local zip file
 option which gave the same results.  I haven't tried re-installing R to get
 around this problem.

 __
 R-devel@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-devel


-- 
Brian D. Ripley,  [EMAIL PROTECTED]
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-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel