并行包在 R 3.3.1 (Ubuntu 14.04) 中不可用

Parallel package is not available in R 3.3.1 (Ubuntu 14.04)

我正在用我的电脑做一些繁重的工作。我希望 R 使用 4 个处理器。但是,一次使用一个。我认为 parallel 包可能有用,但不可用。我能做什么?

当我尝试安装时出现如下

> install.packages("parallel")
Installing package into ‘/home/hector/R/x86_64-pc-linux-gnu-library/3.3’
Warning in install.packages :
  package ‘parallel’ is not available (for R version 3.3.1)
Warning in install.packages :
  package ‘parallel’ is a base package, and should not be updated

这是我的 sessionInfo:

> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.4 LTS

locale:
  [1] LC_CTYPE=es_CL.UTF-8       LC_NUMERIC=C               LC_TIME=es_CL.UTF-8       
  [4] LC_COLLATE=es_CL.UTF-8     LC_MONETARY=es_CL.UTF-8    LC_MESSAGES=es_CL.UTF-8   
  [7] LC_PAPER=es_CL.UTF-8       LC_NAME=C                  LC_ADDRESS=C              
  [10] LC_TELEPHONE=C             LC_MEASUREMENT=es_CL.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
  [1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
  [1] tools_3.3.1

一些包作为推荐包随 R 一起提供,例如 parallelcompilermgcv。您不需要安装或更新它们;当您升级 R 版本时,如果有新的软件包版本可用,它们也会升级。

这些包不会在 R 启动时加载;但是你可以通过

立即得到它们
library(parallel)
library(compiler)
library(mgcv)

等等。