简体   繁体   English

RStudio启动错误

[英]RStudio startup error

I am having problems opening RStudio, it worked fine before I got my mouse pad reconfigured. 我在打开RStudio时遇到问题,在重新配置鼠标垫之前,它工作正常。 Here goes... When I open the program, it loads but appears blank. 开始...当我打开程序时,它会加载但显示为空白。 The menu tabs appear but do not populate when clicked. 菜单选项卡出现,但单击时不填充。 I've read a few answers to this one of which involved deleting the 'RStudio-Desktop' within the local files but did not solve the issue. 我已经读过一些答案,其中一个涉及删除本地文件中的“ RStudio-Desktop”,但没有解决问题。 I managed to run the RStudio diagnostic and below is the error message. 我设法运行了RStudio诊断程序,以下是错误消息。 OS is Windows 7. 操作系统是Windows 7。

I would be grateful if anyone can provide some insight regarding this. 如果有人能对此提供一些见解,我将不胜感激。

Attempting to launch R session... R_HOME=C:\\PROGRA~1\\R\\R-33~1.1 PATH=C:\\Program Files\\R\\R-3.3.1\\bin\\x64;C:\\WINDOWS\\Orant\\product\\11.2.0\\client _1\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\Syste>m 32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Intel\\OpenCL SDK\\3.0\\bin\\x86;C :\\Program Files (x86)\\Intel\\OpenCL SDK\\3.0\\bin\\x64;C:\\Program Files\\Intel\\WiFi\\b in\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files (x86)\\M icrosoft Application Virtualization Client;C:\\Program Files (x86)\\QuickTime\\QTSy stem\\ 尝试启动R会话... R_HOME = C:\\ PROGRA〜1 \\ R \\ R-33〜1.1 PATH = C:\\ Program Files \\ R \\ R-3.3.1 \\ bin \\ x64; C:\\ WINDOWS \\ Orant \\ product \\ 11.2.0 \\ client _1 \\ bin; C:\\ WINDOWS \\ system32; C:\\ WINDOWS; C:\\ WINDOWS \\ System32 \\ Wbem; C:\\ WINDOWS \\ Syste> m 32 \\ WindowsPowerShell \\ v1.0 \\; C:\\ Program Files(x86)\\ Intel \\ OpenCL SDK \\ 3.0 \\ bin \\ x86; C:\\ Program Files(x86)\\ Intel \\ OpenCL SDK \\ 3.0 \\ bin \\ x64; C:\\ Program Files \\ Intel \\ WiFi \\ b in \\; C:\\ Program Files \\ Common Files \\ Intel \\ WirelessCommon \\; C:\\ Program Files(x86)\\ M icrosoft Application Virtualization Client; C:\\ Program Files(x86)\\ QuickTime \\ QTSy stem \\

R session launched, attempting to connect on port 44157... R会话已启动,尝试在端口44157上进行连接...

Connected to R session, attempting to initialize... 已连接到R会话,正在尝试初始化...

13 Oct 2016 16:04:22 [rsession-B859XXXX] ERROR system error 5 (Access is denied) [path=//mshsrmsapppXXXX/B859XXXX$]; 2016年10月13日16:04:22 [rsession-B859XXXX]错误系统错误5(访问被拒绝)[path = // mshsrmsapppXXXX / B859XXXX $]; OCCURRED AT: rstudio::core::Error rstudio:: core::FilePath::makeCurrentPath(bool) const C:\\Users\\Administrator\\rstudio\\src\\c pp\\core\\FilePath.cpp:978; 在以下位置发生:rstudio :: core :: Error rstudio :: core :: FilePath :: makeCurrentPath(bool)const C:\\ Users \\ Administrator \\ rstudio \\ src \\ c pp \\ core \\ FilePath.cpp:978; LOGGED FROM: int main(int, char* const*) C:\\Users\\Admi nistrator\\rstudio\\src\\cpp\\session\\SessionMain.cpp:3202 QApplication::qAppName: Please instantiate the QApplication object first 记录自:int main(int,char * const *)C:\\ Users \\ Admi nistrator \\ rstudio \\ src \\ cpp \\ session \\ SessionMain.cpp:3202 QApplication :: qAppName:请首先实例化QApplication对象

C:\\Program Files\\RStudio> C:\\ Program Files \\ RStudio>

Thanks, Mits 谢谢,Mits

Error 5 would suggest that the application is being written to those directories which does not have write privileges. 错误5建议将应用程序写入没有写权限的目录。 Make sure those folders have write privileges. 确保这些文件夹具有写权限。

You can also try running RStudio application as Administrator. 您也可以尝试以管理员身份运行RStudio应用程序。 To do so, Click on Start -> RStudio ( right click) -> Run as administrator. 为此,请单击开始-> RStudio(右键单击)->以管理员身份运行。

I had similar problems installing R and RStudio on Windows 8.1 in C:\\Program Files. 我在Windows 8.1的C:\\ Program Files中安装R和RStudio时遇到类似的问题。 From Vista, Windows places multiple restrictions on systems folders such as %windir% and %ProgramFiles% . 在Vista中,Windows对系统文件夹(例如%windir%%ProgramFiles%多个限制。

Uninstall and re-install in a folder where you are not restricted, such as C:\\Apps or similar. 卸载并重新安装在不受限制的文件夹中,例如C:\\Apps或类似文件夹。 You should hopefully have no further issues. 希望您不会再有其他问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM