0 votes
Hi All :
I can not loging using betfairR package on Betfair (I would like to point out that I can do that using my own code)
I get

"Error in if (.xmlp("errorCode", v) != "OK") return(FALSE) :
  argument is of length zero"

Checking the source code "login.Rd" I could see that the code seams to be using the old Betfair API "https://api.betfair.com/global/v3/BFGlobalService" and not the new one "https://api.betfair.com/exchange/betting/json-rpc/v1"

Many thanks Guillermo

PS: There is already a similar question http://answers.betwise.net/478/error-trying-to-login but it did not present any anwers ...
in betfaiR package by califano Plater (120 points)

1 Answer

0 votes
Hi -

Yes the package is now out of date and we will be removing it from the website.

Here is an up to date package for R that works, however:

https://github.com/phillc73/abettor

We also like the Perl package:

https://github.com/MyrddinWyllt/WWW-BetfairNG

Hope this helps
by colin Frankel (19.7k points)
...