[R] installed.packages() does not work properly

Anil Dabral anil.dabral at live.com
Thu Jun 1 03:54:51 CEST 2017


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]]



More information about the R-help mailing list