R Studio opens as black screen and doesn't work

Hi! I am a linux mint user and for the past months I have been using RStudio without any problem. Last week, I tried to open RStudio but it just opens a black screen that is not working unfortunately. I've run a diagnose that I am pasting below but since I am not very tech savy dont particularly understand the outcome. Could someone help me please!

[1] "1.2.5033"

$R
[1] "/usr/bin/R"

$pdflatex
[1] ""

$bibtex
[1] ""

$gcc
[1] "/usr/bin/gcc"

$git
[1] "/usr/bin/git"

$svn
[1] ""

R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Linux Mint 19

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

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

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

loaded via a namespace (and not attached):
[1] compiler_3.6.3 tools_3.6.3

SysInfo:
sysname
"Linux"
release
"4.15.0-91-generic"
version
"#92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020"
nodename
"negri"
machine
"x86_64"
login
"edu"
user
"edu"
effective_user
"edu"

R Version:
_
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 6.3
year 2020
month 02
day 29
svn rev 77875
language R
version.string R version 3.6.3 (2020-02-29)
nickname Holding the Windsock
$_
[1] "/usr/bin/rstudio"

$_R_CHECK_COMPILATION_FLAGS_KNOWN_
[1] "-Wformat -Werror=format-security -Wdate-time"

$CINNAMON_VERSION
[1] "3.8.9"

$CLICOLOR_FORCE
[1] "1"

$COLORTERM
[1] "truecolor"

$DBUS_SESSION_BUS_ADDRESS
[1] "unix:path=/run/user/1000/bus"

$DEFAULTS_PATH
[1] "/usr/share/gconf/cinnamon.default.path"

$DESKTOP_SESSION
[1] "cinnamon"

$DISPLAY
[1] ":0"

$EDITOR
[1] "vi"

$GDM_LANG
[1] "es_ES"

$GDMSESSION
[1] "cinnamon"

$GIT_ASKPASS
[1] "rpostback-askpass"

$GJS_DEBUG_OUTPUT
[1] "stderr"

$GJS_DEBUG_TOPICS
[1] "JS ERROR;JS LOG"

$GNOME_DESKTOP_SESSION_ID
[1] "this-is-deprecated"

$GNOME_TERMINAL_SCREEN
[1] "/org/gnome/Terminal/screen/70a74b9e_6157_491e_a22d_eab1908e2b56"

$GNOME_TERMINAL_SERVICE
[1] ":1.566"

$GPG_AGENT_INFO
[1] "/run/user/1000/gnupg/S.gpg-agent:0:1"

$GTK_MODULES
[1] "gail:atk-bridge"

$GTK_OVERLAY_SCROLLING
[1] "1"

$HOME
[1] "/home/edu"

$LANG
[1] "es_PY.UTF-8"

$LANGUAGE
[1] "es_PY:es"

$LD_LIBRARY_PATH
[1] "/usr/lib/R/lib::/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/lib/server"

$LESSCLOSE
[1] "/usr/bin/lesspipe %s %s"

$LESSOPEN
[1] "| /usr/bin/lesspipe %s"

$LN_S
[1] "ln -s"

$LOGNAME
[1] "edu"

$LS_COLORS
[1] "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:"

$MAKE
[1] "make"

$MANDATORY_PATH
[1] "/usr/share/gconf/cinnamon.mandatory.path"

$PAGER
[1] "/usr/bin/pager"

$PATH
[1] "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

$PWD
[1] "/home/edu"

$QT_ACCESSIBILITY
[1] "1"

$QT_QPA_PLATFORMTHEME
[1] "qt5ct"

$R_BROWSER
[1] "xdg-open"

$R_BZIPCMD
[1] "/bin/bzip2"

$R_DOC_DIR
[1] "/usr/share/R/doc"

$R_GZIPCMD
[1] "/bin/gzip -n"

$R_HOME
[1] "/usr/lib/R"

$R_INCLUDE_DIR
[1] "/usr/share/R/include"

$R_LIBS_SITE
[1] "/usr/local/lib/R/site-library:/usr/lib/R/site-library:/usr/lib/R/library"

$R_LIBS_USER
[1] "~/R/x86_64-pc-linux-gnu-library/3.6"

$R_PAPERSIZE
[1] "letter"

$R_PAPERSIZE_USER
[1] "a4"

$R_PDFVIEWER
[1] "/usr/bin/xdg-open"

$R_PLATFORM
[1] "x86_64-pc-linux-gnu"

$R_PRINTCMD
[1] "/usr/bin/lpr"

