<div dir="ltr">André,<div><br></div><div>Uma forma sutil de esse problema aparecer na instalação de pacotes no Windows é ele estar carregado pelo R na sessão que você está usando para fazer a instalação.</div><div><br></div><div>Certifique-se que você começa de uma imagem sem carga de nenhum pacote que deseja atualizar ou reinstalar para evitar esse tipo de erro.</div><div><br></div><div>HTH</div><div>--</div><div>Cesar Rabak</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 27, 2020 at 9:11 AM Andre Oliveira por (R-br) <<a href="mailto:r-br@listas.c3sl.ufpr.br">r-br@listas.c3sl.ufpr.br</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:"bookman old style","new york",times,serif;font-size:16px" dir="ltr">bom dia,<br><font style="background-color:rgb(255,255,255)">m<span style="text-align:left;color:rgb(0,0,0);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:"bookman old style","new york",times,serif;font-size:16px;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;word-spacing:0px;white-space:normal;float:none;display:inline">esmo depois de executar o R como administrador</span></font> tenho alguns problemas para instalar alguns pacotes no R (<span style="text-align:left;color:rgb(28,30,33);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:"bookman old style","new york",times,serif;font-size:13px;font-style:normal;font-variant:normal;text-decoration:none;word-spacing:0px;white-space:normal;float:none;background-color:rgb(255,255,255);display:inline"><b>nlme</b><font size="3" style="background-color:transparent"><font color="#000000"> <b>e</b></font></font></span><font color="#000000"> <span style="text-align:left;text-transform:none;text-indent:0px;letter-spacing:normal;font-family:inherit;font-style:normal;font-variant:normal;text-decoration:none;word-spacing:0px;white-space:normal;float:none;background-color:rgb(255,255,255);display:inline"><b>lubridate</b></span></font> entre outros). Alguma dica para solução deste problema? <br><br> </div><div style="font-family:"bookman old style","new york",times,serif;font-size:16px" dir="ltr"><span style="text-align:left;color:rgb(28,30,33);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:inherit;font-size:13px;font-style:normal;font-variant:normal;text-decoration:none;word-spacing:0px;white-space:normal"><span style="font-family:inherit"><b><font size="3"></font>> install.packages("nlme")</b></span></span></div><div style="font-family:"bookman old style","new york",times,serif;font-size:16px" dir="ltr"><span style="text-align:left;color:rgb(28,30,33);text-transform:none;text-indent:0px;letter-spacing:normal;font-family:inherit;font-size:13px;font-style:normal;font-variant:normal;font-weight:400;text-decoration:none;word-spacing:0px;white-space:normal"><span style="font-family:inherit"><br><span style="font-family:inherit">Installing package into 'C:/Users/andreoliveira/Documents/R/win-library/3.6'</span><br><span style="font-family:inherit">(as 'lib' is unspecified)</span><br><span style="font-family:inherit">tentando a URL '</span><a style="color:rgb(56,88,152);font-family:inherit;text-decoration:none" href="https://cran-r.c3sl.ufpr.br/bin/windows/contrib/3.6/nlme_3.1-147.zip?fbclid=IwAR0Q7UiuiyVjtFl7ioP_TH3_sib12rHZPQrdWPFoxVo--gHpcwfNT3yxiWI" rel="nofollow" target="_blank">https://cran-r.c3sl.ufpr.br/.../contrib/3.6/nlme_3.1-147.zip</a><span style="font-family:inherit">'</span><br><span style="font-family:inherit">Content type 'application/zip' length 2374568 bytes (2.3 MB)</span><br><span style="font-family:inherit">downloaded 2.3 MB</span><br><br><span style="font-family:inherit">package 'nlme' successfully unpacked and MD5 sums checked</span><br><span style="font-family:inherit">Warning: cannot remove prior installation of package 'nlme'</span><br><span style="font-family:inherit">Warning: <b>restored</b> 'nlme'</span><br><br><span style="font-family:inherit">The downloaded binary packages are in</span><br><span style="font-family:inherit"> C:\Users\andreoliveira\AppData\Local\Temp\RtmpMH69CO\downloaded_packages</span><br><span style="font-family:inherit">Warning message:</span><br><span style="font-family:inherit">In file.copy(savedcopy, lib, recursive = TRUE) :</span><br><span style="font-family:inherit"> problem copying C:\Users\andreoliveira\Documents\R\win-library\3.6\<b>00LOCK</b>\nlme\libs\x64\nlme.dll to C:\Users\andreoliveira\Documents\R\win-library\3.6\nlme\libs\x64\nlme.dll:<b> Permission denied</b></span></span></span></div><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><div style="font-family:"bookman old style","new york",times,serif;font-size:16px" dir="ltr"><b></b><br></div><div style="font-family:"bookman old style","new york",times,serif;font-size:16px"><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike><br></div><div style="font-family:"bookman old style","new york",times,serif;font-size:16px"><br></div><div style="font-family:"bookman old style","new york",times,serif;font-size:16px"><div style="font-family:"old times",serif;font-size:16px"><div dir="ltr">att,.</div><div>André </div></div></div></div>_______________________________________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br" target="_blank">R-br@listas.c3sl.ufpr.br</a><br>
<a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br>
</blockquote></div>