How to build RStudio on Ubuntu 18.04?


Rstudio 1.1 on Ubuntu 18.04 does not integrate well with Gnome. This will solve colors and other issues: printf '\nexport QT_STYLE_OVERRIDE=gtk\n' | sudo tee -a ~/.profile + reboot.

However, I notice RStudio hangs after a few minutes on 18.04. I am trying to create a PPA building from source but after updating dependencies (i.e gstreamer1.0 replaces gstreamer0.1) I get this error:

pacha@XPS-13-9360:~/GitHub/rstudio/build$ sudo make install
Buildfile: /home/pacha/GitHub/rstudio/src/gwt/build.xml

   [jscomp] None of the files changed. Compilation skipped.

    [javac] Compiling 1 source file to /home/pacha/GitHub/rstudio/src/gwt/bin

     [java] Compiling module
     [java]    [ERROR] Hint: Check that your module inherits '' either directly or indirectly (most often by inheriting module '')

/home/pacha/GitHub/rstudio/src/gwt/build.xml:110: Java returned: 1

Total time: 7 seconds
src/gwt/CMakeFiles/gwt_build.dir/build.make:57: recipe for target 'gwt_build' failed
make[2]: *** [gwt_build] Error 1
CMakeFiles/Makefile2:106: recipe for target 'src/gwt/CMakeFiles/gwt_build.dir/all' failed
make[1]: *** [src/gwt/CMakeFiles/gwt_build.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
1 Like