Wayne.W.Jones at shell.com
2013-Mar-18 11:10 UTC
[Rd] Windows R-3.0.0 and Tcl/tkrplot issue
Greetings R Developers, I've been testing the alpha release of R-3.0.0 and I noticed that the plotting functionality in package tkrplot was not working correctly. Further diagnosis found the issue to be related to the command '.Tcl("image create Rplot plotname")' from package "tkrplot". The following example is taken from here: http://tkrplot.sourcearchive.com/documentation/0.0.14/tcltkimg_8c_source.html> library(tkrplot) > library(tcltk) > my.tkdev <- function() win.metafile(width=4,height=4) > my.tkdev() > plot(1:20) > .Tcl("image create Rplot fred")Error in structure(.External(.C_dotTcl, ...), class = "tclObj") : [tcl] can't get device image. This example works fine in R-2.15.3. I've emailed the package maintainer Luke Tierney but unfortunately he doesn't have the ability to build and test packages on windows. Can anyone elucidate what tcltk changes have been made in moving to R-3.0.0? Details of installation are as follows:> versionplatform i386-w64-mingw32 arch i386 os mingw32 system i386, mingw32 status alpha major 3 minor 0.0 year 2013 month 03 day 16 svn rev 62282 language R version.string R version 3.0.0 alpha (2013-03-16 r62282) nickname Unsuffered Consequences>Thanks, Wayne ---------------------------------------------------------------------------------------- Wayne Jones Statistics & Chemometrics Shell Global Solutions (UK) Shell Technology Centre Thornton P.O. Box 1, Chester CH1 3SH, United Kingdom Tel: +44 (0) 151 373 5977 Mobile: +44 (0) 7896 536026 Email: Wayne.W.Jones@shell.com<mailto:Wayne.W.Jones@shell.com> Intranet: Statistics and Chemometrics - Shell Wiki<http://sww.wiki.shell.com/wiki/index.php/Statistics_and_Chemometrics> Internet: Shell Global Solutions<http://www.shell.com/home/content/globalsolutions> Shell Global Solutions (UK) is a division of Shell Research Limited which has its Registered Office at Shell Centre, London SE1 7NA and is registered in England & Wales with No.539964. [[alternative HTML version deleted]]
This has been fixed already, as far as I know, Uwe On 18.03.2013 12:10, Wayne.W.Jones at shell.com wrote:> Greetings R Developers, > > I've been testing the alpha release of R-3.0.0 and I noticed that the plotting functionality in package tkrplot was not working correctly. > Further diagnosis found the issue to be related to the command '.Tcl("image create Rplot plotname")' from package "tkrplot". > > The following example is taken from here: http://tkrplot.sourcearchive.com/documentation/0.0.14/tcltkimg_8c_source.html > >> library(tkrplot) >> library(tcltk) >> my.tkdev <- function() win.metafile(width=4,height=4) >> my.tkdev() >> plot(1:20) >> .Tcl("image create Rplot fred") > Error in structure(.External(.C_dotTcl, ...), class = "tclObj") : > [tcl] can't get device image. > > This example works fine in R-2.15.3. I've emailed the package maintainer Luke Tierney but unfortunately he doesn't have the ability to build and test packages on windows. > Can anyone elucidate what tcltk changes have been made in moving to R-3.0.0? > > Details of installation are as follows: > >> version > platform i386-w64-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status alpha > major 3 > minor 0.0 > year 2013 > month 03 > day 16 > svn rev 62282 > language R > version.string R version 3.0.0 alpha (2013-03-16 r62282) > nickname Unsuffered Consequences >> > > Thanks, > > Wayne > > ---------------------------------------------------------------------------------------- > Wayne Jones > Statistics & Chemometrics > Shell Global Solutions (UK) > Shell Technology Centre Thornton > P.O. Box 1, Chester CH1 3SH, United Kingdom > Tel: +44 (0) 151 373 5977 Mobile: +44 (0) 7896 536026 > Email: Wayne.W.Jones at shell.com<mailto:Wayne.W.Jones at shell.com> > Intranet: Statistics and Chemometrics - Shell Wiki<http://sww.wiki.shell.com/wiki/index.php/Statistics_and_Chemometrics> > Internet: Shell Global Solutions<http://www.shell.com/home/content/globalsolutions> > > Shell Global Solutions (UK) is a division of Shell Research Limited which has its Registered Office at Shell Centre, London SE1 7NA and is registered in England & Wales with No.539964. > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >