You could delete your 3.5 personal package library (using the File
Explorer with Run as Admin if necessary) and re-install your packages
without running as Admin. If that does not work try uninstalling R and
re-installing 3.5.1.
On December 22, 2018 8:16:11 PM PST, Janh Anni <annijanh at gmail.com> wrote:
This issue only came up after I installed R3.5.2. Never had any
problems
with previous installations. So it is likely a bug in the current
version. Any suggestions what to do now?
On Sat, Dec 22, 2018 at 11:06 PM Jeff Newmiller
<jdnewmil at dcn.davis.ca.us>
wrote:
That normally only occurs if you have at some time used elevated
permissions, beyond which point you fall into a downward spiral of
permissions trouble. You are apparently already in trouble, whether
of your own making or due to a bug in the installer.
Also, never update the system R package library... always use a
library.
On December 22, 2018 6:01:44 PM PST, Janh Anni <annijanh at gmail.com>
Hi Jeff,
No, during the installation, there was not an option to Run as
Administration. But *after *installation, I found that if I
Run
as Administrator, then I could install packages using
as
usual without problems.
Thanks
Janh
On Sat, Dec 22, 2018 at 8:26 PM Jeff Newmiller
<jdnewmil at dcn.davis.ca.us>
wrote:
Did you by any chance use Run As Administrator to install R? If so
you need to uninstall it and delete all files created by it (e.g.
Documents/R/win-lib/3.5/) and re-install using UAC as prompted.
On December 22, 2018 5:10:27 PM PST, Janh Anni
Dear R Experts,
I use Windows 10 and just installed the new R version, R3.5.2 but
I
tried to load a data file using read.table, I got an error
this:
*Error in file(file, "rt") : cannot open the connection*
*In addition: Warning message:*
*In file(file, "rt") :*
* cannot open file 'StreamPCB.dat': No such file or directory*
Also, I couldn't install packages using install.packages as
unless I
run R as Administrator
I wonder if anyone else had the same issues and any suggestions
fix?
Thanks a lot
Janh
[[alternative HTML version deleted]]