R

RStudio 실행 안되는 문제 해결하기

'김용환' 2016. 3. 3. 18:20


Mac에서 RStudio 설치 후, 실행하면, 에러 팝업만 뜨는 경우를 해결하는 방법이다.


/Applications/RStudio.app/Content/MacOS 디렉토리에 RStudio가 설치되어 있는데, 로그가 따로 발생하지 않는다.


여기서 /Applications/RStudio.app/Content/MacOS/diagnostics 를 실행하면 에러의 원인을 확인할 수 있다. 




예를 들어.. 에러의 원인에 대해서 다음과 같이 확인할 수 있다.


/Applications/RStudio.app/Contents/MacOS$ ./diagnostics


[rstudio-diagnostics] ERROR system error 17 (File exists) [path=/Users/Samuel/.rstudio-desktop, target-dir=];



즉.. 에러가 안나고 RStudio를 실행하려면, .rstudio-desktop 파일을 삭제한다.