When I am trying to publish my work in R Pubs I am getting an error:
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
Calls: rpubsUpload ... <Anonymous> -> .postForm -> .Call -> <Anonymous> -> fun
Execution halted
Is there anyway to resolve it ?
Add an .Rprofile file in the directory you are sending from and place this line:
options(rpubs.upload.method = "internal")
in the .Rprofile
or RProfile.site
files.
I had the similar problem. I copied the options(rpubs.upload.method = "internal")
as described by @Tyler Rinker at the end of the .RProfile. The .RProfile
file was located in \library\base\R
folder of installation directory.
I had also the same error message.
I found solution for my problem on Rstudio support page.
In short, I added:
options(rpubs.upload.method = "internal")
options(RCurlOptions = list(verbose = FALSE, capath = system.file("CurlSSL", "cacert.pem", package = "RCurl"), ssl.verifypeer = FALSE))
to R_HOME/etc/Rprofile.site
.
And do not forget to change permissions for this file.
My system:
sysname release machine
"Windows" "7 x64" "x86-64"
R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
You need to have an account in Rpubs. Also i have copied options(rpubs.upload.method = "internal") in .RProfile as suggested above and after doing that i just ran my .Rmd file and then published and it works fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With