I have installed R via the R-Project website. I have QGIS installed via OSGEO4W (currently 1.9.0 Master), and have Sextante plugin installed and working with GRASS and SAGA providers. I am now trying to get R to run, but with no luck. I initially installed R to Program Files, but found mention that perhaps the space in the file path was an issue, so I have re-installed to C:\R\R-3.0.1\
What paths do I need to enter the "R Folder" and "RScripts Folder" configuration area in Sextante? Or am I missing something?
Best Answer
EDIT: I'm going to see if this bug is related (http://hub.qgis.org/issues/8012).
UPDATE: Looks like there are some issues with R in the sextante plugin for both qgis and qgis-dev. I'll file some bug reports if they haven't been already. But the two issues with R in sextante are:
1) In qgis (stable) SEXTANTE doesn't seem to use the rlib path in the Users .qgis folder. Instead it relies on the default R library path in C:/. The plugin will still download and install the missing libraries into the qgis sextante plugin folder but won't actually use them. You have to install them from R manually - eg,
install.packages("rgdal")
2) In qgis-dev (unstable) SEXTANTE doesn't launch any R scripts and gives a warning about missing dependencies and that R is not properly installed. This is the OPs problem.
Now the funny part, possibly a bug...
Try to run one of the R scripts in the SEXTANTE Toolbox, like Create regular sampling grid.
This fails, with the helpful error:
The plugin is downloading and installing the libraries to it's custom rlib path, but when it goes to run the actual tool/script, it's not searching that path - but instead the default system rlib path.
The FIX - Install the needed library from the R interface (ie, launch R directly). Then go back to QGIS and launch the scripts.
Now they run! Output of random sample grid: