Jose Claudio Faria
2015-Apr-28 11:04 UTC
[R] R 3.2.0 for Windows: error installing local zip packages using repos=NULL
Hello list, I update from R 3.1.3 to R 3.2.0patched today. For all packages I'm getting error message below> install.packages('bpca_1.2-2.zip', repos=NULL)Error in install.packages("bpca_1.2-2.zip", repos = NULL) : type == "both" cannot be used with 'repos = NULL' Is it a bug? Regards, ///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\ Jose Claudio Faria Estatistica UESC/DCET/Brasil joseclaudio.faria at gmail.com Telefones: 55(73)3680.5545 - UESC 55(73)9966.9100 - VIVO 55(73)9100.7351 - TIM 55(73)8817.6159 - OI ///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\ [[alternative HTML version deleted]]
Duncan Murdoch
2015-Apr-28 11:11 UTC
[R] R 3.2.0 for Windows: error installing local zip packages using repos=NULL
On 28/04/2015 7:04 AM, Jose Claudio Faria wrote:> Hello list, > > I update from R 3.1.3 to R 3.2.0patched today. > > For all packages I'm getting error message below > >> install.packages('bpca_1.2-2.zip', repos=NULL) > Error in install.packages("bpca_1.2-2.zip", repos = NULL) : > type == "both" cannot be used with 'repos = NULL' > > Is it a bug?The default for "type" has changed to "both", but it doesn't work with repos=NULL. You need to specify type="binary". It would make sense for the repos=NULL case to guess the type based on the filename. I'll make that change. Duncan Murdoch