From P.Dalgaard at biostat.ku.dk  Mon Dec 17 16:26:25 2007
From: P.Dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Mon, 17 Dec 2007 16:26:25 +0100
Subject: [Rd] Installation of RGtk2 (PR#10519)
In-Reply-To: <20071217140023.5B3152834170@mail.pubhealth.ku.dk>
References: <20071217140023.5B3152834170@mail.pubhealth.ku.dk>
Message-ID: <47669521.9010000@biostat.ku.dk>

caroline.keef at jbaconsulting.co.uk 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 at 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
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



[Rd] Installation of RGtk2 (PR#10519)
Peter Dalgaard