[R] setting options only inside functions
bt_jannis at yahoo.de
Wed Apr 27 15:16:13 CEST 2011
Dear list members,
is it possible to set some options only inside a function so that the original options are restored once the function is finished or aborted due to an error? Until now I do something like:
This works for most cases but when the function terminates because of an error and its last command is not run, error=dummy1() still remains as an option. Is there any way around this?
More information about the R-help