Skip to content

Is there a way to call R functions in multithread environment?

1 message · 李琥

#
I'm developing program in c++ and R on windows environment. The program is mainly writen using c++ and call R
interface to do some statistic work. The program is multithreaded. However, R can only be initiated once in a process.
Is there a way to call R functions in multithread environment such as start a server to respond the call in local machine? 
Thanks.