我已经在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
我正在尝试建立一个网络服务,我希望有直接的错误。我正尝试在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";
如何以及在何处使用此指令?
谢谢
发布于 2012-06-07 14:17:56
RApacheOutputErrors()此函数已被弃用,将从下一个rApache版本中删除。如果它被调用,它会调用一个警告。
https://stackoverflow.com/questions/4406964
复制相似问题