The primitives ts-load and ts-load-with-format will not work unless the model has been saved. They report a root of NULL for the csv file. Running the primitive set-current-directory does not help.
This limits the use of this extension if running NetLogo through R (RNetLogo package).
to load-ts
set-current-directory "D:\Temp"
set ts time:ts-load-with-format "zczoodaily.csv" "yyyy/MM/dd HH:mm"
end
generates a Popup window:
Extension exception: null\zczoodaily.csv (The system cannot find the path specified)
error while observer running TIME:TS-LOAD-WITH-FORMAT
called by procedure LOAD-TS
called by Command Center
The primitives ts-load and ts-load-with-format will not work unless the model has been saved. They report a root of NULL for the csv file. Running the primitive set-current-directory does not help. This limits the use of this extension if running NetLogo through R (RNetLogo package).
to load-ts set-current-directory "D:\Temp" set ts time:ts-load-with-format "zczoodaily.csv" "yyyy/MM/dd HH:mm" end
generates a Popup window:
Extension exception: null\zczoodaily.csv (The system cannot find the path specified) error while observer running TIME:TS-LOAD-WITH-FORMAT called by procedure LOAD-TS called by Command Center