From ligges at statistik.tu-dortmund.de  Tue Oct 28 10:07:32 2008
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Tue, 28 Oct 2008 10:07:32 +0100
Subject: [Rd] Errors in R CMD check for R 2.8.0
In-Reply-To: <20176033.post@talk.nabble.com>
References: <20150565.post@talk.nabble.com>	<490476A0.2000502@statistik.tu-dortmund.de>
	<20176033.post@talk.nabble.com>
Message-ID: <4906D654.4020709@statistik.tu-dortmund.de>



dxc13 wrote:
> When I type library("tcltk") under R 2.8.0 I get the error message:
> Loading Tcl/Tk interface ...Error in inDL(x, as.logical(local),
> as.logical(now), ...) : 
>   unable to load shared library
> 'C:/PROGRA~1/R/R-28~1.0/library/tcltk/libs/tcltk.dll':
>   LoadLibrary failure:  The specified procedure could not be found.
> 
> Error : .onLoad failed in 'loadNamespace' for 'tcltk'
> Error: package/namespace load failed for 'tcltk'
> 
> I do not get this error when I run R 2.7.0.  When I upgraded to R 2.8.0 I
> just copied my library from 2.7.0 to the library folder of 2.8.0.  Is this
> troublesome?


Yes, it is. You may have overwritten your new tcltk installation by an 
outdated one.

You need to do now:

1. Re-intsall  R (in the same folder as before is fine)
2. run update.package(checkBuilt=TRUE)


Uwe Ligges


> 
> 
> 
> 
> Uwe Ligges-3 wrote:
>>
>>
>> dxc13 wrote:
>>> useR's,
>>>
>>> I get these 2 errors when I run "R CMD check" on my package, and I cannot
>>> figure out how to get around them.  Does anyone have any ideas?  If it is
>>> of
>>> any help, I use Windows XP.
>>> ...
>>> * checking replacement functions .... OK
>>> * checking foreign function calls ... OK
>>> * checking R code for possible problems ... NOTE
>>> Error in inDL(x, as.logical(local), as.logical(now), ...): unable to load
>>> shared library 'c:/Progra~1/R/R-2.8.0/library/tcltk/libs/tcltk.dll':
>>> LoadLibrary failure: The specified procedure could not be found.
>> Do you have tcltk installed at that location? Do you get any message 
>> from Windows? What happens if you type library("tcltk")?
>>
>>> Error: .onLoad failed in 'loadNamespace' for 'tcltk'
>>>
>>> * Checking .Rd files ... OK
>>> ....
>>> * checking data for non-ASCII characters ... OK
>>> * creating kzs-Ex.R ... OK
>>> * checking examples ... ERROR
>>> Running examples in 'kzs-Ex.R' failed.
>> See the log file (kzs-Ex.Rout).
>>
>>
>> Uwe Ligges
>>
>>
>>> I have no idea how to solve the first problem with references the tcltk
>>> package and I do not know why my examples won't run.   Any help is
>>> appreciated.
>>>
>>> dxc13
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
>



[Rd] Errors in R CMD check for R 2.8.0
Uwe Ligges