Post

1 follower Follow
0
Avatar

RStudio keeps crashing when I try to open projects

I updated R and RStudio today to the most recent versions for the most recent Mac OS X, and now RStudio crashes every time I try to open any project that I was working on before I updated.  RStudio starts to open the project, and then I get the error messages below, followed by an unresponsive screen in the third screenshot.  I also copy-pasted a diagnostics report at the bottom.  Any ideas?  I really need to get this working again right away, so any help would be greatly appreciated!

Diagnostics Report:

[1] "1.1.383"

$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.4.2 (2017-09-28)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.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.4/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.4.2 tools_3.4.2

SysInfo:
sysname
"Darwin"
release
"16.7.0"
version
"Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64"
nodename
"tests-MacBook-Pro.local"
machine
"x86_64"
login
"patrickkelly"
user
"patrickkelly"
effective_user
"patrickkelly"

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 4.2
year 2017
month 09
day 28
svn rev 73368
language R
version.string R version 3.4.2 (2017-09-28)
nickname Short Summer
$`_`
[1] "/Applications/RStudio.app/Contents/MacOS/RStudio"

$`__CF_USER_TEXT_ENCODING`
[1] "0x1F6:0x0:0x0"

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

$CLICOLOR_FORCE
[1] "1"

$`COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PATRICKKELLY/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET`
[1] "/private/tmp/com.apple.launchd.agh1W3PJyH/ServiceProcessSocket"

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

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

$EDITOR
[1] "vi"

$GIT_ASKPASS
[1] "rpostback-askpass"

$HOME
[1] "/Users/patrickkelly"

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

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

$LN_S
[1] "ln -s"

$LOGNAME
[1] "patrickkelly"

$MAKE
[1] "make"

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

$PATH
[1] "/Users/patrickkelly/anaconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"

$PWD
[1] "/Users/patrickkelly"

$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.4/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/x6/s197htrx7w39_6w4hdqkkqdm0000gp/T//RtmpMLksV3"

$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] "875cf3ad-4050-409b-853d-afdfc6b09f70"

$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] "17785"

$RSTUDIO_USER_IDENTITY
[1] "patrickkelly"

$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.QdOKfMbB3W/Listeners"

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

$TERM
[1] "xterm-256color"

$TERM_PROGRAM
[1] "Apple_Terminal"

$TERM_PROGRAM_VERSION
[1] "388.1.1"

$TERM_SESSION_ID
[1] "51BCBC3D-D215-46AF-907E-59DC4C40B0B9"

$TMPDIR
[1] "/var/folders/x6/s197htrx7w39_6w4hdqkkqdm0000gp/T/"

$USER
[1] "patrickkelly"

$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-patrickkelly.log
--------------------------------------------------

