如何在 ubuntu 上设置 Eclipse + StatET + Rcpp

How to set up Eclipse + StatET + Rcpp on ubuntu

本文关键字:Eclipse StatET Rcpp 设置 ubuntu      更新时间:2023-10-16

我使用了以下手册并为rcpp设置了eclipse。

http://blog.fellstat.com/?p=170

我可以为 R 构建包,但是当我想要调试它时出现以下错误:

Error in dyn.load(file, DLLpath = DLLpath, ...) : 
unable to load shared object '/usr/lib/R/library/stats/libs/stats.so':
libRlapack.so: cannot open shared object file: No such file or directory
During startup - Warning message:
package ‘stats’ in options("defaultPackages") was not found 
Error: could not find function "errorOccured"
Execution halted

我在 ubuntu 中使用 eclipse。

谢谢

我没有在交叉 G++ 链接器>共享库设置中选中共享选项。之后,必须启用 -fPic (其他标志)。

问题是我可以毫无错误地构建它,但我仍然无法在日食中运行它!它创建了libMyCppPackage,并希望运行MyCppPackage!

  The program file specified in the launch configuration does not exist
  /media/EXt4ENC/Rcpp/MyCppPackage/Debug/MyCppPackage not found

abd 此链接无济于事:http://hyperspec.wordpress.com/2012/05/07/ides/