Problems with Brew in Rapache

1

Good, I recently installed rapache in ubuntu server 14.04, I made all the configurations and created the file r.conf and r.load in / etc / apache2 / mods-available. Inside r.conf I place

 SetHandler r-script  RHandler sys.source

And I do something similar for the RApacheInfo, this works well since if I place a file with the r code in the established path it will be the r code and it will show its output in the navigator.

The problem is with the brew package, for this I put the following in r.conf

 SetHandler r-script  RHandler brew :: brew

and place in that folder html code, and r code in this way (), but when I run it in the browser only interprets the html, the r code comes out as is. Note: Please install brew using > install.package ("brew"), which you must do to read both codes and how to merge packages, that is, you do not have to open them in separate directories.

Thanks

    
asked by Jose N 08.03.2017 в 14:39
source

0 answers