Hi, I tried executing the following statement multiple times on R 3.4 and it worked only the first time. In older versions of R it seems to have worked. Am I doing anything wrong? In R 3.4 (works only the first time) tmp <- installed.packages() #this works tmp <- installed.packages() ## See error below Error in if (file.exists(dest) && file.mtime(dest) > file.mtime(lib) && : missing value where TRUE/FALSE needed in R 3.3.3 works well when executed multiple times. tmp <- installed.packages() #this works tmp <- installed.packages() #this works tmp <- installed.packages() #this works Thanks and Regards, Anil Sent from Outlook<http://aka.ms/weboutlook> [[alternative HTML version deleted]]
Try R-3.4.0 patched. Best, Uwe Ligges On 01.06.2017 03:54, Anil Dabral wrote:> Hi, > > I tried executing the following statement multiple times on R 3.4 and it worked only the first time. In older versions of R it seems to have worked. Am I doing anything wrong? > > > In R 3.4 (works only the first time) > > tmp <- installed.packages() #this works > > tmp <- installed.packages() ## See error below > > > Error in if (file.exists(dest) && file.mtime(dest) > file.mtime(lib) && : > missing value where TRUE/FALSE needed > > > > in R 3.3.3 works well when executed multiple times. > > tmp <- installed.packages() #this works > > tmp <- installed.packages() #this works > > tmp <- installed.packages() #this works > > > Thanks and Regards, > > Anil > > Sent from Outlook<http://aka.ms/weboutlook> > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. >
Thank you. The patched version worked. Installing R 3.4 patched was little tricky because windows SmartScreen Filter kept blocking. But finally, I got it installed. Regards, Anil Sent from Outlook<http://aka.ms/weboutlook> ________________________________ From: Uwe Ligges <ligges at statistik.tu-dortmund.de> Sent: Thursday, June 1, 2017 1:24:49 PM To: Anil Dabral; r-help at r-project.org Subject: Re: [R] installed.packages() does not work properly Try R-3.4.0 patched. Best, Uwe Ligges On 01.06.2017 03:54, Anil Dabral wrote:> Hi, > > I tried executing the following statement multiple times on R 3.4 and it worked only the first time. In older versions of R it seems to have worked. Am I doing anything wrong? > > > In R 3.4 (works only the first time) > > tmp <- installed.packages() #this works > > tmp <- installed.packages() ## See error below > > > Error in if (file.exists(dest) && file.mtime(dest) > file.mtime(lib) && : > missing value where TRUE/FALSE needed > > > > in R 3.3.3 works well when executed multiple times. > > tmp <- installed.packages() #this works > > tmp <- installed.packages() #this works > > tmp <- installed.packages() #this works > > > Thanks and Regards, > > Anil > > Sent from Outlook<http://aka.ms/weboutlook> > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. >[[alternative HTML version deleted]]