[R] Seasonal adjustment with seas - Error: X-13 has returned a non-zero exist status
w||||@mwdun|@p @end|ng |rom gm@||@com
Thu Sep 17 18:35:19 CEST 2020
The problem might to due to using an UNC path (//machine//blah/...) instead
of the traditional DOS path ("H:/blah/...").
E.g., if my working directory has a UNC path, cmd.exe will not work as
> system("C:\\WINDOWS\\SYSTEM32\\cmd.exe /c echo foo bar", intern=TRUE)
 "CMD.EXE was started with the above path as the current directory."
 "UNC paths are not supported. Defaulting to Windows directory."
 "foo bar"
You can test that by mapping "\\hes-nas-prairie.hes.adhes.hesge.ch/Home_S
to a driver letter and using letter-colon everywhere instead of "\\...".
On Thu, Sep 17, 2020 at 8:46 AM Weber Sylvain (HES) <sylvain.weber using hesge.ch>
> Dear all,
> I am using function "seas" from package "seasonal" for seasonal adjustment
> of time series. I am using the latest version of R (4.0.2, 64-bit).
> The following lines provide a small working example:
> ## EXAMPLE ##
> m <- seas(AirPassengers)
> On my private laptop, everything is going smoothly, and I obtain the
> following output:
> ## OUTPUT ##
> seas(x = AirPassengers)
> Weekday Easter AO1951.May
> -0.00295 0.01777 0.10016
> But on my office computer, I receive the following error message after
> issuing " m <- seas(AirPassengers)":
> ## ERROR ##
> Error: X-13 has returned a non-zero exist status, which means that the
> current spec file cannot be processed for an unknown reason.
> In addition: Warning message:
> In system(cmd, intern = intern, wait = wait | intern,
> show.output.on.console = wait, :
> running command 'C:\Windows\system32\cmd.exe /c "\\
> -n -s' had status 1
> A similar issue has been already mentioned in various blogs, for instance:
> but I couldn't find any solution yet.
> Does anyone have any idea why this issue is occurring?
> Thanks very much.
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help