<div dir="ltr">Não sei te falar porque não sei estrutura do endereço dos arquivos no <span style="font-family:Arial;font-size:13px">"</span><a href="http://mega.co.nz/" target="_blank" style="font-family:Arial;font-size:13px">mega.co.nz</a><span style="font-family:Arial;font-size:13px">". Passa um endereço de um arquivo de texto do seu </span><span style="font-family:Arial;font-size:13px">"</span><a href="http://mega.co.nz/" target="_blank" style="font-family:Arial;font-size:13px">mega.co.nz</a><span style="font-family:Arial;font-size:13px">", que eu tento ver. Em tese seria seria substituir o endereço raiz na função.</span><div style>
<span style="font-family:Arial;font-size:13px">Daniel</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/11 Mauro Sznelwar <span dir="ltr"><<a href="mailto:sznelwar@uol.com.br" target="_blank">sznelwar@uol.com.br</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff">
<div><font face="Arial">Só vale para o Dropbox? Como ficaria no "<a href="http://mega.co.nz" target="_blank">mega.co.nz</a>", que
é o que eu uso? Já usei o datafile host também.</font></div>
<blockquote style="BORDER-LEFT:#000000 2px solid;PADDING-LEFT:5px;PADDING-RIGHT:0px;MARGIN-LEFT:5px;MARGIN-RIGHT:0px"><div class="im">
<div>Isso não vai ler o arquivo, mas vai salva-lo no diretório de
trabalho:</div>
</div><div dir="ltr"><div class="im">
<div>Talvez alguem possa modificar a função para ler o arquivo na
memória.</div>
<div><font face="Arial"></font><br></div>
</div><div class="im"><div>
<div>get.dropbox <- function(file, token) {</div>
<div> require(RCurl, quietly=TRUE)</div>
<div> bin <- getBinaryURL(paste0("<a href="https://dl.dropboxusercontent.com/u/" target="_blank">https://dl.dropboxusercontent.com/u/</a>",
token, "/", file),</div>
<div> ssl.verifypeer = FALSE)</div>
<div> con <- file(file, open = "wb")</div>
<div> writeBin(bin, con)</div>
<div> close(con)</div>
<div> message(noquote(paste(file, "read
into", getwd())))
</div>
<div> }</div>
<div><font face="Arial"></font><br></div>
<div># teste</div>
<div>get.dropbox("descarga.csv", "755659")</div>
<div># ler na mem</div>
<div><span style="FONT-FAMILY:arial,sans-serif;FONT-SIZE:13px">dat.desc1
<- read.delim("</span><a style="FONT-FAMILY:arial,sans-serif;FONT-SIZE:13px" href="http://dl.dropbox.com/u/755659/descarga.csv" target="_blank">descarga.csv</a><span style="FONT-FAMILY:arial,sans-serif;FONT-SIZE:13px">",</span><span style="FONT-FAMILY:arial,sans-serif;FONT-SIZE:13px">sep=",") </span><br>
</div>
<div><font face="Arial"></font><br></div>
<div><font face="Arial"></font><br></div></div></div></div>
<div class="gmail_extra"><font face="Arial"></font><br><br> </div></blockquote></div>
<br>_______________________________________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br">R-br@listas.c3sl.ufpr.br</a><br>
<a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>
Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>
<div style="font-family:Calibri,sans-serif;font-size:16px"><font face="Verdana"><span style="font-family:arial;font-size:10pt">\begin{signature}</span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:10pt">Daniel Marcelino</span><br style="font-family:arial;font-size:small">
<span style="font-family:arial;font-size:10pt">☁ </span><a href="mailto:dm.silva@umontreal.ca" style="font-family:arial;font-size:small" target="_blank">dm.silva@umontreal.ca</a><span style="font-family:arial;font-size:10pt"> </span><br style="font-family:arial;font-size:small">
<span style="font-family:arial;font-size:10pt">☎ (514) 343 6111 #3799</span></font></div><div style="font-family:Calibri,sans-serif;font-size:16px"><font face="Verdana"><span style="font-family:arial;font-size:13px">Skype: d.marcelino </span></font></div>
<div style="font-family:Calibri,sans-serif;font-size:16px"><font face="Verdana"><span style="font-family:arial;font-size:10pt">✎ 3200 Jean Brillant, Office C5071</span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:10pt">Montreal, QC; H3T 1N8</span><br style="font-family:arial;font-size:small">
<span style="font-family:arial;font-size:10pt">Canada</span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:10pt">\end{signature}</span></font></div><div style="font-family:Calibri,sans-serif;font-size:16px">
<font face="Verdana"><span style="font-family:arial;font-size:13px"><br></span></font></div><div style="font-family:Calibri,sans-serif;font-size:16px"><font face="Verdana"><span style="font-family:arial;font-size:13px">"Small steps toward a much better world"</span></font></div>
</div>