[R] Problem with loading tkrplot
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.
> 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.
>> 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
>>> You were mentioned as the maintainer on the manual page. Do you know
>>> this error might be occuring?
>>> --- Please select a CRAN mirror for use in this session ---
>>> trying URL '
>>> 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
>>> updating HTML package descriptions
>>> 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'
>>> R version 2.4.1 (2006-12-18)
>>> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
>>> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
>>> attached base packages:
>>>  "tcltk" "stats" "utils"
>> "datasets" "graphics" "grDevices"
>>> "methods" "base"
More information about the R-help