Skip to content

Unable to Install Packages from Binaries on Windows for R 3.2.3

5 messages · Peter Dalgaard, Steve Bronder, Ramnath Vaidyanathan +1 more

#
Installing packages from binaries on Windows seems broken, when using
mirrors that are up to date with CRAN

install.packages(
  'httr',
  type = 'binary',
  repos = "https://cran.rstudio.com/"
)

Changing repos to the Kansas CRAN mirror installs the package as expected,
but that could be because the KS mirror has not yet synced.

Someone pointed out that the PACKAGES.gz file at
https://cran.r-project.org/bin/windows/contrib/3.2/ seems to be corrupted
(0 KB), and this could be the issue.
#
It's at 202K now in both places. Perhaps just retry?

-pd

  
    
#
Removing 'type=binary' worked for me.

install.packages(
   'httr',
    repos = "https://cran.rstudio.com/"
)

But I get an error when I select binary as type
---
 install.packages(
     'httr',
     type = 'binary',
     repos = "https://cran.rstudio.com/"
 )
Error in install.packages : type 'binary' is not supported on this platform.
---

Same error for another package
---
install.packages(
    'lme4',
    type = 'binary',
    repos = "https://cran.rstudio.com/")

Error in install.packages : type 'binary' is not supported on this platform
---

 Platform session info below:

sessionInfo()
R version 3.2.3 (2015-12-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.4 LTS




Regards,

Steve Bronder
Website: stevebronder.com
Phone: 412-719-1282
Email: sbronder at stevebronder.com
On Sat, Feb 27, 2016 at 11:33 AM, peter dalgaard <pdalgd at gmail.com> wrote:

            

  
  
#
It works for me now. Thanks.

Ramnath
On Sat, Feb 27, 2016 at 8:33 AM, peter dalgaard <pdalgd at gmail.com> wrote:

            

  
  
#
Hi Steve,

CRAN only compiles packages for Windows and OS X, so this is a) completely
expected and b) completely unrelated to the issue being discussed in this
thread.

Best,
Ista
On Feb 27, 2016 12:32 PM, "Steve Bronder" <sbronder at stevebronder.com> wrote: