
Oi, Lucas. Dei uma olhada no stackoverflow e parece que alguém teve sua mesma dúvida: http://stackoverflow.com/questions/4832560/how-do-i-tell-the-r-interpreter-h... " You have two options: 1. Use --internet2 or setInternet2(TRUE) and set the proxy details in the control panel, in Internet Options 2. Do not use either --internet2 or setInternet2(FALSE), but specify the environment variables One trick is, you cannot change your mind between 1 and 2, after you have tried it in a session, i.e. if you run the command setInternet2(TRUE) and try to use it e.g. install.packages('reshape2'), should this fail, you cannot then call setInternet2(FALSE). You have to restart the R session. When using option 2, one way (which is nice and compact) to specify the username and password is http_proxy=" http://user:password@proxy.example.com:8080/" In the past, I have had most luck with option 2 " Espero que ajude. [?] Atenciosamente, David Feitosa (\_(\ (=°;°) (("")("") Em 30 de maio de 2014 11:35, <luc.souza@usp.br> escreveu:
Prezados, estou com um problema e na verdade não sei bem como explicá-lo:
Sou funcionário da CONAB e para acessar a internet tenho que colocar meu login e senha. Alguns sites preciso de liberação para baixar dados. Por exemplo, para baixar dados de clima do site do inmet. Já consegui liberação e ao acessar o site, consigo baixar os dados normalmente. Quando uso um script do R para baixar os dados automaticamente, fala que não consegue se conectar ao host. Minha dúvida é se tem algum parâmetro do R em que ele leia meu login e senha e consiga identificar o proxy.
Não sei se passei minha dúvida corretamente. Obrigado Lucas
Lucas F. de Souza Eng. Agrícola - CONAB M.Sc. Produção Vegetal - UENF Doutor em Agrometeorologia - ESALQ/USP tel: (19) 98160-7068
_______________________________________________ R-br mailing list R-br@listas.c3sl.ufpr.br https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código mínimo reproduzível.