软件包doMC不适用于install.packages中的R版本3.0.0警告 [英] package doMC NOT available for R version 3.0.0 warning in install.packages

查看:782
本文介绍了软件包doMC不适用于install.packages中的R版本3.0.0警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于某些软件包,例如doMC& doSMP,我得到了警告&无法使用库(doMC). 如下所示,我对subselect没有任何问题,因此没有文件/目录权限问题. 还尝试了repo = http://cran.us.r-project.org &其他人,没有运气. 请指教.

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:对于意外的日语字符,我一无所知;我认为这是一个单独的问题; support.rstudio.org/help/discussions/problems/6009-japanese-characters-show-unexpectedly尚未回复

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 install.packages :
  package 租oMC・is not available (for R version 3.0.0)
Installing package into 舛:/Users/YULE/Documents/R/win-library/3.0・(as 鼠ib・is unspecified)
Warning in install.packages :
  package 租oMC・is not available (for R version 3.0.0)
> install.packages('subselect')
Installing package into 舛:/Users/YULE/Documents/R/win-library/3.0・(as 鼠ib・is unspecified)
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/subselect_0.12-2.zip'
Content type 'application/zip' length 1295653 bytes (1.2 Mb)
opened URL
downloaded 1.2 Mb

package 壮ubselect・successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\YULE\AppData\Local\Temp\Rtmp6DK5mn\downloaded_packages
> library(subselect)
---------------------------------------------------------------------------------
> sessionInfo()
R version 3.0.0 (2013-04-03)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

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

other attached packages:
[1] subselect_0.12-2 XML_3.96-1.1     colorspace_1.2-2 RGtk2_2.20.25    rattle_2.6.26   

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

推荐答案

由于您使用的是Windows,因此我认为它不可用. doMC程序包在Windows上从未可用,因为它依赖于mclapply函数,此功能之前是multicore程序包,现在是parallel.我还没有听说过R 3.0.0中的doMC有任何问题.

I assume it's not available to you because you're using Windows. The doMC package has never been available on Windows because it depends on the mclapply function, before in the multicore package and now in parallel. I haven't heard of any issues with doMC in R 3.0.0.

doSMP软件包旨在作为Windows的doMC替代产品.我认为,由于在较新版本的GCC上构建它时出现问题,最终将其从CRAN中删除了.

The doSMP package was intended to be the Windows alternative to doMC. I believe it was eventually taken off CRAN because of problems building it on newer versions of GCC.

doParalleldoSNOW软件包可能是Windows上最受欢迎的foreach后端.

The doParallel and doSNOW packages are probably the most popular foreach backends available for Windows.

这篇关于软件包doMC不适用于install.packages中的R版本3.0.0警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