I am connecting to DatastreamDSWS2R via a http_proxy to get past our company firewall (proxy defined in .Renviron file) and am getting the following error:
Error in rjson::fromJSON(myTokenResponse) : unexpected character '<'
Can somebody help me make sense of this mistake?
I have sofar never been able to connect to DatastreamDSWS2R via R
Hi @Marvin, I finally managed to solved the problem by getting a proxy port from my company and defining this and my Datastream username and password in a .Renviron file like this:
http_proxy_user=UNAME:PASSWORD DatastreamUsername=DATASTREAMUSERNAME DatastreamPassword=DATASTREAMPASSWORD
options(Datastream.Username = "DATASTREAMUSERNAME") options(Datastream.Password = "DATASTREAMPASSWORD")