06 Feb 2016 22:01:40 [rsession-patrickkelly] WARNING Excluded unsafe source document (~/Data Wrangling Day 1/data/portal_data_joined.csv): File too large (3568); LOGGED FROM: void rstudio::session::source_database::logUnsafeSourceDocument(const rstudio::core::FilePath &, const std::string &) /Users/rstudio/rstudio/src/cpp/session/SessionSourceDatabase.cpp:546
04 Mar 2017 20:11:12 [rsession-patrickkelly] WARNING Process supervisor did not terminate within 1 second; LOGGED FROM: void <anonymous namespace>::rCleanup(bool) /Users/rstudio/rstudio/src/cpp/session/SessionMain.cpp:2311
05 Mar 2017 14:23:46 [rsession-patrickkelly] WARNING Process supervisor did not terminate within 1 second; LOGGED FROM: void <anonymous namespace>::rCleanup(bool) /Users/rstudio/rstudio/src/cpp/session/SessionMain.cpp:2311
19 Mar 2017 21:04:14 [rsession-patrickkelly] ERROR Unexpected exception: boost: mutex lock failed in pthread_mutex_lock: Invalid argument; LOGGED FROM: void rstudio::session::ClientEventService::run() /Users/rstudio/rstudio/src/cpp/session/SessionClientEventService.cpp:352
23 Aug 2017 15:22:38 [rsession-patrickkelly] CLIENT EXCEPTION (rsession-patrickkelly): (TypeError) : undefined is not an object (evaluating 'this.a.a.r.row');|||org/rstudio/studio/client/workbench/views/source/editors/text/r/SignatureToolTipManager.java#134::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#167::runScheduledTasks|||com/google/gwt/core/client/impl/SchedulerImpl.java#338::flushPostEventPumpCommands|||com/google/gwt/core/client/impl/SchedulerImpl.java#76::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#140::execute|||com/google/gwt/core/client/impl/Impl.java#244::apply|||com/google/gwt/core/client/impl/Impl.java#283::entry0|||http://127.0.0.1:47295/#-1::anonymous|||com/google/gwt/cell/client/AbstractEditableCell.java#41::viewDataMap|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko)
23 Aug 2017 15:22:38 [rsession-patrickkelly] CLIENT EXCEPTION (rsession-patrickkelly): (TypeError) : undefined is not an object (evaluating 'this.a.a.r.row');|||org/rstudio/studio/client/workbench/views/source/editors/text/r/SignatureToolTipManager.java#134::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#167::runScheduledTasks|||com/google/gwt/core/client/impl/SchedulerImpl.java#338::flushPostEventPumpCommands|||com/google/gwt/core/client/impl/SchedulerImpl.java#76::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#140::execute|||com/google/gwt/core/client/impl/Impl.java#244::apply|||com/google/gwt/core/client/impl/Impl.java#283::entry0|||http://127.0.0.1:47295/#-1::anonymous|||com/google/gwt/cell/client/AbstractEditableCell.java#41::viewDataMap|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko)
23 Aug 2017 15:22:38 [rsession-patrickkelly] CLIENT EXCEPTION (rsession-patrickkelly): (TypeError) : undefined is not an object (evaluating 'this.a.a.r.row');|||org/rstudio/studio/client/workbench/views/source/editors/text/r/SignatureToolTipManager.java#134::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#167::runScheduledTasks|||com/google/gwt/core/client/impl/SchedulerImpl.java#338::flushPostEventPumpCommands|||com/google/gwt/core/client/impl/SchedulerImpl.java#76::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#140::execute|||com/google/gwt/core/client/impl/Impl.java#244::apply|||com/google/gwt/core/client/impl/Impl.java#283::entry0|||http://127.0.0.1:47295/#-1::anonymous|||com/google/gwt/cell/client/AbstractEditableCell.java#41::viewDataMap|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko)
25 Sep 2017 12:54:40 [rsession-patrickkelly] CLIENT EXCEPTION (rsession-patrickkelly): (TypeError) : undefined is not an object (evaluating 'this.a.a.r.row');|||org/rstudio/studio/client/workbench/views/source/editors/text/r/SignatureToolTipManager.java#134::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#167::runScheduledTasks|||com/google/gwt/core/client/impl/SchedulerImpl.java#338::flushPostEventPumpCommands|||com/google/gwt/core/client/impl/SchedulerImpl.java#76::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#140::execute|||com/google/gwt/core/client/impl/Impl.java#244::apply|||com/google/gwt/core/client/impl/Impl.java#283::entry0|||http://127.0.0.1:28101/#-1::anonymous|||com/google/gwt/cell/client/AbstractEditableCell.java#41::viewDataMap|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko)
25 Sep 2017 12:54:40 [rsession-patrickkelly] CLIENT EXCEPTION (rsession-patrickkelly): (TypeError) : undefined is not an object (evaluating 'this.a.a.r.row');|||org/rstudio/studio/client/workbench/views/source/editors/text/r/SignatureToolTipManager.java#134::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#167::runScheduledTasks|||com/google/gwt/core/client/impl/SchedulerImpl.java#338::flushPostEventPumpCommands|||com/google/gwt/core/client/impl/SchedulerImpl.java#76::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#140::execute|||com/google/gwt/core/client/impl/Impl.java#244::apply|||com/google/gwt/core/client/impl/Impl.java#283::entry0|||http://127.0.0.1:28101/#-1::anonymous|||com/google/gwt/cell/client/AbstractEditableCell.java#41::viewDataMap|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko)
25 Sep 2017 12:54:40 [rsession-patrickkelly] CLIENT EXCEPTION (rsession-patrickkelly): (TypeError) : undefined is not an object (evaluating 'this.a.a.r.row');|||org/rstudio/studio/client/workbench/views/source/editors/text/r/SignatureToolTipManager.java#134::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#167::runScheduledTasks|||com/google/gwt/core/client/impl/SchedulerImpl.java#338::flushPostEventPumpCommands|||com/google/gwt/core/client/impl/SchedulerImpl.java#76::execute|||com/google/gwt/core/client/impl/SchedulerImpl.java#140::execute|||com/google/gwt/core/client/impl/Impl.java#244::apply|||com/google/gwt/core/client/impl/Impl.java#283::entry0|||http://127.0.0.1:28101/#-1::anonymous|||com/google/gwt/cell/client/AbstractEditableCell.java#41::viewDataMap|||Client-ID: 33e600bb-c1b1-46bf-b562-ab5cba070b0e|||User-Agent: Mozilla/5.0 (Macintosh Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko)
18 Oct 2017 17:49:33 [rsession-patrickkelly] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘lmerTest’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::<anonymous namespace>::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::<anonymous>::EvalType) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:159; LOGGED FROM: json::Value rstudio::session::modules::environment::varToJson(SEXP, const r::sexp::Variable &) /Users/rstudio/rstudio/src/cpp/session/modules/environment/EnvironmentUtils.cpp:145
18 Oct 2017 17:49:33 [rsession-patrickkelly] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘lmerTest’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::<anonymous namespace>::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::<anonymous>::EvalType) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:159; LOGGED FROM: json::Value rstudio::session::modules::environment::varToJson(SEXP, const r::sexp::Variable &) /Users/rstudio/rstudio/src/cpp/session/modules/environment/EnvironmentUtils.cpp:145
18 Oct 2017 17:49:33 [rsession-patrickkelly] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘lmerTest’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::<anonymous namespace>::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::<anonymous>::EvalType) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:159; LOGGED FROM: json::Value rstudio::session::modules::environment::varToJson(SEXP, const r::sexp::Variable &) /Users/rstudio/rstudio/src/cpp/session/modules/environment/EnvironmentUtils.cpp:145
18 Oct 2017 17:49:33 [rsession-patrickkelly] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘lmerTest’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::<anonymous namespace>::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::<anonymous>::EvalType) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:159; LOGGED FROM: json::Value rstudio::session::modules::environment::varToJson(SEXP, const r::sexp::Variable &) /Users/rstudio/rstudio/src/cpp/session/modules/environment/EnvironmentUtils.cpp:145
18 Oct 2017 17:49:34 [rsession-patrickkelly] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘lmerTest’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::<anonymous namespace>::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::<anonymous>::EvalType) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:159; LOGGED FROM: json::Value rstudio::session::modules::environment::varToJson(SEXP, const r::sexp::Variable &) /Users/rstudio/rstudio/src/cpp/session/modules/environment/EnvironmentUtils.cpp:145
18 Oct 2017 17:49:34 [rsession-patrickkelly] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘lmerTest’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::<anonymous namespace>::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::<anonymous>::EvalType) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:159; LOGGED FROM: json::Value rstudio::session::modules::environment::varToJson(SEXP, const r::sexp::Variable &) /Users/rstudio/rstudio/src/cpp/session/modules/environment/EnvironmentUtils.cpp:145
18 Oct 2017 17:49:34 [rsession-patrickkelly] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘lmerTest’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::<anonymous namespace>::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::<anonymous>::EvalType) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:159; LOGGED FROM: json::Value rstudio::session::modules::environment::varToJson(SEXP, const r::sexp::Variable &) /Users/rstudio/rstudio/src/cpp/session/modules/environment/EnvironmentUtils.cpp:145
18 Oct 2017 17:49:34 [rsession-patrickkelly] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘lmerTest’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::<anonymous namespace>::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::<anonymous>::EvalType) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:159; LOGGED FROM: json::Value rstudio::session::modules::environment::varToJson(SEXP, const r::sexp::Variable &) /Users/rstudio/rstudio/src/cpp/session/modules/environment/EnvironmentUtils.cpp:145
18 Oct 2017 17:49:34 [rsession-patrickkelly] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘lmerTest’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::<anonymous namespace>::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::<anonymous>::EvalType) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:159; LOGGED FROM: json::Value rstudio::session::modules::environment::varToJson(SEXP, const r::sexp::Variable &) /Users/rstudio/rstudio/src/cpp/session/modules/environment/EnvironmentUtils.cpp:145
18 Oct 2017 17:49:34 [rsession-patrickkelly] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘lmerTest’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::<anonymous namespace>::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::<anonymous>::EvalType) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:159; LOGGED FROM: json::Value rstudio::session::modules::environment::varToJson(SEXP, const r::sexp::Variable &) /Users/rstudio/rstudio/src/cpp/session/modules/environment/EnvironmentUtils.cpp:145
18 Oct 2017 17:49:34 [rsession-patrickkelly] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘lmerTest’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::<anonymous namespace>::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::<anonymous>::EvalType) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:159; LOGGED FROM: json::Value rstudio::session::modules::environment::varToJson(SEXP, const r::sexp::Variable &) /Users/rstudio/rstudio/src/cpp/session/modules/environment/EnvironmentUtils.cpp:145
18 Oct 2017 18:22:31 [rsession-patrickkelly] WARNING Process supervisor did not terminate within 1 second; LOGGED FROM: void <anonymous namespace>::rCleanup(bool) /Users/rstudio/rstudio/src/cpp/session/SessionMain.cpp:1099
18 Oct 2017 18:25:54 [rsession-patrickkelly] WARNING Process supervisor did not terminate within 1 second; LOGGED FROM: void <anonymous namespace>::rCleanup(bool) /Users/rstudio/rstudio/src/cpp/session/SessionMain.cpp:1099



Patrick Kelly