api - How to use proxy for R? -


i want use google api, in country china not free connect google, in r using api need way

after several hours try, make it. in order others go through hardest part

i post answer below

proxy_url <- "http://127.0.0.1:61387/" sys.setenv(http_proxy = proxy_url, https_proxy = proxy_url, ftp_proxy = proxy_url) 

you need record proxy url , tell r setting , set, believe works people have restriction on internet

cheers~~


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -