install.packages

Installing packages on Microsoft R Open fails

别等时光非礼了梦想. 提交于 2019-12-01 22:25:51
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 command ERROR: compilation > failed for package ‘colorspace’ > * removing ‘/home/myFilePath/R/x86_64-pc-linux-gnu-library/3.5/colorspace’ > Warning in install.packages : installation of package ‘colorspace’ > had non-zero exit status > * installing *source* package ‘mnormt’ ... > ** package ‘mnormt’ successfully unpacked and MD5 sums checked > ** libs

Installing Rglpk on linux

淺唱寂寞╮ 提交于 2019-12-01 21:43:45
问题 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 glpk-dev glpk-devel-4.40-1.1.el6.x86_64 Thanks for your help, 回答1: Hi what I did was the following as a sudoer cd usr local wget http://ftp.gnu.org/gnu/glpk/glpk-4.54.tar.gz tar xfzv glpk-4.54.tar.gz mkdir GLPK ./configure make make install then download the Rglpk_0

“Non Zero Exit Status” R 3.6.0 “Biobase”

眉间皱痕 提交于 2019-12-01 19:34:16
I need to install different packages on R. The OS is ubuntu for windows. When I try "BiocManager::install("Biobase") I get the following error: ** R ** data ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries mv: cannot move '/home/mark/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-Biobase/00new/Biobase' to '/home/mark/R/x86_64-pc-linux-gnu-library/3.6/Biobase':

AWS Linux Server install R package

不打扰是莪最后的温柔 提交于 2019-12-01 16:44:23
I try to install the package "data.table" (and "aws.s3)" via Rstudio Server on an Amazon Linux instance following this guide: http://stanke.co/category/r/ Unfortunately, I get the following error message. I really don't know what else to do. Can anybody help? I installed devtools and I am able to install other packages such as xml2, devtools and deplyr. I had the same issue on AWS and already fixed. You need first install gcc64 and openmp shared support library. sudo yum install gcc64 sudo yum install libgomp Then under your user home create an .R folder with a Makevars file in it, with the

pass configure arguments to install packages in R

你说的曾经没有我的故事 提交于 2019-12-01 16:31:20
I am trying to install a package in R from the CRAN repository. I have to pass a flag at the configure stage, but I can't figure out how to do it in install.packages : > install.packages("Rmpfr") .......... checking mpfr.h usability... no checking mpfr.h presence... no checking for mpfr.h... no configure: error: Header file mpfr.h not found; **maybe use --with-mpfr-include=INCLUDE_PATH** (Note: I have MPFR installed in a custom location, since I am not root). But how do I pass a specific flag with argument to the install.package command of R ? .e.g " --with-mpfr-include=/path/to/mpfr/include "

pass configure arguments to install packages in R

↘锁芯ラ 提交于 2019-12-01 16:07:36
问题 I am trying to install a package in R from the CRAN repository. I have to pass a flag at the configure stage, but I can't figure out how to do it in install.packages : > install.packages("Rmpfr") .......... checking mpfr.h usability... no checking mpfr.h presence... no checking for mpfr.h... no configure: error: Header file mpfr.h not found; **maybe use --with-mpfr-include=INCLUDE_PATH** (Note: I have MPFR installed in a custom location, since I am not root). But how do I pass a specific flag

AWS Linux Server install R package

只愿长相守 提交于 2019-12-01 16:03:49
问题 I try to install the package "data.table" (and "aws.s3)" via Rstudio Server on an Amazon Linux instance following this guide: http://stanke.co/category/r/ Unfortunately, I get the following error message. I really don't know what else to do. Can anybody help? I installed devtools and I am able to install other packages such as xml2, devtools and deplyr. 回答1: I had the same issue on AWS and already fixed. You need first install gcc64 and openmp shared support library. sudo yum install gcc64

R install package RevoScaleR

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 15:59:41
问题 In trying to install package "RevoScaleR", I get the following error. I have tried installing this package with various versions of R but get the same error every time. Does anyone have any idea why? install.packages("RevoScaleR") Warning in install.packages : package ‘RevoScaleR’ is not available (for R version 3.1.2) Any help is appreciated. 回答1: I am not sure what R version you are currently using but the latest stable version is 3.1.2. If the package installation warning is telling that

Error installing 'topicmodels' package, non zero exit status; Ubuntu

↘锁芯ラ 提交于 2019-12-01 03:40:46
On Ubuntu 14.04, trusty: install.packages('topicmodels') Error message: compilation terminated. make: *** [ctm.o] Error 1 ERROR: compilation failed for package ‘topicmodels’ * removing ‘/home/.../R/x86_64-pc-linux-gnu-library/3.1/topicmodels’ The downloaded source packages are in ‘/tmp/Rtmp1L79dj/downloaded_packages’ Warning message: In install.packages("topicmodels") : installation of package ‘topicmodels’ had **non-zero exit status** I found out that on two of my Ubuntu installations, the non-zero exit status was caused by not having the gsl package. However, it took me quite sometime before

Can't access User Library in R - “Non-Zero Exit Status” warning

江枫思渺然 提交于 2019-11-30 09:58:20
When I tried to install packages on my work laptop, I got an error. I've been told that I have full privileges with the laptop, so there should be no blocks. I think it might be something to do with the file path to the library where installed packages go? I'm using both the latest version of R and R Studio, 64-bit, and using Canada's U of T CRAN mirror site. Here is what comes up when I try to install plyr with install.packages("plyr") also installing the dependency ‘Rcpp’ Packages which are only available in source form, and may need compilation of C/C++/Fortran: ‘Rcpp’ ‘plyr’ And when I try