FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Join Date
    Mar 2009
    Location
    Manchester
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    RStudio problem with Fedora 24

    Dear All

    Using

    Linux xxx.manchester.ac.uk 4.5.7-300.fc24.x86_64 #1 SMP Wed Jun 8 18:12:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
    Fedora release 24 (Twenty Four)
    Dell Optiplex 790


    I updated to Fedora 24 and whilst RStudio starts there is nothing displayed outside the applications top toolbar and when I click on any of the options, File, Edit, Code etc nothing appears.
    I was using rstudio-0.99.891-1.x86_64 so I removed that and installed rstudio-0.99.902-x86_64.rpm still not working.


    Cheers Paul

  2. #2
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    This is what I see in my system ..




    What DE are you using?
    Attached Images Attached Images

  3. #3
    Join Date
    Mar 2009
    Location
    Manchester
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    [paulj@pjux machines]$ ps -eaf | grep gnome
    gdm 1415 1391 0 09:24 tty1 00:00:00 /usr/libexec/gdm-wayland-session gnome-session --autostart /usr/share/gdm/greeter/autostart
    gdm 1458 1415 0 09:24 tty1 00:00:00 /usr/libexec/gnome-session-binary --autostart /usr/share/gdm/greeter/autostart
    gdm 1577 1458 0 09:24 tty1 00:00:04 /usr/bin/gnome-shell
    gdm 1617 1403 0 09:25 ? 00:00:00 /usr/libexec/at-spi2-registryd --use-gnome-session
    gdm 1661 1458 0 09:25 tty1 00:00:00 /usr/libexec/gnome-settings-daemon
    paulj 1827 1 0 10:22 ? 00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --login
    paulj 1830 1806 0 10:22 tty2 00:00:00 /usr/libexec/gdm-x-session --run-script gnome-session
    paulj 1843 1830 0 10:22 tty2 00:00:00 /usr/libexec/gnome-session-binary
    paulj 1896 1812 0 10:22 ? 00:00:00 /usr/libexec/at-spi2-registryd --use-gnome-session
    paulj 1935 1843 0 10:22 tty2 00:01:47 /usr/bin/gnome-shell

    Will try xfce

  4. #4
    Join Date
    Jan 2015
    Location
    Lab, Slovakia
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    If you launch it from a terminal, then you should get some error messages. That may give you a clue as to what is the matter.
    --
    Have fun!
    http://www.aeronetworks.ca

  5. #5
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    Quote Originally Posted by paulj_j
    [paulj@pjux machines]$ ps -eaf | grep gnome
    gdm 1415 1391 0 09:24 tty1 00:00:00 /usr/libexec/gdm-wayland-session gnome-session --autostart /usr/share/gdm/greeter/autostart
    gdm 1458 1415 0 09:24 tty1 00:00:00 /usr/libexec/gnome-session-binary --autostart /usr/share/gdm/greeter/autostart
    gdm 1577 1458 0 09:24 tty1 00:00:04 /usr/bin/gnome-shell
    gdm 1617 1403 0 09:25 ? 00:00:00 /usr/libexec/at-spi2-registryd --use-gnome-session
    gdm 1661 1458 0 09:25 tty1 00:00:00 /usr/libexec/gnome-settings-daemon
    paulj 1827 1 0 10:22 ? 00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --login
    paulj 1830 1806 0 10:22 tty2 00:00:00 /usr/libexec/gdm-x-session --run-script gnome-session
    paulj 1843 1830 0 10:22 tty2 00:00:00 /usr/libexec/gnome-session-binary
    paulj 1896 1812 0 10:22 ? 00:00:00 /usr/libexec/at-spi2-registryd --use-gnome-session
    paulj 1935 1843 0 10:22 tty2 00:01:47 /usr/bin/gnome-shell

    Will try xfce
    Hmmm .. wayland-session ..

    Can you try an X11 session and see if you can reproduce the probem?

  6. #6
    Join Date
    Mar 2009
    Location
    Manchester
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    Tried Mate, XFCE Gnome Classic and all fail.

    For example using Mate

    paulj 2559 2065 7 15:51 tty2 00:00:00 mate-terminal
    paulj 2567 2559 1 15:51 pts/0 00:00:00 bash
    paulj 2606 2567 0 15:51 pts/0 00:00:00 ps -eaf
    [paulj@pjux ~]$ which rstudio
    /usr/bin/rstudio
    [paulj@pjux ~]$ rstudio
    "TypeError: undefined is not an object (evaluating 'window.desktopHooks.notifyRCrashed')"
    QApplication::qAppName: Please instantiate the QApplication object first
    [paulj@pjux ~]$

  7. #7
    Join Date
    Mar 2009
    Location
    Manchester
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    Stopped Wayland and still no joy.

    [paulj@pjux ~]$ cat /etc/gdm/custom.conf
    # GDM configuration storage

    [daemon]
    # Uncoment the line below to force the login screen to use Xorg
    WaylandEnable=false

  8. #8
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    Let's try two things -

    1/ please post output of

    Code:
     rstudio --run-diagnostics
    2/ Can you run rstudio as root (su - or sudo)?

  9. #9
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    Searching your error message online lead me to this - https://support.rstudio.com/hc/en-us...ly-shows-menus

    Can you also check if this is applicable in your case?

  10. #10
    Join Date
    Mar 2009
    Location
    Manchester
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    [paulj@pjux ~]$ rstudio --run-diagnostics
    24 Jun 2016 15:23:03 [rdesktop] ERROR R did not return any output when queried for directory location information; LOGGED FROM: bool rstudio::core::r_util::{anonymous}::detectRLocatio nsUsingR(const string&, rstudio::core::FilePath*, rstudio::core::FilePath*, rstudio::core::config_utils::Variables*, std::string*) /home/fedora/rstudio/src/cpp/core/r_util/REnvironmentPosix.cpp:488
    24 Jun 2016 15:23:03 [rdesktop] ERROR system error 71 (Protocol error) [description=Unable to parse version from R, version-info=]; OCCURRED AT: rstudio::core::Error rstudio::core::r_util::rVersion(const rstudio::core::FilePath&, const rstudio::core::FilePath&, std::string*) /home/fedora/rstudio/src/cpp/core/r_util/REnvironmentPosix.cpp:773; LOGGED FROM: bool rstudio::core::r_util::detectREnvironment(const rstudio::core::FilePath&, const rstudio::core::FilePath&, const string&, std::string*, std::string*, rstudio::core::r_util::EnvironmentVars*, std::string*) /home/fedora/rstudio/src/cpp/core/r_util/REnvironmentPosix.cpp:681

    Using R script: /usr/local/bin/R

    Attempting to launch R session...
    R_HOME=/usr/local/lib64/R
    R_DOC_DIR=/usr/local/lib64/R/doc
    R_INCLUDE_DIR=/usr/local/lib64/R/include
    R_SHARE_DIR=/usr/local/lib64/R/share
    LD_LIBRARY_PATH=/usr/local/lib64/R/lib::/lib:/usr/local/lib64:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.92-1.b14.fc23.x86_64/jre/lib/amd64/server
    PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/paulj/anaconda2/bin:/home/paulj/bin:/home/paulj/anaconda2/bin
    HOME=/home/paulj

    R session launched, attempting to connect on port 18476...
    /usr/lib/rstudio/bin/rsession: error while loading shared libraries: libicuuc.so.54: cannot open shared object file: No such file or directory

    Connected to R session, attempting to initialize...

    QApplication::qAppName: Please instantiate the QApplication object first

  11. #11
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    I think I found your problem.

    Code:
    dnf install libicu
    Try to launch rstudio after you install this.

  12. #12
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    I removed libicu using

    Code:
     rpm -e libicu --nodeps
    After removing, I ran diagonostics (output below). When I launch rstudio, I got every symptom described in your first post.

    Code:
    $ rstudio --run-diagnostics
    24 Jun 2016 15:32:17 [rdesktop] ERROR R did not return any output when queried for directory location information; LOGGED FROM: bool rstudio::core::r_util::{anonymous}::detectRLocationsUsingR(const string&, rstudio::core::FilePath*, rstudio::core::FilePath*, rstudio::core::config_utils::Variables*, std::string*) /home/fedora/rstudio/src/cpp/core/r_util/REnvironmentPosix.cpp:488
    24 Jun 2016 15:32:17 [rdesktop] ERROR system error 71 (Protocol error) [description=Unable to parse version from R, version-info=]; OCCURRED AT: rstudio::core::Error rstudio::core::r_util::rVersion(const rstudio::core::FilePath&, const rstudio::core::FilePath&, std::string*) /home/fedora/rstudio/src/cpp/core/r_util/REnvironmentPosix.cpp:773; LOGGED FROM: bool rstudio::core::r_util::detectREnvironment(const rstudio::core::FilePath&, const rstudio::core::FilePath&, const string&, std::string*, std::string*, rstudio::core::r_util::EnvironmentVars*, std::string*) /home/fedora/rstudio/src/cpp/core/r_util/REnvironmentPosix.cpp:681
    
    Using R script: /usr/bin/R
    
    Attempting to launch R session...
      R_HOME=/usr/lib64/R
      R_DOC_DIR=/usr/share/doc/R
      R_INCLUDE_DIR=/usr/include/R
      R_SHARE_DIR=/usr/share/R
      LD_LIBRARY_PATH=/usr/lib64/R/lib::/lib:/usr/lib/jvm/jre/lib/amd64/server:/usr/lib/jvm/jre/lib/amd64:/usr/lib/jvm/java/lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib
      PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/mukundan/.local/bin:/home/mukundan/bin
      HOME=/home/mukundan
    
    R session launched, attempting to connect on port 43744...
    /usr/lib/rstudio/bin/rsession: error while loading shared libraries: libicuuc.so.56: cannot open shared object file: No such file or directory
    
    Connected to R session, attempting to initialize...
    
    QApplication::qAppName: Please instantiate the QApplication object firs

  13. #13
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    DId the solution above work for you?

  14. #14
    Join Date
    Mar 2009
    Location
    Manchester
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    Well :-)
    rpm -e libicu --nodeps
    dnf install libicu

    The R didn't start
    [paulj@pjux ~]$ R
    /usr/local/lib64/R/bin/exec/R: error while loading shared libraries: libicuuc.so.54: cannot open shared object file: No such file or directory

    So I re-built my R from source (don't ask why I don't use the repo's version of R) and whilst R now runs still the same issue with rstudio

    [paulj@pjux R-3.3.0]$ rstudio --run-diagnostics

    Using R script: /usr/local/bin/R

    Attempting to launch R session...
    R_HOME=/usr/local/lib64/R
    R_DOC_DIR=/usr/local/lib64/R/doc
    R_INCLUDE_DIR=/usr/local/lib64/R/include
    R_SHARE_DIR=/usr/local/lib64/R/share
    LD_LIBRARY_PATH=/usr/local/lib64/R/lib::/lib:/usr/local/lib64:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.92-1.b14.fc24.x86_64/jre/lib/amd64/server
    PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/paulj/anaconda2/bin:/home/paulj/bin:/home/paulj/anaconda2/bin
    HOME=/home/paulj

    R session launched, attempting to connect on port 44228...
    /usr/lib/rstudio/bin/rsession: error while loading shared libraries: libicui18n.so.54: cannot open shared object file: No such file or directory

    Connected to R session, attempting to initialize...

    QApplication::qAppName: Please instantiate the QApplication object first

    Uninstalled rstudio, re-installed it, still same error message about libicui18n.so.54


    Fun continues

  15. #15
    Join Date
    Nov 2006
    Location
    Detroit
    Posts
    10,415
    Mentioned
    134 Post(s)
    Tagged
    0 Thread(s)

    Re: RStudio problem with Fedora 24

    Yeah, I noticed this after upgrading to F24 on my work machine. F24 comes with the libicu-56 package, not libicu-54. My temporary workaround was to do this (as root):
    Code:
    ln -s /usr/lib64/libicui18n.so.56 /usr/lib64/libicui18n.so.54
    ln -s /usr/lib64/libicuuc.so.56 /usr/lib64/libicuuc.so.54
    ldconfig
    That creates symbolic links with the right version number.

    To see all the libraries your R executable is expecting to find (in case others are missing), run this:
    Code:
    ldd /usr/local/lib64/R/bin/exec/R
    OS: Fedora 45 x86_64 | DE/WM: Window Maker (X11) | Machine: Lenovo ThinkCentre M91P | CPU: Intel Core i5-2500 (4)@3.30GHz | RAM: 32GB PC3-12800 DDR3 | Disks: Seagate Barracuda ST500DM002 500GB SATA, Seagate Constellation ES.3 ST1000NM0033 1TB SATA | Video: Intel HD Graphics 2000 128MB | Sound: Turtle Beach Santa Cruz CS4630 | Ethernet: Intel 82579LM

Page 1 of 2 12 LastLast

Similar Threads

  1. Fedora 21 and Rstudio
    By Sierra10 in forum Using Fedora
    Replies: 2
    Last Post: 19th December 2014, 01:21 AM
  2. Replies: 28
    Last Post: 29th January 2011, 01:49 PM
  3. Replies: 1
    Last Post: 30th July 2010, 11:01 AM
  4. Fedora newbie, windows problem, network problem
    By dustin0 in forum Using Fedora
    Replies: 24
    Last Post: 21st October 2007, 06:47 AM
  5. Fedora 7 install problem (nVidia SATA raid problem?)
    By jdmclemore in forum Installation, Upgrades and Live Media
    Replies: 12
    Last Post: 23rd July 2007, 04:03 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •