[Rd] Errors in R CMD check for R 2.8.0

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Oct 28 10:07:32 CET 2008



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
>>
>>
>



More information about the R-devel mailing list