Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/73.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Configuration 拉帕奇配置问题_Configuration_R_Rapache - Fatal编程技术网

Configuration 拉帕奇配置问题

Configuration 拉帕奇配置问题,configuration,r,rapache,Configuration,R,Rapache,我的系统管理员为我安装在64位Solaris机箱上。我可以访问此处的页面,表明模块已成功安装。httpd.conf中有以下条目: <Directory /websites/zbroom> SetHandler r-script RHandler brew::brew </Directory> SetHandler脚本 RHandler brew::brew 这需要通过软件包的brew功能解析目录中的所有文件。从我的上可以看出,R代码被忽略。没有抛出错误(Ap

我的系统管理员为我安装在64位Solaris机箱上。我可以访问此处的页面,表明模块已成功安装。httpd.conf中有以下条目:

<Directory /websites/zbroom>
  SetHandler r-script
  RHandler brew::brew
</Directory>

SetHandler脚本
RHandler brew::brew
这需要通过软件包的brew功能解析目录中的所有文件。从我的上可以看出,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测试
这里是一些普通文本

在这个文本和第一个文本之间应该有一些R输出


我需要修改什么才能计算和打印R代码?

遵循我在谷歌发布的德克建议。问题似乎不是配置错误,而是Apache需要重启才能生效。唉,至少修复很容易。

AFAIK RApache有自己的邮件列表,你可能想在那里查看。