我的系统管理员已安装
RApache
在64位Solaris设备上。我可以进入
RApacheInfo
此处为页面,指示模块已成功安装。httpd.conf中有以下条目:
<Directory /websites/zbroom>
SetHandler r-script
RHandler brew::brew
</Directory>
它需要通过目录中的BREW函数解析目录中的所有文件。
brew
包裹。从我身上可以看到
test page
,R代码被忽略。没有抛出任何错误(Apache日志中没有任何错误)。
这是测试代码:
<html><head><title>R test</title></head>
<body>
<p>here is some normal text</p>
<%=rnorm(100) %>
<% print(rnorm(100)) %>
<p>Between this text and the first text there should be some R output.</p>
</body>
</html>
我需要更改什么,以便评估和打印R代码?