问题描述
我想使用glinternet R函数来实现由斯坦福大学教授Trevor Hastie和一名博士生开发的特征提取方法.
I want to use glinternet a R function that implements a feature extraction methodology developed by the Stanford professor Trevor Hastie and a PhD student.
该函数有一个参数numCores.根据用户手册:
The function has an argument numCores. According to the user manual:
我不知道如何启用OpenMP.我有Windows8.
I don't know though how to enable OpenMP. I have Windows 8.
您的建议将不胜感激.
推荐答案
这是glinternet软件包维护者有关此问题的答案:很遗憾,R不支持Windows上的openmp.如果您可以访问linux计算机,您将可能在那里使用并行性."
Here is the answer of the glinternet package maintainer about this issue : "Unfortunately, R does not support openmp on windows. If you have access to a linux machine, you will likely be able to use the parallelism there."
这篇关于我们如何使OpenMP能够使用多个内核-Glintenet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!