FAILURE (#4) SCRIPT ... source('C:/Riverware/HydrologySimulator/scripts/lib.R') spatial.disag(mntpath='C:/Riverware/HydrologySimulator/scriptdata/spdisag/monflow_2site_vector.txt', first.year=1906,nsite=2,sim.len=50,filepath='C:/Riverware/HydrologySimulator/scriptOut', indsite=c('AgAboveRandlette_AgUteCurr.Depletion_Requested','AgAboveRandlette_AgUteCurr.Diversion_Requested'), returnpath='C:/Riverware/staff/philw/StudyMgr/StudyMgr/debug/plugins/DisaggFuncResult.txt') RESULT ... VERSION: CADSWES Study Manager, Stochastic Hydrology Simulator R Scripts, Andrew Verdin, 5-15-2012 STARTED: 2012-05-18 17:57:20 FUNCTION: Spatial Disaggregation PARAMETER: monthly flow: C:/Riverware/HydrologySimulator/scriptdata/spdisag/monflow_2site_vector.txt PARAMETER: number of sites: 2 PARAMETER: index site: AgAboveRandlette_AgUteCurr.Depletion_Requested PARAMETER: index site: AgAboveRandlette_AgUteCurr.Diversion_Requested PARAMETER: simulated flow for disag: STANDARD OUT ... STANDARD ERROR ... Attaching package: 'zoo' The following object(s) are masked from 'package:base': as.Date, as.Date.numeric Loading required package: plyr Attaching package: 'reshape' The following object(s) are masked from 'package:plyr': rename, round_any Loading required package: methods Loading required package: class Attaching package: 'class' The following object(s) are masked from 'package:reshape': condense Read 2424 items Error in file(file, "r") : invalid 'description' argument Calls: spatial.disag -> scan -> file In addition: Warning messages: 1: In dir.create(plot.dir) : 'C:\Riverware\HydrologySimulator\scriptOut\plots' already exists 2: In if (file == "") file the condition has length > 1 and only the first element will be used Execution halted