Hi Jeff, No, during the installation, there was not an option to Run as Administration. But *after *installation, I found that if I selected Run as Administrator, then I could install packages using install.packages as usual without problems.
Thanks Janh On Sat, Dec 22, 2018 at 8:26 PM Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote: > Did you by any chance use Run As Administrator to install R? If so then > 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 <annij...@gmail.com> wrote: > >Dear R Experts, > > > >I use Windows 10 and just installed the new R version, R3.5.2 but when > >I > >tried to load a data file using read.table, I got an error message like > >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 usual, > >unless I > >run R as Administrator > > > >I wonder if anyone else had the same issues and any suggestions how to > >fix? > > > >Thanks a lot > >Janh > > > > [[alternative HTML version deleted]] > > > >______________________________________________ > >R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > >https://stat.ethz.ch/mailman/listinfo/r-help > >PLEASE do read the posting guide > >http://www.R-project.org/posting-guide.html > >and provide commented, minimal, self-contained, reproducible code. > > -- > Sent from my phone. Please excuse my brevity. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.