25

RI では、 を介してデバッグ モードを有効にできますoptions(error=recover)どうすればオフにできますか?試しoptions()てみましたが、 によってアクティブ化された機能を無効にするものはないようoptions(NULL)です。options(default=NULL)options(error=recover)

4

1 に答える 1

35

これを試して :

options(error=NULL)

それが機能することを示すには:

options(error=recover)
rnorm("k")
# Error in rnorm("k") : invalid arguments
# In addition: Warning message:
# In rnorm("k") : NAs introduced by coercion
# 
# Enter a frame number, or 0 to exit   
# 
# 1: rnorm("k")
# 
Selection: 0

options(error=NULL)
rnorm("k")
# Error in rnorm("k") : invalid arguments
# In addition: Warning message:
# In rnorm("k") : NAs introduced by coercion
于 2013-05-29T21:39:32.330 に答える