[R] Problem with loading tkrplot

Duncan Murdoch murdoch at stats.uwo.ca
Fri Jan 19 03:09:20 CET 2007


On 1/18/2007 8:57 PM, jim holtman wrote:
> I asked the maintainer and he indicated that it might be a dll problem.  Has
> anyone see this problem?  I had installed the latest copy of tkrplot.  I was
> trying to use teachingDemos when I first got the error.

I just installed tkrplot in R 2.4.1 and it worked fine.  I've never seen 
the error you're reporting.  However, I see what looks like a typo that 
might affect some systems:

In the tkrplot .First.lib function, I see

>         if (is.character(.Platform$r_arch) && .Platform$r_arch != 
>             "") 
>             path <- file.path("libs", .Platform$r_arc, dlname)
>         else path <- file.path("libs", dlname)

On the 3rd line, I think .Platform$r_arc should be .Platform$r_arch.  On 
my system I never execute that line, but if .Platform$r_arch is set on 
your system, it would likely cause problems.

Duncan Murdoch

> 
> On 1/18/07, Luke Tierney <luke at stat.uiowa.edu> wrote:
> 
>> Looks like tcl can't find the dll or something along those lines. As
>> this is windows you'll have to ask someone who uses that platform
>> to help figure out why.
>>
>> luke
>>
>> On Thu, 18 Jan 2007, jim holtman wrote:
>>
>>> I was trying to use the teachingDemos package and was getting an error
>>> trying to load tkrplot.
>>>
>>> I downloaded the latest copy and here is what I am getting on the
>> console.
>>> You were mentioned as the maintainer on the manual page.  Do you know
>> why
>>> this error might be occuring?
>>>
>>>
>>>
>>>> utils:::menuInstallPkgs()
>>> --- Please select a CRAN mirror for use in this session ---
>>> trying URL '
>>> http://www.stathy.com/cran/bin/windows/contrib/2.4/tkrplot_0.0-16.zip'
>>> Content type 'application/zip' length 24119 bytes
>>> opened URL
>>> downloaded 23Kb
>>>
>>> package 'tkrplot' successfully unpacked and MD5 sums checked
>>>
>>> The downloaded packages are in
>>>       C:\Documents and Settings\Compaq_Administrator\Local
>>> Settings\Temp\RtmpqEShrb\downloaded_packages
>>> updating HTML package descriptions
>>>> library(tkrplot)
>>> Loading required package: tcltk
>>> Loading Tcl/Tk interface ... done
>>> Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class =
>>> "tclObj") :
>>>       [tcl] could not find interpreter "Rplot".
>>> Error in library(tkrplot) : .First.lib failed for 'tkrplot'
>>>> sessionInfo()
>>> R version 2.4.1 (2006-12-18)
>>> i386-pc-mingw32
>>>
>>> locale:
>>> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
>>> States.1252;LC_MONETARY=English_United
>>> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
>>>
>>> attached base packages:
>>> [1] "tcltk"     "stats"     "utils"
>> "datasets"  "graphics"  "grDevices"
>>> "methods"   "base"
>>>
>>>
> 
> 
>



More information about the R-help mailing list