install.packages

install package on windows ERROR: compilation failed for package 'cldr'

孤街醉人 提交于 2020-01-23 12:33:48
问题 url <- "http://cran.us.r-project.org/src/contrib/Archive/cldr/cldr_1.1.0.tar.gz" pkgFile<-"cldr_1.1.0.tar.gz" download.file(url = url, destfile = pkgFile) Console >trying URL 'http://cran.us.r-project.org/src/contrib/Archive/cldr/cldr_1.1.0.tar.gz' Content type 'application/x-gzip' length 2296083 bytes (2.2 MB) ============================== downloaded 2.2 MB install.packages(pkgs = pkgFile, type = "source", repos = NULL) > Installing package into ‘C: / Users / v - xuawan / Documents / R /

cannot install R tseries, quadprog ,xts packages in Linux

跟風遠走 提交于 2020-01-13 19:40:08
问题 I am using R version 3.4.0 I'm trying to install tseries package on linux machine: install.packages('https://cran.cnr.berkeley.edu/src/contrib/tseries_0.10-42.tar.gz',dependencies = TRUE,repos = NULL,type ="source") It gives error: ERROR: compilation failed for package 'xts' * removing '/usr/lib64/R/library/xts' ERROR: dependency 'xts' is not available for package 'TTR' * removing '/usr/lib64/R/library/TTR' ERROR: dependencies 'xts', 'TTR' are not available for package 'quantmod' * removing '

Offline installation of a list of packages: getting dependencies in order

余生长醉 提交于 2020-01-11 17:59:14
问题 I've got the source files for a bunch of packages and their dependencies that I want to install on computers that have no internet access. I want to install all of these on other computers using as USB stick, but the install fails for some packages because the dependencies are not installing before the packages. How can I get the dependencies to be installed in order, before the packages that needs them? Here's my current method to obtain the packages, their dependencies, and get them in the

Offline installation of a list of packages: getting dependencies in order

不羁的心 提交于 2020-01-11 17:59:04
问题 I've got the source files for a bunch of packages and their dependencies that I want to install on computers that have no internet access. I want to install all of these on other computers using as USB stick, but the install fails for some packages because the dependencies are not installing before the packages. How can I get the dependencies to be installed in order, before the packages that needs them? Here's my current method to obtain the packages, their dependencies, and get them in the

Installing packages on Microsoft R Open fails

允我心安 提交于 2019-12-31 01:25:18
问题 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

Installing packages on Microsoft R Open fails

旧城冷巷雨未停 提交于 2019-12-31 01:25:07
问题 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

Octave - How to install packages on Windows

浪子不回头ぞ 提交于 2019-12-30 05:11:11
问题 Question Due to the issue in Fix for Octave urlread causing Peer certificate cannot be authenticated with given CA certificates, I cannot install Octave packages on Windows. Please suggest other ways to install. Particularly I would like to go through Gradients, Gradient Plots and Tangent Planes which requires Symbolic package. 回答1: EDIT: this bug is no longer present in Octave v4.2.1, and the issue described in the Question should no longer occur. Yes, there appears to be a known issue

package doMC NOT available for R version 3.0.0 warning in install.packages

萝らか妹 提交于 2019-12-30 03:18:09
问题 For some packages like doMC & doSMP, i get the warning & inability to library(doMC). As shown below, i have no problem with subselect thus no file/directory permission issue. Also tried repo=http://cran.us.r-project.org & others, no luck. please advise. ps: for the unexpected Japanese characters, i have no clue; i assume that is a separable issue; no response yet from support.rstudio.org/help/discussions/problems/6009-japanese-characters-show-unexpectedly > install.packages('doMC') Warning in

Cannot install the shiny package in R

こ雲淡風輕ζ 提交于 2019-12-25 00:25:50
问题 I am trying to install the shiny package in R but I keep getting this error: ERROR: dependencies 'later', 'promises', 'rlang' are not available for package 'shiny' * removing 'C:/Users/sawyer.keels/Documents/R/win-library/3.2/shiny' The downloaded source packages are in ‘C:\Users\sawyer.keels\AppData\Local\Temp\RtmpuWfNw6\downloaded_packages’ Warning messages: 1: running command '"C:/PROGRA~1/R/R-32~1.4RE/bin/x64/R" CMD INSTALL -l "C:\Users\sawyer.keels\Documents\R\win-library\3.2" C:\Users

How to speed up the package/library loading time in R?

◇◆丶佛笑我妖孽 提交于 2019-12-24 06:34:41
问题 I have a run_stat.r script that can run in command line such as Rscript anova.r on my ubuntu server. And the file content is like: #load package library(ez) #run code.... The problem is that the loading time of ez package would take 2~3 seconds... Can R preload the package one time, and then doesn't need to re-load the same package every time I run the script ? Or do any suggestions of speed up the loading time of the package? Many Thanks!!! 来源: https://stackoverflow.com/questions/42933479