软件包doMC在安装程序中不能用于R版本3.0.0警告。

时间:2022-05-18 13:17:38

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.

对于像doMC & doSMP这样的包,我得到了警告和无法库(doMC)。如下所示,我对子选择没有问题,因此没有文件/目录权限问题。还尝试了repo=http://cran.us.r-project.org等,没有运气。请建议。

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

ps:对于意料之外的日本人物,我没有头绪;我认为这是一个可分离的问题;没有回应来自support.rstudio.org/help/discussions/s/6009 -日语字符-show-出乎意料。

> 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

2 个解决方案

#1


8  

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.

我认为你不能使用它,因为你在使用Windows。doMC包在Windows上从来没有出现过,因为它依赖于mclapply函数,之前在多核包中,现在是并行的。我没有听说过doMC在r3.0.0中的任何问题。

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.

doSMP包的目的是作为doMC的Windows替代方案。我相信它最终因为在新版本的GCC中构建它而被取消了。

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

doParallel和doSNOW包可能是Windows中最受欢迎的版本。

#2


12  

If you want to install it for windows, here it how you can:

如果你想把它安装到windows上,你可以这样做:

install.packages("doMC", repos="http://R-Forge.R-project.org")

I did it for R 3.2.3 version and it works well.

我用的是R。3.2.3版本,效果很好。

#1


8  

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.

我认为你不能使用它,因为你在使用Windows。doMC包在Windows上从来没有出现过,因为它依赖于mclapply函数,之前在多核包中,现在是并行的。我没有听说过doMC在r3.0.0中的任何问题。

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.

doSMP包的目的是作为doMC的Windows替代方案。我相信它最终因为在新版本的GCC中构建它而被取消了。

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

doParallel和doSNOW包可能是Windows中最受欢迎的版本。

#2


12  

If you want to install it for windows, here it how you can:

如果你想把它安装到windows上,你可以这样做:

install.packages("doMC", repos="http://R-Forge.R-project.org")

I did it for R 3.2.3 version and it works well.

我用的是R。3.2.3版本,效果很好。