#=============================================================== # R: general options #=============================================================== options(tab.width=2) options(digits=3) # Digits of output options(graphics.record=T) # Turn recording of graphic window on options(htmlhelp=TRUE) options(repos='http://cran.cnr.berkeley.edu/') # Berkeley CRAN site (Bettern than Dallas site) #=============================================================== # Tinn-R: necessary packages and functions #=============================================================== library(utils) necessary = c('svIDE', 'svIO', 'svSocket', 'R2HTML', 'Rcmdr', 'spdep', 'maptools') # Expand list for your libraries. Libraries will be installed at first call of R installed = necessary %in% installed.packages()[, 'Package'] if (length(necessary[!installed]) >=1) install.packages(necessary[!installed], dep = T) options(IDE = 'C:/Program files/Tinn-R/bin/Tinn-R.exe') options(use.DDE = T) library(svIDE) library(svIO) library(svSocket) library(R2HTML) guiDDEInstall()