Is this a curl or package install error?

0 votes

I've installed R and betfaiR in a fresh Windows x64 partition, this time giving R its own folder so as to avoid Windows permission problems.

Unfortunately I see the same warning messages on the first run of library(betfair), as I posted last night.

However if I shut R down, reopen R and run library(betfair) again things appear to be happier. the command library() lists both the base packages, the betfair package and the dependent packages. Their files are all in the library folder.

Nonetheless I cannot login, even having checked parameter settings carefully.

R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"

Copyright (C) 2012 The R Foundation for Statistical Computing

ISBN 3-900051-07-0

Platform: x86_64-pc-mingw32/x64 (64-bit)

 

R is free software and comes with ABSOLUTELY NO WARRANTY.

You are welcome to redistribute it under certain conditions.

Type 'license()' or 'licence()' for distribution details.

 

  Natural language support but running in an English locale

 

R is a collaborative project with many contributors.

Type 'contributors()' for more information and

'citation()' on how to cite R or R packages in publications.

 

Type 'demo()' for some demos, 'help()' for on-line help, or

'help.start()' for an HTML browser interface to help.

Type 'q()' to quit R.

 

> library(betfair)

betfaiR Questions?  Ask at http://answers.betwise.net/

 

Loading required package: bitops

Loading required package: zoo

 

Attaching package: ‘zoo’

 

The following object(s) are masked from ‘package:base’:

 

    as.Date, as.Date.numeric

 

Loading required package: xts

Loading required package: iterators

Loading required package: foreach

foreach: simple, scalable parallel programming from Revolution Analytics

Use Revolution R for scalability, fault tolerance and more.

http://www.revolutionanalytics.com

Loading required package: RCurl

> user = "ABC"

> password = "xyz"

> code = 82

> code

[1] 82

> password

[1] "xyz"

> user

[1] "ABC"

> login(user, password, code)

Error in function (type, msg, asError = TRUE)  :

  SSL certificate problem, verify that the CA cert is OK. Details:

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

>

 

Nearly there!

asked Aug 4, 2012 in betfaiR package by Jacko5 Plater (180 points)

1 Answer

0 votes
curl problem - or rather SSL certificate problem.  Answered previously here:

http://answers.betwise.net/83/betfair-implementation-asking-for-ssl#a87
answered Aug 4, 2012 by colin Frankel (19,280 points)
...