[Rd] setting option in function

From: Charles Geyer <charlie_at_stat.umn.edu>
Date: Fri, 19 Oct 2012 16:35:03 -0500

is it possible to set an option inside a function ((I want to set na.action = na.fail) and have the previous state restored if there is an error so that the function doesn't change the option behind the user's back?

Sorry if this has been answered before, but this subject is hard to Google.

Charles Geyer
Professor, School of Statistics
University of Minnesota

R-devel_at_r-project.org mailing list
Received on Fri 19 Oct 2012 - 21:38:26 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 19 Oct 2012 - 23:30:50 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.

list of date sections of archive