SOLVED - Error in curl: Couldn't connect to server (R)

Hi everyone,

Quick question: I would like to publish a chart on my personal account online. I use R.
I run the following steps:

Sys.setenv(“plotly_username” = “myusername”)
Sys.setenv(“plotly_api_key” = “mykey”)

  1. In order to test the process, I just use the simple example found on the website:

p <- plot_ly(x = c(1, 2), y = c(1, 2))
plotly_POST§

However, it gives me the following error:

Error in curl::curl_fetch_memory(url, handle = handle) : **
Couldn’t connect to server

Anyone able to help me ?

Thanks in avance

Anyone ? Thanks
It’s very important because I would like to be able to psot some stuff on the website.

Hi,
i am new to plotly, i am also facing the same error while to post a simple chart to plotly account.

Error in curl::curl_fetch_memory(url, handle = handle) :
Couldn’t resolve host ‘api.plot.ly

any suggestions…

thanks
venkat.