Unable to install R packages

Randy Minder

Most times when I attempt to install an R package, I'll get the following error message. The error message I got below occurred when I tried to install a package named "moments". The package was found, downloaded and unpacked but I don't understand why it couldn't be installed. The destination folder does exist. It is not my R working directory though, if that matters.

package ‘moments’ successfully unpacked and MD5 sums checked
Warning in install.packages :
  unable to move temporary installation ‘C:\Users\fs103799\Dropbox\R3.3.1\library\file1da0c1d9622a1\moments’ to ‘C:\Users\fs103799\Dropbox\R3.3.1\library\moments’

The downloaded binary packages are in
    C:\Users\fs103799\AppData\Local\Temp\Rtmp6ZSV46\downloaded_packages
zx8754

I am getting the same issue when installing into Dropbox folder while Dropbox is running, exit Dropbox then try to install, it should work.

install.packages("moments", lib = "C:/xxx/Dropbox/")

I have admin rights on the computer.

R version 3.3.0 (2016-05-03)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Unable to install R packages

From Dev

Unable to install R packages in Ubuntu 18.04

From Dev

Unable to install and load packages

From Dev

Unable to install Go packages

From Dev

Unable to install any packages

From Dev

Unable to install any packages

From Dev

r install.packages to install downloaded packages

From Dev

R install packages from Shell

From Dev

R function to install missing packages

From Java

Unable to install python packages due to enviroment error

From Dev

Unable to install packages from raspbian repo

From Dev

Unable to install packages after deinstalling quagga 0.99.23

From Dev

Unable to install packages with pip (ubuntu 15.10)

From Dev

Unable to install packages on Ubuntu 16.10 Yakkety

From Dev

disk full: unable to install software packages

From Dev

Unable to install two packages in one go

From Dev

Unable to install packages in atom(Ubuntu 17.04)

From Dev

pip install -r: install only new packages

From Dev

Cannot install packages to R after brew install

From Dev

Unable to install R Studio

From Dev

Unable to install R package

From Dev

R packages: RCurl and curl packages install failure on Linux

From Dev

install.packages("methods") failed for R 3.0.1

From Dev

How to install R-packages not in the conda repositories?

From Dev

R, install.packages('devtools') bug

From Dev

Install R packages from Windows CMD

From Dev

Automatically install list of packages in R if necessary

From Dev

R Install Packages Undable to Access Repository

From Dev

R can not install packages on centos 6.5