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

unix - grep command not match start of new line with another regex -

sql - calculate weighted average for each day and id based on time intervals in PostgreSQL -

Sort a complex associative array in PHP -