A simple client/server web-application for running R scripts and logging and storing output and produced images
- webserver with PHP
- SQL server (ie MySQL)
- R with packages DBI, RMySQL, Cairo
- The example environment (defined in the .sql file) uses an existing GraphicsMagick installation to create preview images (command: gm)
optional software:
- HeidiSQL www.heidisql.com or similar to edit the database directly to create more execution environments
- further R packages
- Deleting a job on the website does neither remove the entry from the database, nor delete the images. It only hides the job.
- Sometimes R acts up, and stops running graphicsmagick. Restart the R server if this happens.
Do not run this on a publically accessible webserver. The server does not include any authentication methods, so it essentially allows anyone to run any commands on your machine. Ideally you want to set up your webserver to only serve to localhost, and then use e.g. an SSH-tunnel to access the service. As an absolute minimum you should set up your webserver to ask for a username and password. You have been warned.