Re: [R] Problem with loading tkrplot

From: jim holtman <jholtman_at_gmail.com>
Date: Fri 19 Jan 2007 - 03:32:00 GMT

On my system it is not set: so it must be something else. It happens on both of my windows systems. Guess I will have to look somewhere else to see what might be missing.

> .Platform

$OS.type
[1] "windows"

$file.sep
[1] "/"

$dynlib.ext
[1] ".dll"

$GUI
[1] "Rgui"

$endian
[1] "little"

$pkgType
[1] "win.binary"

$path.sep
[1] ";"

$r_arch
[1] ""

>

On 1/18/07, Duncan Murdoch <murdoch@stats.uwo.ca> wrote:
>
> 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@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"
> >>>
> >>>
> >
> >
> >
>
>

-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

	[[alternative HTML version deleted]]

______________________________________________
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.
Received on Fri Jan 19 14:36:45 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 19 Jan 2007 - 04:30:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.