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
Submitted by: Joshua Ulrich
Assigned to: Joshua Ulrich R-Forge link
Reproducible example:
require(xts)
data(sample_matrix)
x <- as.xts(sample_matrix[,'Close'])
y <- to.monthly(x, name=NULL)
Error in to.period(x, 'months', indexAt = indexAt, name = name, ...) :
attempt to set index 4/4 in SET_STRING_ELT
to.period.c:L264 needs to be if(INTEGER(hasVolume)[0]) and to.period.c:L266 needs to be changed similarly, and also needs to reference hasAdjusted instead of hasVolume.
Followups:
Date: 2014-09-22 14:43
Sender: Joshua Ulrich
Fixed in r859.
The text was updated successfully, but these errors were encountered:
Submitted by: Joshua Ulrich
Assigned to: Joshua Ulrich
R-Forge link
Reproducible example:
require(xts)
data(sample_matrix)
x <- as.xts(sample_matrix[,'Close'])
y <- to.monthly(x, name=NULL)
Error in to.period(x, 'months', indexAt = indexAt, name = name, ...) :
attempt to set index 4/4 in SET_STRING_ELT
to.period.c:L264 needs to be if(INTEGER(hasVolume)[0]) and to.period.c:L266 needs to be changed similarly, and also needs to reference hasAdjusted instead of hasVolume.
Followups:
Date: 2014-09-22 14:43
Sender: Joshua Ulrich
Fixed in r859.
The text was updated successfully, but these errors were encountered: