Running compiled C++ code with Rcpp

前端 未结 3 571
清歌不尽
清歌不尽 2021-02-06 00:53

I have been working my way through Dirk Eddelbuettel\'s Rcpp tutorial here:

http://www.rinfinance.com/agenda/

I have learned how to save a C++ file

3条回答
  •  感情败类
    2021-02-06 01:08

    You say

    I have never used C++ until now, but I know that when I compile C code I get an *.exe file

    and that is true if and only you build an executable. Here, we build dynamically loadable libraries and those thend to have different extensionos depending on the operating system: .dll for Windoze, .so for Linux, .dynlib for OS X.

    So nothing wrong here, you simply had the wrong assumption.

提交回复
热议问题