R studio源代码在QT Creator中构建

时间:2014-09-24 07:02:40

标签: r makefile qt-creator rstudio

我们已经参考了以下链接中提供的步骤来构建r studio源代码

click here

我们使用QT Creator构建源代码,同时运行r studio项目我们得到了 输出如下屏幕截图。如何获得整个输出

R Studio output

我们在运行项目时也遇到了一些错误。请在下面找到错误信息

项目名称:consoleio

Starting C:\rstudio-master\src\qtcreator-build\session\consoleio\consoleio.exe...
Error: Not enough arguments
Usage: consoleio.exe <program> [program-arguments]
C:\rstudio-master\src\qtcreator-build\session\consoleio\consoleio.exe exited with code 1

项目名称:诊断

Starting C:\rstudio-master\src\qtcreator-build\diagnostics\diagnostics.exe...
Log file: rdesktop.log
--------------------------------------------------
04 Aug 2014 08:29:43 [rdesktop] ERROR system error 2 (The system cannot find the file specified); OCCURRED AT: virtual void core::http::NamedPipeAsyncClient::connectAndWriteRequest() C:\Users\Administrator\rstudio\src\cpp\core\include/core/http/NamedPipeAsyncClient.hpp:83; LOGGED FROM: void desktop::NetworkReply::onError(const core::Error&) C:\Users\Administrator\rstudio\src\cpp\desktop\DesktopNetworkReply.cpp:279
07 Aug 2014 11:21:10 [rdesktop] ERROR system error 231 (All pipe instances are busy); OCCURRED AT: virtual void core::http::NamedPipeAsyncClient::connectAndWriteRequest() C:\Users\Administrator\rstudio\src\cpp\core\include/core/http/NamedPipeAsyncClient.hpp:83; LOGGED FROM: void desktop::NetworkReply::onError(const core::Error&) C:\Users\Administrator\rstudio\src\cpp\desktop\DesktopNetworkReply.cpp:279
07 Aug 2014 11:21:11 [rdesktop] ERROR system error 231 (All pipe instances are busy); OCCURRED AT: virtual void core::http::NamedPipeAsyncClient::connectAndWriteRequest() C:\Users\Administrator\rstudio\src\cpp\core\include/core/http/NamedPipeAsyncClient.hpp:83; LOGGED FROM: void desktop::NetworkReply::onError(const core::Error&) C:\Users\Administrator\rstudio\src\cpp\desktop\DesktopNetworkReply.cpp:279…………..

ProjectName:rsession

R Session Exception

ProjectName:urlopener

Starting C:\rstudio-master\src\qtcreator-build\desktop\urlopener\urlopener.exe...
SHIMVIEW: ShimInfo(Complete)
Error: Not enough arguments
C:\rstudio-master\src\qtcreator-build\desktop\urlopener\urlopener.exe exited with code 1

如何解决此错误并在QT创建者中调试r studio源

enter image description here

1 个答案:

答案 0 :(得分:0)

看起来您正试图对抗64位版本的R.以下是如何切换到32位:

  1. 在qtcreator-build目录中打开一个新的命令提示符
  2. 运行desktop \ rstudio.exe
  3. 按Enter键后,按住Ctrl键(或使用Ctrl + Enter键运行命令),并在RStudio启动时保持按住
  4. 当&#34;选择R版本&#34;弹出对话框,选择32位版本的R。
  5. 有关详细信息,请参阅this page(滚动到底部以获取特定于Windows的构建帮助)。