Displaying 1 result from an estimated 1 matches for "splus_break".
1997 Oct 23
0
R-beta: why restart()
...to an error
return, and it isn't efficient to run solve if you're going to do an explicit
SVD in the first place. It *is* efficient to call try(solve()) where try is
function(expr, first = T)
{
# return either the proper answer to expr or NA (length 1),
# with printed error message. See splus_break for a version
# that returns error message as structure.
#
# DO NOT USE THE 'first' ARGUMENT
restart(first)
if(first) {
first <- F
expr
}
else {
# get_last_message doesn't always get the error message ......