R package that automatically uses several cores?

前端 未结 6 897
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 16:28

I have noticed that R only uses one core while executing one of my programs which requires lots of calculations. I would like to take advantage of my multi-core processor to

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-29 17:30

    R can only make use of multiple cores with the help of add-on packages, and only for some types of operation. The options are discussed in detail on the High Performance Computing Task View on CRAN

    Update: From R Version 2.14.0 add-on packages are not necessarily required due to the inclusion of the parallel package as a recommended package shipped with R. parallel includes functionality from the multicore and snow packages, largely unchanged.

提交回复
热议问题