rstudio will not start

dewoller's Avatar

dewoller

19 Jul, 2012 01:52 AM

Hi guys

Behaviour
I start rstudio from the command line; it does not start, and I get a repeated error message:

"Invalid splitter position detected: 18/0" "Invalid splitter position detected: 18/0" ...

I am running xmonad window manager on Ubuntu 12.04;

Rstudio started one time immediately after install, but since then, it will not start. I tried
I tried deleting the .rstudio-desktop directory, but that made no difference.

I deleted the file that the log file was complaining about, but that also did not fix it.

It seems related to this error:
http://support.rstudio.org/help/discussions/problems/189-rstudio-on...

  1. 2 Posted by dewoller on 19 Jul, 2012 01:57 AM

    dewoller's Avatar

    Here is my sessionInfo()


    R version 2.14.1 (2011-12-22)
    Platform: i686-pc-linux-gnu (32-bit)

    locale:
    [1] LC_CTYPE=en_AU.UTF-8 LC_NUMERIC=C
    [3] LC_TIME=en_AU.UTF-8 LC_COLLATE=en_AU.UTF-8
    [5] LC_MONETARY=en_AU.UTF-8 LC_MESSAGES=en_AU.UTF-8
    [7] LC_PAPER=C LC_NAME=C
    [9] LC_ADDRESS=C LC_TELEPHONE=C
    [11] LC_MEASUREMENT=en_AU.UTF-8 LC_IDENTIFICATION=C

    attached base packages:
    [1] stats graphics grDevices utils datasets methods base

  2. Support Staff 3 Posted by Joe Cheng on 23 Jul, 2012 06:27 PM

    Joe Cheng's Avatar

    Sorry for the delay, when you say "will not start" does anything appear on the screen at all? And when you say you "get" the error message, I assume you mean that message appears in the log file, not that it's presented in a dialog box?

    Thanks...

  3. 4 Posted by dewoller on 23 Jul, 2012 10:21 PM

    dewoller's Avatar

    Hi Joe

    I start it from the command line. Nothing appears on the screen at all.
    The error message appears repeatedly and continuously, in the console after
    the command line, eg:

    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    > "Invalid splitter position detected: 18/0"
    ...

    Cheers
    Dennis

  4. 5 Posted by dewoller on 26 Jul, 2012 12:35 AM

    dewoller's Avatar

    My ~/.rstudio-desktop/log/rsession-dewoller.log is sometimes empty after this error, but sometimes contains Operation not permitted errors, as in the following:

    19 Jul 2012 01:52:22 [rsession-dewoller] ERROR system error 1 (Operation not permitted) [path=/tmp/qtsingleapp-RStudi-c679-3e8]; OCCURRED AT: uintmax_t core::FilePath::size() const /home/ubuntu/rstudio/src/cpp/core/FilePath.cpp:322; LOGGED FROM: uintmax_t core::FilePath::size() const /home/ubuntu/rstudio/src/cpp/core/FilePath.cpp:322
    19 Jul 2012 01:52:22 [rsession-dewoller] ERROR system error 1 (Operation not permitted) [path=/tmp/qtsingleapp-RStudi-c679-3e8]; OCCURRED AT: uintmax_t core::FilePath::size() const /home/ubuntu/rstudio/src/cpp/core/FilePath.cpp:322; LOGGED FROM: uintmax_t core::FilePath::size() const /home/ubuntu/rstudio/src/cpp/core/FilePath.cpp:322
    19 Jul 2012 01:52:22 [rsession-dewoller] ERROR system error 1 (Operation not permitted) [path=/tmp/qtsingleapp-RStudi-c679-3e8]; OCCURRED AT: uintmax_t core::FilePath::size() const /home/ubuntu/rstudio/src/cpp/core/FilePath.cpp:322; LOGGED FROM: uintmax_t core::FilePath::size() const /home/ubuntu/rstudio/src/cpp/core/FilePath.cpp:322
    19 Jul 2012 01:52:22 [rsession-dewoller] ERROR system error 1 (Operation not permitted) [path=/tmp/qtsingleapp-RStudi-c679-3e8]; OCCURRED AT: uintmax_t core::FilePath::size() const /home/ubuntu/rstudio/src/cpp/core/FilePath.cpp:322; LOGGED FROM: uintmax_t core::FilePath::size() const /home/ubuntu/rstudio/src/cpp/core/FilePath.cpp:322

  5. 6 Posted by Joe on 27 Jul, 2012 08:32 PM

    Joe's Avatar

    I'm also having this same (or very similar) issue on Mountain Lion. I tried uninstalling/reinstalling, while blowing away the ~/.rstudio-desktop folder, and also running a Daily build as well, to no effect. It ran once, and won't run again.

    I get a menu bar, but no application window. When I cd into the .app and run rstudio from the command line, I get the Invalid splitter position detected message as well

  6. Support Staff 7 Posted by Joe Cheng on 27 Jul, 2012 09:56 PM

    Joe Cheng's Avatar

    Can you both try the following?

    • Blow away ~/.rstudio-desktop
    • Try to start RStudio
    • Quit the process (gently, if you can, e.g. on Mac use the app menu to quit; otherwise, forcefully)
    • Tar up .rstudio-desktop (e.g. tar czf rstudio-desktop.tar.gz ~/.rstudio-desktop)
    • Email rstudio-desktop.tar.gz to me at joe AT rstudio DOT org

    Thanks and sorry for this inconvenience!

  7. 8 Posted by Joe on 27 Jul, 2012 10:40 PM

    Joe's Avatar

    So, I have no clue why this worked, but this fixed it:

    1. Install Rstudio 0.96.304
    2. Run
    3. install Rstudio 0.96.316
  8. Support Staff 9 Posted by Joe Cheng on 31 Jul, 2012 03:59 AM

    Joe Cheng's Avatar

    Mac users, please try deleting (or renaming) this file:

    ~/Library/Preferences/com.rstudio.desktop.plist

    You will not be able to see the ~/Library folder in Finder, but if you press Cmd+Shift+G in the Finder then you can directly type ~/Library to go there.

    Linux users, please try deleting

    ~/.config/RStudio/desktop.ini

    And please do come back to let us know if that worked--thanks!

  9. 10 Posted by dewoller on 31 Jul, 2012 05:52 AM

    dewoller's Avatar

    Thanks, that fixed it.

    Dennis

  10. Josh Paulson closed this discussion on 02 Aug, 2012 11:09 PM.

Comments are currently closed for this discussion. You can start a new one.