When I am running the following using RStudio, I get the following error message. Can anyone help to fix the issue?
library('DatastreamDSWS2R')
options(Datastream.Username = 'XXXXXXX')
options(Datastream.Password = 'XXXXXXXX')
mydsws <- dsws$new()
Error in http_statuses[[as.character(status)]] : subscript out of bounds