Skip to content

Instantly share code, notes, and snippets.

@rrodrigueznt
Last active June 13, 2017 10:35
Show Gist options
  • Save rrodrigueznt/44efb2ec66739f394f3018bbeb7a0e9d to your computer and use it in GitHub Desktop.
Save rrodrigueznt/44efb2ec66739f394f3018bbeb7a0e9d to your computer and use it in GitHub Desktop.
ftp http://cran.es.r-project.org/src/contrib/XML_3.98-1.7.tar.gz
R CMD INSTALL XML_3.98-1.7.tar.gz
ftp http://www.rforge.net/Cairo/snapshot/Cairo_1.5-9.tar.gz
R CMD INSTALL Cairo_1.5-9.tar.gz
ftp http://www.rforge.net/Rserve/snapshot/Rserve_1.7-3.tar.gz
R CMD INSTALL Rserve_1.7-3.tar.gz
ftp http://www.rforge.net/FastRWeb/snapshot/FastRWeb_1.1-1.tar.gz
R CMD INSTALL FastRWeb_1.1-1.tar.gz
cd `echo 'cat(system.file(package = "FastRWeb"))' | R --slave`
sudo sh install.sh
## Copy the file Rcgi to the cgi folder as R
sudo cp cgi-bin/Rcgi /Library/WebServer/CGI-Executables/R
sudo /var/FastRWeb/code/start
error log
/var/log/apache2
start/stop control
sudo apachectl stop
sudo apachectl start
apache configuration (comment out the line loading cgi module)
https://stackoverflow.com/questions/27039250/how-to-let-cgi-scripts-work-on-macos-10-10-yosemite
/etc/apache2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment