Re: [R] Keep on getting message errors when trying to install and load packages

2017-09-21 Thread Jeff Newmiller
This practice is not portable, as not everyone's default file creation permissions allow others to read those files, so putting them outside your home directory isn't necessarily helpful. It is much better to use the default user library within your home directory as suggested by the R install p

Re: [R] Keep on getting message errors when trying to install and load packages

2017-09-21 Thread Thierry Onkelinx
Dear Paul, We install R in C:/R/R-x.y.z and packages in C:/R/library. This makes the packages location independent from the R version. Best regards, ir. Thierry Onkelinx Statisticus/ Statiscian Vlaamse Overheid / Government of Flanders INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE

Re: [R] Keep on getting message errors when trying to install and load packages

2017-09-21 Thread Paul Bernal
Dear Leslie and Thierry, Thank you so much for your kind and extremely valuable replies. Only one doubt remains, which path do you think is the best option to store downloaded packages? Should I set it up so that all installed packages are in the same folder (path) that I installed R? Or can I sim

Re: [R] Keep on getting message errors when trying to install and load packages

2017-09-21 Thread Leslie Rutkowski
Hi Paul, I recently ran into file path conflicts and found the following useful (looks like you already know the answer to 1.): 1. Use .libPaths() to find where packages are being stored. 2. To change this path: Control Panel > search “View advanced system settings” > Environment Var

Re: [R] Keep on getting message errors when trying to install and load packages

2017-09-21 Thread Thierry Onkelinx
Dear Paul, Maybe some of the packages were installed by a user with admin rights and you are installing them with a user how has no admin rights. Thus you have no rights to remove the files created by the admin user. We made clear to our IT departement that they only may install R and not additio

Re: [R] Keep on getting message errors when trying to install and load packages 2

2017-09-20 Thread David Winsemius
> On Sep 20, 2017, at 7:26 AM, Paul Bernal wrote: > > Dear all, > > Is it normal for R to store installed packages in paths like the following? > > C:\Users\PaulBernal\AppData\Local\Temp\RtmpgXA5VS\downloaded_packages Yes. Packages are first built or unpacked in a temporary directory and then

[R] Keep on getting message errors when trying to install and load packages 2

2017-09-20 Thread Paul Bernal
Dear all, Is it normal for R to store installed packages in paths like the following? C:\Users\PaulBernal\AppData\Local\Temp\RtmpgXA5VS\downloaded_packages Regards, Paul [[alternative HTML version deleted]] __ R-help@r-project.org mailing li

[R] Keep on getting message errors when trying to install and load packages

2017-09-20 Thread Paul Bernal
Dear R friends, I am currently using Windows 8, 64-bit operating system, x64-based processor. I have installed R version 3.4.1 "Single Candle". Also, I have several packages installed in this path: C:\Users\PaulBernal\Documents\R\win-library\3.4 Plus some other packages installed in this other