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. 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, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111
What example are you trying? The code in ?trkplot works for me. However, it looks to me like that piece of advice in the rw-FAQ about no spaces in your path has come back to bite you (I of course do not have such spaces). I think this should be .Tcl(paste("load", shQuote(file), "Rplot")) or some such. On Wed, 4 May 2011, 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. > > 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, > > -- > Gregory (Greg) L. Snow Ph.D. > Statistical Data Center > Intermountain Healthcare > greg.snow at imail.org > 801.408.8111 > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
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, >
It looks like the spaces in the path is the problem, when I run the line below with shQuote then everything starts working and all is right with the world again. Thanks, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] > Sent: Wednesday, May 04, 2011 10:35 AM > To: Greg Snow > Cc: R Devel List > Subject: Re: [Rd] tkrplot not working in R 2.13.0 > > What example are you trying? The code in ?trkplot works for me. > > However, it looks to me like that piece of advice in the rw-FAQ about > no spaces in your path has come back to bite you (I of course do not > have such spaces). I think this should be > > .Tcl(paste("load", shQuote(file), "Rplot")) > > or some such. > > On Wed, 4 May 2011, 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. > > > > 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, > > > > -- > > Gregory (Greg) L. Snow Ph.D. > > Statistical Data Center > > Intermountain Healthcare > > greg.snow at imail.org > > 801.408.8111 > > > > ______________________________________________ > > R-devel at r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel > > > > -- > Brian D. Ripley, ripley at stats.ox.ac.uk > Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ > University of Oxford, Tel: +44 1865 272861 (self) > 1 South Parks Road, +44 1865 272866 (PA) > Oxford OX1 3TG, UK Fax: +44 1865 272595
On May 4, 2011, at 19:26 , Greg Snow wrote:> It looks like the spaces in the path is the problem, when I run the line below with shQuote then everything starts working and all is right with the world again.Just for fun, see if it also works with tcl("load", file, "Rplot") (.Tcl(paste(....)) is just *so* turn of the millennium, and particularly vulnerable to "quoting hell" effects.)> > Thanks, > > -- > Gregory (Greg) L. Snow Ph.D. > Statistical Data Center > Intermountain Healthcare > greg.snow at imail.org > 801.408.8111 > > >> -----Original Message----- >> From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] >> Sent: Wednesday, May 04, 2011 10:35 AM >> To: Greg Snow >> Cc: R Devel List >> Subject: Re: [Rd] tkrplot not working in R 2.13.0 >> >> What example are you trying? The code in ?trkplot works for me. >> >> However, it looks to me like that piece of advice in the rw-FAQ about >> no spaces in your path has come back to bite you (I of course do not >> have such spaces). I think this should be >> >> .Tcl(paste("load", shQuote(file), "Rplot")) >> >> or some such. >> >> On Wed, 4 May 2011, 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. >>> >>> 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, >>> >>> -- >>> Gregory (Greg) L. Snow Ph.D. >>> Statistical Data Center >>> Intermountain Healthcare >>> greg.snow at imail.org >>> 801.408.8111 >>> >>> ______________________________________________ >>> R-devel at r-project.org mailing list >>> https://stat.ethz.ch/mailman/listinfo/r-devel >>> >> >> -- >> Brian D. Ripley, ripley at stats.ox.ac.uk >> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ >> University of Oxford, Tel: +44 1865 272861 (self) >> 1 South Parks Road, +44 1865 272866 (PA) >> Oxford OX1 3TG, UK Fax: +44 1865 272595 > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel-- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
That works as well, I will suggest it to Luke for the package to use. Thanks, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: peter dalgaard [mailto:pdalgd at gmail.com] > Sent: Wednesday, May 04, 2011 11:43 AM > To: Greg Snow > Cc: Prof Brian Ripley; R Devel List > Subject: Re: [Rd] tkrplot not working in R 2.13.0 > > > On May 4, 2011, at 19:26 , Greg Snow wrote: > > > It looks like the spaces in the path is the problem, when I run the > line below with shQuote then everything starts working and all is right > with the world again. > > Just for fun, see if it also works with > > tcl("load", file, "Rplot") > > (.Tcl(paste(....)) is just *so* turn of the millennium, and > particularly vulnerable to "quoting hell" effects.) > > > > > > Thanks, > > > > -- > > Gregory (Greg) L. Snow Ph.D. > > Statistical Data Center > > Intermountain Healthcare > > greg.snow at imail.org > > 801.408.8111 > > > > > >> -----Original Message----- > >> From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] > >> Sent: Wednesday, May 04, 2011 10:35 AM > >> To: Greg Snow > >> Cc: R Devel List > >> Subject: Re: [Rd] tkrplot not working in R 2.13.0 > >> > >> What example are you trying? The code in ?trkplot works for me. > >> > >> However, it looks to me like that piece of advice in the rw-FAQ > about > >> no spaces in your path has come back to bite you (I of course do not > >> have such spaces). I think this should be > >> > >> .Tcl(paste("load", shQuote(file), "Rplot")) > >> > >> or some such. > >> > >> On Wed, 4 May 2011, 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. > >>> > >>> 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, > >>> > >>> -- > >>> Gregory (Greg) L. Snow Ph.D. > >>> Statistical Data Center > >>> Intermountain Healthcare > >>> greg.snow at imail.org > >>> 801.408.8111 > >>> > >>> ______________________________________________ > >>> R-devel at r-project.org mailing list > >>> https://stat.ethz.ch/mailman/listinfo/r-devel > >>> > >> > >> -- > >> Brian D. Ripley, ripley at stats.ox.ac.uk > >> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ > >> University of Oxford, Tel: +44 1865 272861 (self) > >> 1 South Parks Road, +44 1865 272866 (PA) > >> Oxford OX1 3TG, UK Fax: +44 1865 272595 > > > > ______________________________________________ > > R-devel at r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel > > -- > Peter Dalgaard > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
Thanks -- new version on its way to CRAN. luke On Wed, 4 May 2011, Greg Snow wrote:> That works as well, I will suggest it to Luke for the package to use. > > Thanks, > >-- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics and Fax: 319-335-3017 Actuarial Science 241 Schaeffer Hall email: luke at stat.uiowa.edu Iowa City, IA 52242 WWW: http://www.stat.uiowa.edu