2010-12-10 5 views
54

나는 r.conf에서 ROutputErrors를 활성화했으며 이는 으로 가정합니다.RApacheOutputErrors를 사용하여 출력 제어

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"; 

어떻게 그리고 내가이 지시어를 사용할 수 있습니까?

감사

이 기능은 사용되지 않으며 다음 rApache 릴리스에서 제거됩니다()
+1

당신이 지루해하는 경우, 당신은합니다 ([Google 그룹]에 질문을 할 수있어, 앉아서 제프로 스윙 할 때까지 기다리거나 할 수 http://groups.google.com/group/rapache? pli = 1) list. –

+1

나는 벌써했다. 감사. –

+1

다음은 토론입니다. https://groups.google.com/forum/?pli=1#topic/rapache/ixDT2mgulRU –

답변

1

RApacheOutputErrors. 호출되면 경고를 호출합니다.

심판 : http://rapache.net/manual.html#rapache_Functions

+1

이 게시물은 2010 년의 게시물입니다.이 기능을 제거해도 초기 문제는 제거되지 않습니다. 적절한 디버깅 메시지가 필요합니다. –

관련 문제