From c0bbbc44e4eab70bbb39e117d88ce877e9136687 Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Mon, 25 Apr 2016 23:07:42 +0100 Subject: [PATCH] R Use Rf_PrintValue not Rcpp::print .. slowly removing all the Rcpp dependencies. --- src/Charts/RChart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Charts/RChart.cpp b/src/Charts/RChart.cpp index dbeac797a..415309fd7 100644 --- a/src/Charts/RChart.cpp +++ b/src/Charts/RChart.cpp @@ -161,7 +161,7 @@ void RConsole::keyPressEvent(QKeyEvent *e) // if this isn't an assignment then print the result // bit hacky, there must be a better way! if(rc == 0 && ret != NULL && !Rf_isNull(ret) && !line.contains("<-") && !line.contains("print")) - Rcpp::print(ret); + Rf_PrintValue(ret); QStringList &response = rtool->callbacks->getConsoleOutput(); putData(GColor(CPLOTMARKER), response.join(""));