Taking a quick look for it, it seems that they have replaced it with
tcltk2. I just did the installation with the same version in windows
and it auto loaded the tcltk package and I never installed that
package to begin with. I would try it with tcltk2 and see if you get
the package to install appropriately. I'm not sure why tcltk isn't on
CRAN anymore, it makes no sense not to have both tcltk and tcltk2, but
here's hoping this helps you out.
A
On Tue, Jun 14, 2011 at 3:35 PM, Arnaud Mosnier <a.mosnier at gmail.com>
wrote:> Thanks for your help, but I can not reinstall tcltk with this command
> line because "tcltk" is not available on CRAN.
> I have tested it (removed tcltk folder from the R/library then tried
> to reinstall it)
>
> You will have an error message...
>
> Warning message:
> In getDependencies(pkgs, dependencies, available, lib) :
> ?package ?tcltk? is not available (for R version 2.13.0)
>
> Arnaud
>
>
> 2011/6/14 Adrienne Wootten <amwootte at ncsu.edu>:
>> First thing is to delete the old package from your system, you can do
>> this simply by deleting the files associated with the package.
>>
>> Second, you can re-install the package using this command in R
>>
>> install.packages("tcltk",dependencies=TRUE)
>>
>> That should do the trick, but you will probably want to delete the old
>> package first so that R doesn't continue to refer to the package
that
>> doesn't work.
>>
>> Adrienne
>>
>> On Tue, Jun 14, 2011 at 1:39 PM, Arnaud Mosnier <a.mosnier at
gmail.com> wrote:
>>> I agree but how to reinstall the tcltk package ?
>>> You can not download it from CRAN !
>>>
>>>
>>>
>>> 2011/6/14 Adrienne Wootten <amwootte at ncsu.edu>:
>>>> Arnaud,
>>>>
>>>> I've had a similar problem with several packages in R
2.13.0 recently,
>>>> which was more caused because the package installation failed
in the
>>>> new version. ?Judging from the error messages you have up here,
I'd
>>>> guess that it's a similar problem surrounding the package
>>>> installation, specifically that something happened which may
have
>>>> damaged the .dll file.
>>>>
>>>> So to answer your last question, I'd try re-installing the
Tcl/Tk
>>>> package and see if that fixes the problem.
>>>>
>>>> Adrienne
>>>>
>>>> --
>>>> Adrienne Wootten
>>>> Graduate Research Assistant
>>>> State Climate Office of North Carolina
>>>> Department of Marine, Earth and Atmospheric Sciences
>>>> North Carolina State University
>>>>
>>>> On Tue, Jun 14, 2011 at 11:46 AM, Arnaud Mosnier <a.mosnier
at gmail.com> wrote:
>>>>> Dear R users,
>>>>>
>>>>>
>>>>> Since a long time now, I have the following error when I
want to load
>>>>> the tcltk library in R 64 bit.
>>>>>
>>>>>
>>>>> Loading Tcl/Tk interface ...Error : .onLoad failed in
loadNamespace()
>>>>> for 'tcltk', details:
>>>>> ?call: inDL(x, as.logical(local), as.logical(now), ...)
>>>>> ?error: unable to load shared object 'C:/Program
>>>>> Files/R/R-2.13.0/library/tcltk/libs/x64/tcltk.dll':
>>>>> ?LoadLibrary failure: ?This application has failed to start
because
>>>>> the application configuration is incorrect. Reinstalling
the
>>>>> application may fix this problem.
>>>>>
>>>>> Error: package/namespace load failed for 'tcltk'
>>>>>
>>>>>
>>>>> sessionInfo() gives
>>>>>
>>>>> R version 2.13.0 (2011-04-13)
>>>>> Platform: x86_64-pc-mingw32/x64 (64-bit)
>>>>>
>>>>> locale:
>>>>> [1] LC_COLLATE=English_Canada.1252
?LC_CTYPE=English_Canada.1252
>>>>> [3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C
>>>>> [5] LC_TIME=English_Canada.1252
>>>>>
>>>>> attached base packages:
>>>>> [1] stats ? ? graphics ?grDevices utils ? ? datasets
?methods ? base
>>>>>
>>>>> loaded via a namespace (and not attached):
>>>>> [1] tools_2.13.0
>>>>>
>>>>>
>>>>> The problem does not occur with the 32 bit version of R,
thus, it is
>>>>> probably linked to the 64 version of Tcltk...
>>>>>
>>>>> I already tried:
>>>>> - ?to uninstall then reinstall R (changing version too...)
>>>>> - ?install
ActiveTcl8.5.9.2.294317-win32-x86_64-threaded.exe (I also
>>>>> tried installing previous version of ActiveTcl)
>>>>>
>>>>> ... without results !
>>>>>
>>>>> ?"Reinstalling the application may fix this
problem" ?... I agree, but
>>>>> what should I reinstall ?
>>>>>
>>>>> Any suggestions ??
>>>>>
>>>>> Arnaud
>>>>>
>>>>> ______________________________________________
>>>>> R-help at r-project.org mailing list
>>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>>> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
>>>>> and provide commented, minimal, self-contained,
reproducible code.
>>>>>
>>>>
>>>
>>
>>
>>
>> --
>> Adrienne Wootten
>> Graduate Research Assistant
>> State Climate Office of North Carolina
>> Department of Marine, Earth and Atmospheric Sciences
>> North Carolina State University
>>
>
--
Adrienne Wootten
Graduate Research Assistant
State Climate Office of North Carolina
Department of Marine, Earth and Atmospheric Sciences
North Carolina State University