From ggrothendieck at gmail.com  Tue Oct 28 12:12:25 2008
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Tue, 28 Oct 2008 07:12:25 -0400
Subject: [Rd] Errors in R CMD check for R 2.8.0
In-Reply-To: <4906D654.4020709@statistik.tu-dortmund.de>
References: <20150565.post@talk.nabble.com>
	<490476A0.2000502@statistik.tu-dortmund.de>
	<20176033.post@talk.nabble.com>
	<4906D654.4020709@statistik.tu-dortmund.de>
Message-ID: <971536df0810280412v635aa4f1u83cc820a7650572b@mail.gmail.com>

You could go to \Users\JoeDoe\Documents\R\win-library and rename
2.8 to 2.8x, say, reinstall R, grab movedir.bat from
http://batchfiles.googlecode.com
placing it in \Users\JoeDoe\Documents\R\win-library (or anywhere on
your path) and then check that it created a
\Users\JoeDoe\Documents\R\win-library\2.8
and run this in the Windows console

   cd \Users\JoeDoe\Documents\R\win-library
   movedir 2.8x 2.8

Then start R and choose Packages | Update

movedir.bat is a small batch file (with no dependencies) that can be used to
move your packages from one library to another with the safety feature that
it will not overwrite packages that are already in the target library.

On Tue, Oct 28, 2008 at 5:07 AM, Uwe Ligges
<ligges at statistik.tu-dortmund.de> wrote:
>
>
> 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
>>>
>>>
>>
>
> ______________________________________________
> 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
Gabor Grothendieck