Questions tagged [install.packages]

The R function to install packages from a specified package repository.

The R function to install packages from a specified package repository.

590 questions
4
votes
1 answer

Issues with installing caret package of R in archlinux

I am trying to install the package caret in R for sometime now, and I am getting this error message: *installing *source* package ‘minqa’ ... ** package ‘minqa’ successfully unpacked and MD5 sums checked ** libs gfortran -fpic -g -O2 -c altmov.f…
motiur
  • 1,640
  • 9
  • 33
  • 61
4
votes
4 answers

"unable to move temporary installation" when installing dependency packages in R

When I install a package, the prerequisite packages were installed first before the actual package. I get the "unable to move temporary installation" warning for all the prerequisite packages, but no such warning for the actual package. But the…
Ricky
  • 4,616
  • 6
  • 42
  • 72
4
votes
1 answer

R, car package unable to load

I'm new with R, and I'm having some trouble loading the car library. I use Windows 8.1 (64 bit) and i'm working in 32 bit R environment. I downloaded the library just fine, but when i try to load the car library using library(car) the message i get…
Tamara Sternlieb
  • 43
  • 1
  • 1
  • 4
4
votes
1 answer

Not able to install packages in R with install.packages()

I have installed R Version 3.0.2. I am trying to run association analysis on a dataset. While trying to install the arules package, using the code: install.packages(“arules”) I get and error: Error: unexpected input in…
user3278533
  • 41
  • 1
  • 3
4
votes
3 answers

Installing packages on R fails when loading .Rprofile

When I try to install packages in R, installation almost always fails if my .Rprofile is loaded. When I load R with the --vanilla flag, however, I am able to install packages without problems. Here is the output of an R session with the problem. I…
Lincoln Mullen
  • 6,257
  • 4
  • 27
  • 30
3
votes
1 answer

install.packages() ignoring option to convert warning to error?

I'm trying to find a simple way to make install.packages() throw an error if it fails (rather than just a warning). What I've tried Setting options(warn=2) converts warnings into errors. Example: options(warn=2) warning() # Error: (converted from…
stevec
  • 41,291
  • 27
  • 223
  • 311
3
votes
0 answers

install.packages('dplyr') in container generates "Warning: unable to access index for repository"

Here is my Dockerfile: FROM rocker/r-ver:4.0.4 RUN R -e "install.packages('dplyr')" During image build process it generates error: > install.packages('dplyr') Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is…
user1700890
  • 7,144
  • 18
  • 87
  • 183
3
votes
0 answers

installing and removing odbc R package on Windows 10

I am trying to install odbc R package. install.packages('odbc') generates: trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/odbc_1.3.0.zip' Content type 'application/zip' length 1319460 bytes (1.3 MB) downloaded 1.3 MB package ‘odbc’…
user1700890
  • 7,144
  • 18
  • 87
  • 183
3
votes
3 answers

BaylorEdPsych Package for RStudio; Can't install package

I am trying to use the Littles Test out of the BayorEdPsych-Package to test for MCAR assumption. For whatever reason though, my R can't find this package. Is it even still available? My R Version: R 4.0.3 GUI 1.73 My R Studio Version: Version…
Christina
  • 73
  • 6
3
votes
1 answer

How do I resolve "Warning: unable to access index for repository"?

I cannot install almost all packages such as dplyr too. It also mentioned that my C drive is not writable. How do I solve this issue? My codes are as follows. install.packages("kernlab") Installing package into ‘C:/Users/EliteBook…
Fana
  • 31
  • 1
  • 1
  • 2
3
votes
1 answer

unable to compile package 'maps'

When I install the package "maps", there's a warning in the installation: ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20…
3
votes
0 answers

unable to install package data.table in R 3.5.1

I am using below script to install some packages. All the packages are getting installed except package data.table. # ipak function: install and load multiple R packages. # check to see if packages are installed. Install them if they are not, then…
zubug55
  • 729
  • 7
  • 27
3
votes
1 answer

Installing packages on Microsoft R Open fails

I've never had any issues installing packages on R, but I always have issues installing packages on Microsoft R Open. For example, I attempted to install tidyverse. I received many errors, listed below: > Warning in system(cmd) : error in running…
orangeman51
  • 531
  • 5
  • 19
3
votes
4 answers

Unable to install packages from amazon repo on AWS EC2 instance Ubuntu

I'm having an EC2 instance on AWS, contains platform as Ubuntu. I'm unable to install anything from the command line toolsudo apt-get install The result pops out on screen is like > ubuntu@ip-XX-XX-XX-XX:~$ sudo apt install awscli Reading…
chikku
  • 863
  • 1
  • 7
  • 19
3
votes
1 answer

R Package Error(s)

I'm running into a bunch of errors when trying to install any packages on R 3.4.4 on Windows 7. Originally, installed.packages() wasn't even working. I had to create the temp directory manually that it was trying to access. I've previously…
A. Reynolds
  • 65
  • 1
  • 6