pgilbert@bank-banque-canada.ca
2001-Nov-05 15:07 UTC
[Rd] bug.report()sends empty message (PR#1158)
On Mon, 22 Oct 2001, David Brahm wrote:> I swear, bug.report() ate my message! Apologies to all, esp. Peter who > will once again have to clean up after my mess...With some editors on Unix bug.report() does this. The problem is that some editors (like Nedit) fork a separate process and return. The Unix version of bug.report sends an empty message in this case. The fix is to make the Unix version the same as the Windows version, with an optional argument "wait". Attached are four small files bug.report.R, bug.report.Rd, Sys.mail.R, and Sys.mail.Rd, which attempt to fix the problem and the documentation. They also separate out the mail mechanism as a utility that can be used elsewhere. Unfortunately, I have only been able to test these on a limited number of platforms. Paul Gilbert