Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 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
like image 686
Yu Le Avatar asked May 09 '13 02:05

Yu Le


2 Answers

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.

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.

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

like image 186
Steve Weston Avatar answered Nov 16 '22 05:11

Steve Weston


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

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

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

As Erdogan mentioned, it works for R 4.x.x versions as well.

like image 27
Manoj Kumar Avatar answered Nov 16 '22 03:11

Manoj Kumar