You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the mstl function from the forecast package in R I am getting the following error:
R[write to console]: Error in `[.default`(x, , 1) : incorrect number of dimensions
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 14, in forecast
File "/Users/ejohara/sandbox/python_envs/yuntao/lib/python3.6/site-packages/rpy2/robjects/functions.py", line 192, in __call__
.__call__(*args, **kwargs))
File "/Users/ejohara/sandbox/python_envs/yuntao/lib/python3.6/site-packages/rpy2/robjects/functions.py", line 121, in __call__
res = super(Function, self).__call__(*new_args, **new_kwargs)
File "/Users/ejohara/sandbox/python_envs/yuntao/lib/python3.6/site-packages/rpy2/rinterface_lib/conversion.py", line 28, in _
cdata = function(*args, **kwargs)
File "/Users/ejohara/sandbox/python_envs/yuntao/lib/python3.6/site-packages/rpy2/rinterface.py", line 785, in __call__
raise embedded.RRuntimeError(_rinterface._geterrmessage())
rpy2.rinterface_lib.embedded.RRuntimeError: Error in `[.default`(x, , 1) : incorrect number of dimensions
All other forecast methods in the forecast package seem to work, so I am not sure why this one fails.
I am running rpy2 version 3.1.0 on Mac OS, R version 3.5.2.
The following code can be run to recreate this issue:
I am not sure this is an issue with rpy2. This seems more like an operator error, in the sense the underlying R function called finds a parameter invalid. If truly the case, asking on a list or a place like StackOverflow might get more attention.
Original report by Nils Holgersson (Bitbucket: [Nils Holgersson](https://bitbucket.org/Nils Holgersson), ).
When running the mstl function from the forecast package in R I am getting the following error:
All other forecast methods in the forecast package seem to work, so I am not sure why this one fails.
I am running rpy2 version 3.1.0 on Mac OS, R version 3.5.2.
The following code can be run to recreate this issue:
The text was updated successfully, but these errors were encountered: