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
5
votes
1 answer

Installing package from a local zip file in R

I am trying to install a package in R from a local zip file. I have the zip file on a local drive, but when I go to Packages --> Install a package from a local zip file I get the following warning: > utils:::menuInstallLocal() Error in…
5
votes
1 answer

Install rPython under windows

I tried to install rPython under windows with install.packages("rPython"). However I am getting an error that the package does not exist. Warning in install.packages : package ‘rPython’ is not available (for R version 3.2.5) In the installation…
Peter
  • 355
  • 1
  • 8
  • 23
5
votes
3 answers

Installing Rglpk on linux

I am trying to install Rglpk using the install.packages command. I am getting this error : /bin/sh: line 0: cd: GLPK: No such file or directory make: *** [GLPK.ts] Error 1 The glpk-dev package is already installed : rpm -qa| grep…
Adam Dahmani
  • 671
  • 1
  • 6
  • 5
4
votes
1 answer

R gmp package installation fails; configure: error: Header file gmp.h not found

When trying to install the R gmp package, the installation fails because of the following error: configure: error: Header file gmp.h not found the whole log: > installing *source* package 'gmp' ... > package 'gmp' successfully unpacked and MD5 sums…
BlS
  • 55
  • 4
4
votes
0 answers

installing packages with renv

I open RStudio and type install.packages('rJava') and it works fine. Then I load package which has renv initialized and try the same command and it returns: Error: package 'rJava' is not available In addition: Warning messages: 1: curl: (35)…
user1700890
  • 7,144
  • 18
  • 87
  • 183
4
votes
2 answers

Failing to install panelr package

I am failing to read in the panelr package from the library. I used the package utilising its wbm() function on some panel data earlier this year and I have even tried to install it and I get this message: Warning in install.packages : package…
hzhou
  • 55
  • 6
4
votes
2 answers

Use renv for private GitLab package

I have a local GitLab account with an R package that can be installed by: devtools::install_git( url = "http://my-gitlab/my-projects/package", credentials = git2r::cred_user_pass("user", "pass") ) When I run renv::init() the package source is…
Pete900
  • 2,016
  • 1
  • 21
  • 44
4
votes
3 answers

unable to install.packages('arrow') to read parquet file (read_parquet). Any other way to read parquet file or use any different library?

I'm very new to R or even bash. I'm trying to read Parquet file from my local using read_parquet function, but it requires to install arrow library: install.packages('arrow'), which is taking forever (read it as stuck/hang on installation step) on…
4
votes
1 answer

R install.packages polyclip: where is config.log? No answer in prior posts

Attempting to install R package ggforce encountered following error installing dependency polyclip which referred me to config.log. However, config.log is not found below ~/, /tmp, or /var/log I checked this via find . | grep config[.]log Tried…
Steve Dutky
  • 185
  • 11
4
votes
5 answers

RDCOMClient installation trouble on R-3.6

I cannot install RDCOMClient, using R-3.6 Some background: RDCOMClient works in my R-3.51 instance, and I need to use 3.6, and I need to use RDCOMClient to interact with my desktop's Outlook. mailR and sendmailR are not currently an option. Thing's…
jaramana
  • 67
  • 1
  • 8
4
votes
0 answers

bsts 0.5.1/ 0.6.5 package installation is failing on R 3.2.5 even after installing all dependencies?

Specifications: OS: SLES 11 SP3 R: 3.2.5 BH: 1.65.0-1 Boom: 0.7 BoomSpikeSlab: 0.9.0 xts: 0.10-1 zoo: 1.8-1 bsts: 0.5.1 gcc: gcc 4.3 was installed for R 3.2.5 installation. Also, for Boom 0.7 "SystemRequirements: GNU Make, C++11" I installed gcc…
Shivam Mehrotra
  • 393
  • 2
  • 6
4
votes
2 answers

is there a way to avoid having to install packages every time in R?

I looked around and googled everything I could think of but cannot find a solution to what seems to be a basic problem. I am new to R, and I am working on a couple of projects, from various computers. Every time I open a project, I need to reinstall…
Grig
  • 109
  • 1
  • 10
4
votes
1 answer

No library trees found in 'lib.loc' when installing custom package

I am making a package for functions that I developed for a specific application at work. I was using a guide to make the package using devtools and roxygen2. see guide here https://hilaryparker.com/2014/04/29/writing-an-r-package-from-scratch/ When…
4
votes
0 answers

got error when installing package tseries of R

I got error when installing package tseries of R. Following is the error. The point might be "gfortran: No such file or directory". How do you fix it? > install.packages("tseries") there is a binary version,but a source version: binary …
William Song
  • 577
  • 6
  • 17
4
votes
1 answer

Error: Package or namespace load failed

I am getting the following error when I am loading a few libraries in R: library(forecast) Error : object ‘f_eval’ is not exported by 'namespace:lazyeval' In addition: Warning message: package ‘forecast’ was built under R version 3.3.2 …
ab90hi
  • 435
  • 1
  • 4
  • 11