Thanks for the help! I found out that it was a problem with the search path
for R. Reinstalling R seems to have solved the problem. Sorry for bothering
you before having tested that.

Sofia

-----Ursprungligt meddelande-----
Från: Peter Dalgaard [mailto:[EMAIL PROTECTED] 
Skickat: den 18 april 2007 16:11
Till: Prof Brian Ripley
Kopia: Sofia Wikström; r-help@stat.math.ethz.ch
Ämne: Re: [R] Tcltk

Prof Brian Ripley wrote:
> Sorry, but this works under all the circumstances I tried on my Vista 
> system, so there is nothing I can do to debug it.
>
You (i.e. Sofia) could do some investigation yourself. It may prove 
informative if you search for init.tcl and check whether it is readable 
(for you as ordinary user). It is supposed to be a plain text file, so 
notepad/wordpad can read it.

    -p

> On Tue, 17 Apr 2007, Prof Brian Ripley wrote:
>
>> I suspect tcl's own version of 'access', but can you please confirm 
>> that this still happens under 'Run as Administrator', assuming 
>> 'C:\Program' is a system area in Swedish Windows Vista?
>>
>> I will be able to take a closer look, but not before 2.5.0 (which is 
>> in code freeze and I have limited acccess to a Vista machine).
>>
>> On Tue, 17 Apr 2007, Sofia Wikström wrote:
>>
>>> I have problems with Tcl/Tk in R 2.4.1, when running it on Windows 
>>> Vista
>>> (see error message below).
>>>
>>> Regards, Sofia
>>>
>>>> library(tcltk)
>>> Loading Tcl/Tk interface ... Error in fun(...) : Can't find a usable
>>> init.tcl in the following directories:
>>>    {C:\Program\R\R-2.4.1/Tcl/lib/tcl8.4}
>>> {C:\Program\R\R-2.4.1/Tcl/lib/tcl8.4} 
>>> C:/Program/R/R-2.4.1/Tcl/lib/tcl8.4
>>> C:/Program/R/R-2.4.1/Tcl/lib/tcl8.4
>>>
>>>
>>> This probably means that Tcl wasn't installed properly.
>>> Error: .onLoad failed in 'loadNamespace' for 'tcltk'
>>> Error: package/namespace load failed for 'tcltk'
>>>
>>> _________________________
>>> Sofia Wikström, PhD
>>> AquaBiota Water Research
>>> Svante Arrhenius väg 21A, SE-104 05 Stockholm, Sweden
>>> Phone: (+46) 8 16 10 07
>>> [EMAIL PROTECTED]
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.
>

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to