install.packages

How to not need user input for install.packages(type = “both”)

扶醉桌前 提交于 2019-12-10 19:57:12
问题 Normally, install.packages(..., type = "both") requires user input if there is a package that needs to be built from source. For example (currently, with R 3.5.1), install.packages(c("feather", "tidyr"), type = "both")) will install tidyr from binary and feather from source, as long as there is a user to click "yes" when it gets to the feather install. Is there a way to automatically click yes, or not require user input through some of the options to install.packages() ? Note: install

Unable to install xlsx package on R version 3.1.3

元气小坏坏 提交于 2019-12-10 19:10:14
问题 When I run install.packages("xlsx") I get this: Installing package into ‘C:/Users/Zahra/Documents/R/win-library/3.1’ (as ‘lib’ is unspecified) Warning: unable to access index for repository https://rweb.quant.ku.edu/cran/bin/windows/contrib/3.1 Warning: unable to access index for repository http://www.rforge.net/bin/windows/contrib/3.1 Warning message: package ‘xlsx’ is not available (as a binary package for R version 3.1.3) I already tried setRepositories and a couple of more things but no

unable to install R-package from github

江枫思渺然 提交于 2019-12-10 15:37:15
问题 I'm trying to install a flowIncubator package from github (link to the package: https://github.com/RGLab/flowIncubator). I'm using R version 3.3.1 (2016-06-21). I've tried this code: devtools::install_github("RGLab/flowIncubator") & get this error: Error in curl::curl_fetch_disk(url, x$path, handle = handle) : Timeout was reached > traceback() 12: .Call(R_curl_fetch_disk, url, handle, path, "wb", nonblocking) 11: curl::curl_fetch_disk(url, x$path, handle = handle) 10: request_fetch.write_disk

I want to use EBImage package but it says it is not available for my version of R

谁都会走 提交于 2019-12-10 14:11:22
问题 Warning in install.packages : package ‘EBImage’ is not available (for R version 3.2.4 Revised) what to do now any help,please guide me. 回答1: Install the latest release of R, then get the latest version of Bioconductor by starting R and entering the commands install.packages("BiocManager") BiocManager::install("EBImage") library(EBImage) Install specific packages, e.g., “GenomicFeatures” and “AnnotationDbi”, with BiocManager::install(c("GenomicFeatures", "AnnotationDbi")) 回答2: EBImage is

Installation of RQuantLib

扶醉桌前 提交于 2019-12-10 10:46:23
问题 I tried to install RQuantLib from RStudio, but it has given me problems. I updated my R version to 3.3.1 and tried to use the usual way of installing a package ( install.packages("RQuantLib") ) as recommended on the webpage of the author (http://dirk.eddelbuettel.com/code/rquantlib.html). However, it gave the following error message : Warning in install.packages : package ‘RQuantLib’ is not available (for R version 3.3.1) I tried installing it on different computers too, but I got the same

Error: package or namespace load failed for ‘car’

烈酒焚心 提交于 2019-12-08 19:30:00
问题 I'm unable to load the car package in R. I tried reinstalling using install.packages("car",dependencies=TRUE) both from R and RStudio. I tried installing quantreg as advised in another post and then installing it again. Installation appears to be successful, but simply can't load the program. Here's the complete error: Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘pbkrtest’ In addition: Warning message: package ‘car’ was

Warning “downloaded length != reported length” in installing packages from CRAN

若如初见. 提交于 2019-12-08 14:28:08
问题 Searching on stackoverflow questions, I found out this link: Error in file.download when downloading custom file . However, my case is a little bit different (I think): 1) I get this annoying warning when installing some packages from CRAN (or also just some dependencies that get generally installed together with the required package). 2) The downloaded length always appear to be equal to the reported length, so there should be no warning. As an example, I copy-paste here the warning that has

Install packages does not work: Permission denied

时光毁灭记忆、已成空白 提交于 2019-12-08 03:33:16
问题 I'm struggling to install the package "psych". I started to use the command install.packages("psych") . The download started and the result was the following: Installing package into ‘C:/Users/Username/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) also installing the dependency ‘mnormt’ trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/mnormt_1.5-5.zip' Content type 'application/zip' length 373388 bytes (364 KB) downloaded 364 KB trying URL 'https://cran.rstudio.com/bin

Unable to install package car

梦想与她 提交于 2019-12-07 10:47:06
问题 I am using R version 3.2.3 in Linux mint 17.3 64 bit. I was trying to install the package "car" with dependencies=TRUE , but the installation failed with the following error messages: > warnings() Warning messages: 1: In install.packages("car", dependencies = T) : installation of package ‘minqa’ had non-zero exit status 2: In install.packages("car", dependencies = T) : installation of package ‘RcppEigen’ had non-zero exit status 3: In install.packages("car", dependencies = T) : installation

Install packages does not work: Permission denied

北慕城南 提交于 2019-12-06 18:25:26
I'm struggling to install the package "psych". I started to use the command install.packages("psych") . The download started and the result was the following: Installing package into ‘C:/Users/Username/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) also installing the dependency ‘mnormt’ trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/mnormt_1.5-5.zip' Content type 'application/zip' length 373388 bytes (364 KB) downloaded 364 KB trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/psych_1.8.4.zip' Content type 'application/zip' length 5741178 bytes (5.5 MB)