From ligges at statistik.tu-dortmund.de  Wed May  4 18:43:02 2011
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Wed, 04 May 2011 18:43:02 +0200
Subject: [Rd] tkrplot not working in R 2.13.0
In-Reply-To: <B37C0A15B8FB3C468B5BC7EBC7DA14CC634738EFF5@LP-EXMBVS10.CO.IHC.COM>
References: <B37C0A15B8FB3C468B5BC7EBC7DA14CC634738EFF5@LP-EXMBVS10.CO.IHC.COM>
Message-ID: <4DC18216.8000304@statistik.tu-dortmund.de>



On 04.05.2011 17:46, Greg Snow wrote:
> The tkrplot package is not working in version 2.13.0 for windows.  I contacted the maintainer who unfortunately does not have easy access to a windows computer and says that it is working on the other platforms.

Greg,

if he had access (like I do) he'd said it works for him. At least it 
does for me (under Windows Server 2008 and XP) and it also passes the 
CRAN checks under Windows, see e.g.
http://www.r-project.org/nosvn/R.check/r-release-windows-ix86+x86_64/tkrplot-00check.html

You may want to elaborate why you think it does not work and provide us 
with what you typed in R and what the actual error message is.

Uwe Ligges



>
> I traced the problem down to the line in the .First.lib function:
>
> .Tcl(paste("load", file, "Rplot"))
>
> With file being "C:/Program Files/R/R-2.13.0/library/tkrplot/libs/i386/tkrplot.dll" on my system.  I did check that the file exists and it can even be loaded using dyn.load, but when running the .Tcl command by hand it produces the following error:
>
> Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class = "tclObj") :
>    [tcl] could not find interpreter "Rplot".
>
> It works in previous versions of R, so I am guessing that this is due to some change in R, or the tcl with R 2.13.0, or how tkrplot was compiled under the new R, or possibly something else.
>
> Does anyone else have any insights?
>
>
>
>> sessionInfo()
> R version 2.13.0 (2011-04-13)
> Platform: i386-pc-mingw32/i386 (32-bit)
>
> locale:
> [1] LC_COLLATE=English_United States.1252
> [2] LC_CTYPE=English_United States.1252
> [3] LC_MONETARY=English_United States.1252
> [4] LC_NUMERIC=C
> [5] LC_TIME=English_United States.1252
>
> attached base packages:
> [1] tcltk     stats     graphics  grDevices utils     datasets  methods
> [8] base
>
> other attached packages:
> [1] TeachingDemos_2.7 tkrplot_0.0-19
>
> loaded via a namespace (and not attached):
> [1] tools_2.13.0
>
> Thanks,
>



[Rd] tkrplot not working in R 2.13.0
Uwe Ligges