From charlie at stat.umn.edu  Fri Oct 19 23:35:03 2012
From: charlie at stat.umn.edu (Charles Geyer)
Date: Fri, 19 Oct 2012 16:35:03 -0500
Subject: [Rd] setting option in function
Message-ID: <CAKctRd3mh4xK2+09yCvqi1fM2REMGQtQj1A=1M7voxcqw7r1Zw@mail.gmail.com>

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
charlie at stat.umn.edu



[Rd] setting option in function
Charles Geyer