有时,在R帮助页面上,短语“未运行”会出现在注释中。从帮助页面中检查“ with()”:
Examples
require(stats); require(graphics)
#examples from glm:
**## Not run:**
library(MASS)
with(anorexia, {
anorex.1 <- glm(Postwt ~ Prewt + Treat + offset(Prewt),
family = gaussian)
summary(anorex.1)
})
## End(**Not run**)
示例代码中的“不运行”是什么意思?
dontRun
run.dontrun
参数设置为TRUE