R should be started in the IWNICA directory. You can use R's menu to change theworking directory. Alternatively, you can set the working directory using the R command:
> setwd("c:/users/yourname/documents/IWNICA")
The following command starts SPOT's automatic tuning procedure.
> library(SPOT)
> spot("rfSann02.conf")
Sometimes is it required to start a clean R session, because data from previous runs are in the workspace.
Execute
rm(list=ls());to perform a cleanup before SPOT is loaded and run.
If spot.fileMode=TRUE was set (as in our example), a result file (RES), which contains important information from the tuning process, has been written to the working directory. It can be downloaded as rfSann02.res from the workshop's web page. This RES file is a good starting point for further analyses of the SANN algorithm.
bartz 2010-10-24