From jfox at mcmaster.ca  Fri Oct 22 15:54:19 2004
From: jfox at mcmaster.ca (John Fox)
Date: Fri Oct 22 15:54:53 2004
Subject: problem with tcltk under Windows (was [Rd] RE: [R] one more
	Rcmdrproblem)
In-Reply-To: <4178E6CD.3040106@univie.ac.at>
Message-ID: <20041022135418.PPQL1536.tomts25-srv.bellnexxia.net@JohnDesktop8300>

Dear Erich,

I'm afraid that this time I can't duplicate the problem on a Windows XP Pro
system. To verify that reading data from packages works, I downloaded (but
didn't compile myself) the latest R-patched 2.0.0 from CRAN, dated Oct. 21.
I downloaded from my web site the compiled Windows binary of Rcmdr 0.9-12
(i.e., the version in development). Everything appears to work fine. I
repeated this on another Win XP Pro machine and that worked fine too.

The error message pops up as a consequence of the manner in which the Rcmdr
intercepts errors. It might help to know what the content of that error
message was. (I'm not sure why the Rcmdr would have tried to *load* a
package; presumably it was looking for data sets in packages already loaded.
Perhaps this is a clue to a bug.)

Recall that the last time a problem occurred here, it reflected a more
general tcltk problem with R 2.0.0. That was fixed in R-patched, so you may
have uncovered an independent problem.

I'd like to get to the bottom of this since I want to submit version 0.9-12
of the Rcmdr package to CRAN (indeed, intended to do that today, since I've
finished my testing), but want first to make sure that it's working properly
with R 2.0.0.

Regards,
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox 
-------------------------------- 

> -----Original Message-----
> From: r-devel-bounces@stat.math.ethz.ch 
> [mailto:r-devel-bounces@stat.math.ethz.ch] On Behalf Of Erich Neuwirth
> Sent: Friday, October 22, 2004 5:54 AM
> To: Duncan Murdoch; John Fox; r-devel@stat.math.ethz.ch
> Subject: Re: problem with tcltk under Windows (was [Rd] RE: 
> [R] one more Rcmdrproblem)
> 
> There still seems to be a problem with RCommander and or 
> Tcl/Tk on Windows in R 1.9.1.
> Windows XP Pro, SP2
> I compiled the latest version of R-patched 2.0.0 and
> Rcmd_0.9-12
> 
> Starting R with --sdi, loading Rcmdr,
> and then from Rcmdr's menu, doing
> Data->Data in packages->Read data set from an attached package
> and trying to select a package in the field Select package:
> will not work, nothing will happen.
> After canceling this dialog
> entering a simple command
> e.g.
> 1+1
> in the Rcmd input field and pressing the Submit button will 
> produce a dialog box showing error messages referring to an 
> error responsible for not being able to load the selected package.
> 
> With R 1.9.1, things work as they should.
> 
> 
> --
> Erich Neuwirth, Computer Supported Didactics Working Group 
> Visit our SunSITE at http://sunsite.univie.ac.at
> Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
> 
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


problem with tcltk under Windows (was [Rd] RE: [R] one more Rcmdrproblem)
John Fox