$R_RD4PDF
[1] "times,inconsolata,hyper"

$R_SESSION_TMPDIR
[1] "/tmp/Rtmpd7FUfg"

$R_SHARE_DIR
[1] "/usr/share/R/share"

$R_STRIP_SHARED_LIB
[1] "strip --strip-unneeded"

$R_STRIP_STATIC_LIB
[1] "strip --strip-debug"

$R_SYSTEM_ABI
[1] "linux,gcc,gxx,gfortran,gfortran"

$R_TEXI2DVICMD
[1] "/usr/bin/texi2dvi"

$R_UNZIPCMD
[1] "/usr/bin/unzip"

$R_ZIPCMD
[1] "/usr/bin/zip"

$RMARKDOWN_MATHJAX_PATH
[1] "/usr/lib/rstudio/resources/mathjax-26"

$RS_PPM_FD_READ
[1] "19"

$RS_PPM_FD_WRITE
[1] "20"

$RS_RPOSTBACK_PATH
[1] "/usr/lib/rstudio/bin/rpostback"

$RS_SHARED_SECRET
[1] "16816927778469308861804289383"

$RSTUDIO
[1] "1"

$RSTUDIO_CONSOLE_COLOR
[1] "256"

$RSTUDIO_CONSOLE_WIDTH
[1] "80"

$RSTUDIO_PANDOC
[1] "/usr/lib/rstudio/bin/pandoc"

$RSTUDIO_SESSION_PORT
[1] "44382"

$RSTUDIO_USER_IDENTITY
[1] "edu"

$RSTUDIO_WINUTILS
[1] "bin/winutils"

$SED
[1] "/bin/sed"

$SESSION_MANAGER
[1] "local/negri:@/tmp/.ICE-unix/1264,unix/negri:/tmp/.ICE-unix/1264"

$SHELL
[1] "/bin/bash"

$SHLVL
[1] "1"

$SSH_AGENT_PID
[1] "1329"

$SSH_AUTH_SOCK
[1] "/run/user/1000/keyring/ssh"

$TAR
[1] "/bin/tar"

$TERM
[1] "xterm-256color"

$USER
[1] "edu"

$VTE_VERSION
[1] "5202"

$XAUTHORITY
[1] "/home/edu/.Xauthority"

$XDG_CONFIG_DIRS
[1] "/etc/xdg/xdg-cinnamon:/etc/xdg"

$XDG_CURRENT_DESKTOP
[1] "X-Cinnamon"

$XDG_DATA_DIRS
[1] "/usr/share/cinnamon:/usr/share/gnome:/home/edu/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share"

$XDG_GREETER_DATA_DIR
[1] "/var/lib/lightdm-data/edu"

$XDG_RUNTIME_DIR
[1] "/run/user/1000"

$XDG_SEAT
[1] "seat0"

$XDG_SEAT_PATH
[1] "/org/freedesktop/DisplayManager/Seat0"

$XDG_SESSION_DESKTOP
[1] "cinnamon"

$XDG_SESSION_ID
[1] "c1"

$XDG_SESSION_PATH
[1] "/org/freedesktop/DisplayManager/Session0"

$XDG_SESSION_TYPE
[1] "x11"

$XDG_VTNR
[1] "7"

[1] ".GlobalEnv" "tools:rstudio" "package:stats"
[4] "package:graphics" "package:grDevices" "package:utils"
[7] "package:datasets" "package:methods" "Autoloads"
[10] "package:base"
Log file: rdesktop.log

(Empty)

Log file: rsession-edu.log

29 Feb 2020 19:01:57 [rsession-edu] ERROR Error in pdf(file = "/tmp/RtmpFwhN7D/preview.pdf", width = 8.5, height = 11, : ||| cannot open file '/tmp/RtmpFwhN7D/preview.pdf'|||; LOGGED FROM: rstudio::core::Error rstudio::session::modules::plots::{anonymous}::savePlotAsPdf(const rstudio::core::json::JsonRpcRequest&, rstudio::core::json::JsonRpcResponse*) /var/lib/jenkins/workspace/IDE/open-source-pipeline/v1.2-patch/src/cpp/session/modules/SessionPlots.cpp:188

You can try resetting RStudio's state: https://support.rstudio.com/hc/en-us/articles/200534577-Resetting-RStudio-Desktop-s-State

1 Like

Thank you for this. Unfortunately the only response I get from the terminal is that it cant find the archive and asks me if I am tipying it correctly (which in theory it should since I just copied and paste the instructions on the link you gave me)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.