Error when starting RStudio: "</p> R encountered a fatal error.</p>The session was terminated."

ide
start-up

#1

Error Information:

After updating macOS from el capitan to high sierra, I have not been able to run RStudio. When I try to start the program, I first get an error message saying "

R encountered a fatal error.The session was terminated.", when I click this away I get another error message simply saying "null". The software then appear to work normally until I write something in the consol and press enter; then the RStudio stops responding. R itself works fine in terminal window.

I have tried to restart my computer, reinstall both R and RStudio and followed the guide given here https://support.rstudio.com/hc/en-us/articles/200488508-RStudio-Desktop-Will-Not-Start, but the problem still persists. Any help or suggestions on how to solve this is appreciated!

System Information:

  • RStudio Edition: Desktop
  • RStudio Version: 1.1.456
  • OS Version: macOS High Sierra 10.13.6
  • R Version: 3.5.1
  • Output your diagnostics report (if possible):
    [1] "1.1.456"

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

$pdflatex
[1] ""

$bibtex
[1] ""

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

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

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

R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

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

SysInfo:
sysname
"Darwin"
release
"17.7.0"
version
"Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64"
nodename
"1x-193.157.226.117.uio.no"
machine
"x86_64"
login
"arthurah"
user
"arthurah"
effective_user
"arthurah"

R Version:
_
platform x86_64-apple-darwin15.6.0
arch x86_64
os darwin15.6.0
system x86_64, darwin15.6.0
status
major 3
minor 5.1
year 2018
month 07
day 02
svn rev 74947
language R
version.string R version 3.5.1 (2018-07-02)
nickname Feather Spray
$_
[1] "/Applications/RStudio.app/Contents/MacOS/RStudio"

$__CF_USER_TEXT_ENCODING
[1] "0x23517:0x0:0x0"

$Apple_PubSub_Socket_Render
[1] "/private/tmp/com.apple.launchd.h6fRJ8aS2y/Render"

$CLICOLOR_FORCE
[1] "1"

$COLORFGBG
[1] "7;0"

$COLORTERM
[1] "truecolor"

$DISPLAY
[1] "/private/tmp/com.apple.launchd.pn3b5QdaeU/org.macosforge.xquartz:0"

$DYLD_FALLBACK_LIBRARY_PATH
[1] "/Library/Frameworks/R.framework/Resources/lib:/Users/arthurah/lib:/usr/local/lib:/usr/lib:::/lib:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/lib/server"

$EDITOR
[1] "vi"

$GIT_ASKPASS
[1] "rpostback-askpass"

$HOME
[1] "/Users/arthurah"

$ITERM_ORIG_PS1
[1] "\h:\W \u\$ "

ITERM_PREV_PS1 [1] "\\[\033]133;D;?\a\033]133;A\a\]\h:\W \u\$ \[\033]133;B\a\]"

$ITERM_PROFILE
[1] "Default"

$ITERM_SESSION_ID
[1] "w0t1p3:A4450EE5-5271-45E0-B926-F35074A2B687"

$JAVA_HOME
[1] "/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home"

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

$LC_CTYPE
[1] "en_US.UTF-8"

$LN_S
[1] "ln -s"

$LOGNAME
[1] "arthurah"

$MAKE
[1] "make"

$OLDPWD
[1] "/Users/arthurah/.rstudio-desktop"

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

$PATH
[1] "/Users/arthurah/anaconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/munki:/opt/X11/bin:/Users/arthurah/Downloads/mirdeep2_0_0_8/bin:/Users/arthurah/Documents/Programfiles/Blast-legacy:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/munki:/opt/X11/bin:/Users/arthurah/Downloads/mirdeep2_0_0_8/bin:/Users/arthurah/Documents/Programfiles/mirdeep2-master/bin"

$PERL_MB_OPT
[1] "--install_base /Users/arthurah/perl5"

$PERL_MM_OPT
[1] "INSTALL_BASE=/Users/arthurah/perl5"

$PERL5LIB
[1] "/Users/arthurah/Downloads/mirdeep2_0_0_8/lib/perl5:/Users/arthurah/Documents/Programfiles/mirdeep2-master/lib/perl5"

$PS1
[1] "\h:\W \u\$ "

$PWD
[1] "/Users/arthurah"

$R_BROWSER
[1] "/usr/bin/open"

$R_BZIPCMD
[1] "/usr/bin/bzip2"

$R_DOC_DIR
[1] "/Library/Frameworks/R.framework/Resources/doc"

$R_GZIPCMD
[1] "/usr/bin/gzip"

$R_HOME
[1] "/Library/Frameworks/R.framework/Resources"

$R_INCLUDE_DIR
[1] "/Library/Frameworks/R.framework/Resources/include"

$R_LIBS_SITE
[1] ""

$R_LIBS_USER
[1] "~/Library/R/3.5/library"

$R_PAPERSIZE
[1] "a4"

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

$R_PLATFORM
[1] "x86_64-apple-darwin15.6.0"

$R_PRINTCMD
[1] "lpr"

$R_QPDF
[1] "/Library/Frameworks/R.framework/Resources/bin/qpdf"

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

$R_SESSION_TMPDIR
[1] "/var/folders/w2/8vq1w7_j7yddhz83368mpw28004d8q/T//RtmpFEMQo3"

$R_SHARE_DIR
[1] "/Library/Frameworks/R.framework/Resources/share"

$R_SYSTEM_ABI
[1] "osx,gcc,gxx,gfortran,?"

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

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

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

$RMARKDOWN_MATHJAX_PATH
[1] "/Applications/RStudio.app/Contents/Resources/resources/mathjax-26"

$RS_RPOSTBACK_PATH
[1] "/Applications/RStudio.app/Contents/MacOS/rpostback"

$RS_SHARED_SECRET
[1] "568d8486-a07b-4b32-bfdc-20fa3dca3ba4"

$RSTUDIO
[1] "1"

$RSTUDIO_CONSOLE_COLOR
[1] "256"

$RSTUDIO_CONSOLE_WIDTH
[1] "80"

$RSTUDIO_PANDOC
[1] "/Applications/RStudio.app/Contents/MacOS/pandoc"

$RSTUDIO_SESSION_PORT
[1] "17613"

$RSTUDIO_USER_IDENTITY
[1] "arthurah"

$RSTUDIO_WINUTILS
[1] "bin/winutils"

$SED
[1] "/usr/bin/sed"

$SHELL
[1] "/bin/bash"

$SHLVL
[1] "1"

$SSH_ASKPASS
[1] "rpostback-askpass"

$SSH_AUTH_SOCK
[1] "/private/tmp/com.apple.launchd.Cj4Lj2STGe/Listeners"

$TAR
[1] "/usr/bin/tar"

$TERM
[1] "xterm-256color"

$TERM_PROGRAM
[1] "iTerm.app"

$TERM_PROGRAM_VERSION
[1] "3.2.2"

$TERM_SESSION_ID
[1] "w0t1p3:A4450EE5-5271-45E0-B926-F35074A2B687"

$TMPDIR
[1] "/var/folders/w2/8vq1w7_j7yddhz83368mpw28004d8q/T/"

$USER
[1] "arthurah"

$XPC_FLAGS
[1] "0x0"

$XPC_SERVICE_NAME
[1] "0"

[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-arthurah.log

(Empty)


From RStudio Desktop Will Not Start on support.rstudio.com