Stop an R program without error

前端 未结 9 1601
执笔经年
执笔经年 2020-12-01 10:35

Is there any way to stop an R program without error?

For example I have a big source, defining several functions and after it there are some calls to the functions.

9条回答
  •  失恋的感觉
    2020-12-01 11:17

    You can use the following solution to stop an R program without error:

    if (justUpdate)
        return(cat(".. Your Message .. "))
    

提交回复
热议问题