【发布时间】:2011-05-23 08:38:44
【问题描述】:
我已经在 r.conf 中激活了 ROutputErrors,它可以正常工作 做。
当我遇到错误时,我会得到这个:
Oops!!! rApache has something to tell you. View source and read the
HTML comments at the end.
在源代码中我得到了错误。
\n<!--\nError in library(micEconAids) : there is no package called
'micEconAids'\nTraceback:\n5: stop(txt, domain = NA)\n4:
library(micEconAids)\n3: eval(expr, envir, enclos)\n2: eval(i, envir)
\n1: sys.source(file = \"\/var\/www\/r\/test\/25.R\", envir = .rAenv)
\n-->\n
我正在尝试构建一个 web 服务,我希望有错误 直接地。我正在尝试在 r.conf 中执行此操作
RApacheOutputErrors(TRUE,"<p>","</p>")
但我在重启时收到此错误:
"Invalid command
'RApacheOutputErrors(TRUE,"<p>","</p>")', perhaps misspelled or
defined by a module not included in the server configuration";
如何以及在何处使用该指令?
谢谢
【问题讨论】:
-
你可以坐在这里等杰夫过来,或者,如果你觉得无聊,你可以在Google Groups 列表中提问。
-
你检查rapache.net/manual.html了吗?我对此知之甚少,但可能有其被弃用的原因。