[Rd] R windows crash (PR#9426)

From: <robert.denham_at_nrm.qld.gov.au>
Date: Wed 20 Dec 2006 - 23:57:40 GMT

Full_Name: Robert Denham
Version: R-2.4.1
OS: Windows Xp
Submission from: (NULL) (

R gui exits without warning when I run a function which has an argument with a default that is not found.

This was a result of an error in a function I wrote, but I thought that it should exit more gracefully than it does. Here is an example:

testfun <- function(aa=aa) {

    aa <- lm(y~x,data=aa)

testfun() #R then exits.

Note that

testfun <- function(aa=bb) {

    aa <- lm(y~x,data=aa)

works as it should, giving "object bb not found".

R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Dec 21 18:33:47 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 21 Dec 2006 - 09:31:04 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.