From ligges@statistik.uni-dortmund.de  Thu May 31 08:21:05 2001
From: ligges@statistik.uni-dortmund.de (ligges@statistik.uni-dortmund.de)
Date: Thu, 31 May 2001 09:21:05 +0200 (MET DST)
Subject: [Rd] Re: R-WinEdt (PR#959)
Message-ID: <200105310721.JAA13287@pubhealth.ku.dk>

John Maindonald wrote:
> 
> Hello Uwe -
> I have been making some use of R-WinEdt.  I have just installed
> version 1.3.  For the most part it works fine.  An annoyance is
> however that when I type in data(), Windows comes up with an error
> message such as
> 
> File c:\windows\TEMP\R.5346 not found.
> 
> This happened with the earlier version also, which is why I
> upgraded.  It happens under Windows ME at home as well
> as under Windows 98 at work.  I am running R for windows 1.23
> 
> I suspect there is some simple action I can take to allow
> data() to work, but it is not clear to me what.


This is not a bug of R-WinEdt, but of R, so also a copy to R-Bugs.

The problem happens, if you set  pager != internal  in options(), e.g.:
  options(pager = "notepad")

After that,  data()  results in an error message like yours:
   File c:\windows\TEMP\R.5346 not found

The real error occurs in show.data() [or on.exit() ?]:

If you comment out the line 
    on.exit(file.remove(file))
in the function show.data(), showing the file works as expected, but
results in not deleting the temp-files.

file.show(file, delete.file = TRUE)  also doesn't delete the file.

Uwe Ligges



--please do not edit the information below--

Version:
 platform = i386-pc-mingw32
 arch = x86
 os = Win32
 system = x86, Win32
 status = 
 major = 1
 minor = 2.3
 year = 2001
 month = 04
 day = 26
 language = R

Windows NT 4.0 (build 1381) Service Pack 6

Search Path:
 .GlobalEnv, package:ctest, Autoloads, package:base

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Re: R-WinEdt (PR#959)
ligges@statistik.uni-dortmund.de