代码之家  ›  专栏  ›  技术社区  ›  dnagirl

Rapache配置问题

  •  1
  • dnagirl  · 技术社区  · 15 年前

    我的系统管理员已安装 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代码?

    1 回复  |  直到 15 年前
        1
  •  0
  •   dnagirl    15 年前

    按照我在谷歌上发布的Dirk的建议 RApache group . 看起来问题并不是配置错误,但是Apache需要重新启动才能使事情生效。唉,至少修理起来很容易。