Kubuntu 14.04 で R3.1 を実行しており、コードブロックを IDE として使用して、Dirk Eddelbuettels の RInside プログラムを試しています。
http://dirk.eddelbuettel.com/blog/2011/03/25/#rinside_and_qt `
// Copyright (C) 2010 Dirk Eddelbuettel and Romain Francois
//
// GPL'ed
#include <RInside.h> // for the embedded R via RInside
int main(int argc, char *argv[]) {
RInside R(argc, argv); // create an embedded R instance
R["txt"] = "Hello, world!\n"; // assign a char* (string) to 'txt'
R.parseEvalQ("cat(txt)"); // eval the init string, ignoring any returns
exit(0);
}
`
次のエラーが表示されます。
/usr/bin/ld: obj/Debug/main.o ||シンボル 'REprintf' への未定義の参照 |
どのライブラリが欠けているのかわかりません。誰でも知っていますか?
ありがとう