Ask Your Question
4

Is openmp supported by rtools in Windows R when using it?

asked 2023-06-02 00:57:07 +0000

nofretete gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-06-02 01:10:02 +0000

scrum gravatar image

Yes, OpenMP is supported by Rtools in Windows R. Rtools provides the necessary compilers and libraries for OpenMP in R on Windows. To use OpenMP in R on Windows, you need to add the compiler flag for OpenMP (-fopenmp) in the Makevars file. This file can be located in the ~\Documents.R\ folder. Then, you can use the parallel programming functions in R to parallelize your code using OpenMP.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-02 00:57:07 +0000

Seen: 18 times

Last updated: Jun 02 '23