mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 00:28:42 +00:00
R Use Rf_PrintValue not Rcpp::print
.. slowly removing all the Rcpp dependencies.
This commit is contained in:
@@ -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(""));
|
||||
|
||||
Reference in New Issue
Block a user