Using MAC computer, I created a file called “task.so” by typing the following command in RStudio Terminal:
R CMD SHLIB task.cpp
My R code calls this "task.so" file. However, the “task.so” file seems to work only in MAC computer but not in Window PC. How could I create a similar binary executable file that functions like file “task.so” that can run in Window PR Rstudio?