R studio won't start

Error Information:

Description of issue - I think R studio crashed when I imported 2.4 GB csv data set. I shut down computer, then updated to Mojave. Then I tried to start up R studio but it just did not start (got error and option to wait or terminate). R studio would not terminate, so I force quit.

Attempted steps taken to fix - I first tried to update R studio, downloading newest version, then replacing older versions. It would not start (just waited and waited then force quit). Then I followed directions in R Studio Support ("RStudio Desktop will Not Start") dated Dec 20, 2018.
(1). I dowloaded newest version of R (and replaced older version per directions on screen)
(2) Then I downloaded newest version of RStudio (and replaced older versions - when it got to drag RStudio to applications folder, selected yes for replace older versions)
(3) I checked for Startup Files. Could not find any on computer, so I went to R. I deleted workspace there. I cannot find any files with .Rprofile, .Renviron.
(4) I installed R to the default location
(5) Not sure how to check for firewall or proxitysetting.
(6) I reset RStudio's state as directed (in terminal) by renaming it to backup
(7) Then I opened this topic
(8) I have successfully launched Rstudio - for more than a year. I am currently importing large data sets but I have tried to delete once used. I did not realize last dataset was 2.4 GB. It imported but then the package I was using stopped working. That's when I shut down.
(9) I looked for CrashReporter but it says file does not exist.

System Information:

  • RStudio Edition: (Desktop or Server)
  • RStudio Version: 1.1.463 Mac OSX 10.6+ (64-bit)
  • OS Version: Mojave 10.14.2
  • R Version: 3.5.2 GUI 1.70 El Capitan build
  • Output your diagnostics report (if possible):
    $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-danielrosoff.log

23 Mar 2018 01:28:37 [rsession-danielrosoff] WARNING Abort requested; LOGGED FROM: bool rstudio::session::connection::checkForAbort(boost::shared_ptr, const boost::function<void ()>) /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionUtils.cpp:136
30 Mar 2018 14:40:33 [rsession-danielrosoff] ERROR system error 2 (No such file or directory) [path=/Users/danielrosoff/Desktop/10072017 R Script]; OCCURRED AT: void rstudio::core::system::file_monitor::::fileEventCallback(ConstFSEventStreamRef, void *, size_t, void *, const FSEventStreamEventFlags *, const FSEventStreamEventId *) /Users/rstudio/rstudio/src/cpp/core/system/file_monitor/MacFileMonitor.cpp:83; LOGGED FROM: rstudio::core::Error rstudio::session::modules::files::FilesListingMonitor::start(const rstudio::core::FilePath &, json::Array *) /Users/rstudio/rstudio/src/cpp/session/modules/SessionFilesListingMonitor.cpp:69
05 Dec 2018 00:32:20 [rsession-danielrosoff] CLIENT EXCEPTION (rsession-danielrosoff): (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:9045/#-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_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko)
05 Dec 2018 00:32:20 [rsession-danielrosoff] CLIENT EXCEPTION (rsession-danielrosoff): (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:9045/#-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_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko)
05 Dec 2018 00:32:20 [rsession-danielrosoff] CLIENT EXCEPTION (rsession-danielrosoff): (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:9045/#-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_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko)
30 Dec 2018 23:03:50 [rsession-danielrosoff] WARNING Abort requested; LOGGED FROM: bool rstudio::session::connection::checkForAbort(boost::shared_ptr, const boost::function<void ()>) /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionUtils.cpp:136
30 Dec 2018 23:06:49 [rsession-danielrosoff] WARNING Abort requested; LOGGED FROM: bool rstudio::session::connection::checkForAbort(boost::shared_ptr, const boost::function<void ()>) /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionUtils.cpp:136
30 Dec 2018 23:28:12 [rsession-danielrosoff] ERROR system error 41 (Protocol wrong type for socket) [request-uri=/rpc/client_init]; OCCURRED AT: virtual void rstudio::session::HttpConnectionImplboost::asio::ip::tcp::sendResponse(const core::http::Response &) [ProtocolType = boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:93; LOGGED FROM: virtual void rstudio::session::HttpConnectionImplboost::asio::ip::tcp::sendResponse(const core::http::Response &) [ProtocolType = boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:98
30 Dec 2018 23:38:59 [rsession-danielrosoff] WARNING Abort requested; LOGGED FROM: bool rstudio::session::connection::checkForAbort(boost::shared_ptr, const boost::function<void ()>) /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionUtils.cpp:137
30 Dec 2018 23:57:43 [rsession-danielrosoff] ERROR system error 41 (Protocol wrong type for socket) [request-uri=/rpc/client_init]; OCCURRED AT: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:93; LOGGED FROM: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:98
30 Dec 2018 23:59:21 [rsession-danielrosoff] ERROR system error 41 (Protocol wrong type for socket) [request-uri=/rpc/client_init]; OCCURRED AT: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:93; LOGGED FROM: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:98
31 Dec 2018 00:54:16 [rsession-danielrosoff] ERROR system error 41 (Protocol wrong type for socket) [request-uri=/rpc/client_init]; OCCURRED AT: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:93; LOGGED FROM: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:98
31 Dec 2018 00:58:30 [rsession-danielrosoff] ERROR system error 41 (Protocol wrong type for socket) [request-uri=/rpc/client_init]; OCCURRED AT: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:93; LOGGED FROM: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:98
31 Dec 2018 01:16:33 [rsession-danielrosoff] ERROR system error 41 (Protocol wrong type for socket) [request-uri=/rpc/client_init]; OCCURRED AT: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:93; LOGGED FROM: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:98
31 Dec 2018 01:18:12 [rsession-danielrosoff] ERROR system error 41 (Protocol wrong type for socket) [request-uri=/rpc/client_init]; OCCURRED AT: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:93; LOGGED FROM: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:98
31 Dec 2018 01:19:53 [rsession-danielrosoff] ERROR system error 41 (Protocol wrong type for socket) [request-uri=/rpc/client_init]; OCCURRED AT: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:93; LOGGED FROM: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:98
31 Dec 2018 01:21:43 [rsession-danielrosoff] ERROR system error 41 (Protocol wrong type for socket) [request-uri=/rpc/client_init]; OCCURRED AT: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:93; LOGGED FROM: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:98
02 Jan 2019 17:22:16 [rsession-danielrosoff] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘PairedData’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::::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
02 Jan 2019 17:29:57 [rsession-danielrosoff] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘PairedData’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::::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
02 Jan 2019 17:31:53 [rsession-danielrosoff] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘PairedData’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::::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
02 Jan 2019 17:32:12 [rsession-danielrosoff] ERROR system error 41 (Protocol wrong type for socket) [request-uri=/rpc/client_init]; OCCURRED AT: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:93; LOGGED FROM: virtual void rstudio::session::HttpConnectionImpl<rstudio_boost::asio::ip::tcp>::sendResponse(const core::http::Response &) [ProtocolType = rstudio_boost::asio::ip::tcp] /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionImpl.hpp:98
02 Jan 2019 17:33:16 [rsession-danielrosoff] WARNING Abort requested; LOGGED FROM: bool rstudio::session::connection::checkForAbort(boost::shared_ptr, const boost::function<void ()>) /Users/rstudio/rstudio/src/cpp/session/http/SessionHttpConnectionUtils.cpp:137
02 Jan 2019 17:51:34 [rsession-danielrosoff] ERROR r error 4 (R code execution error) [errormsg=Error in .requirePackage(package) : ||| unable to find required package ‘PairedData’|||]; OCCURRED AT: rstudio::core::Error rstudio::r::exec::::evaluateExpressionsUnsafe(SEXP, SEXP, SEXP *, sexp::Protect *, rstudio::r::exec::::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


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

Is it possible you have an old R Workspace which RStudio is failing to load on startup? Look for a file called .RData in your home directory.

So I got R studio on my desktop - a new download - it wont open from my dock (MacBook Pro - see last post).

Now I am trying to install some packages - and first I need apparently devtools.

Here is what I get so I am stuck.

> install.packages("devtools")
also installing the dependencies ‘ps’, ‘magrittr’, ‘backports’, ‘Rcpp’, ‘ini’, ‘processx’, ‘R6’, ‘assertthat’, ‘crayon’, ‘curl’, ‘mime’, ‘openssl’, ‘desc’, ‘prettyunits’, ‘rprojroot’, ‘rlang’, ‘xopen’, ‘clipr’, ‘clisymbols’, ‘fs’, ‘gh’, ‘glue’, ‘whisker’, ‘callr’, ‘cli’, ‘digest’, ‘git2r’, ‘httr’, ‘jsonlite’, ‘memoise’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’, ‘remotes’, ‘rstudioapi’, ‘sessioninfo’, ‘usethis’, ‘withr’


  There are binary versions available but the source versions are
  later:
          binary source needs_compilation
rlang    0.3.0.1  0.3.1              TRUE
devtools  1.13.6  2.0.1             FALSE

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) Yes
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/ps_1.3.0.tgz'
Content type 'application/x-gzip' length 206286 bytes (201 KB)
==================================================
downloaded 201 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/magrittr_1.5.tgz'
Content type 'application/x-gzip' length 152395 bytes (148 KB)
==================================================
downloaded 148 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/backports_1.1.3.tgz'
Content type 'application/x-gzip' length 53570 bytes (52 KB)
==================================================
downloaded 52 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/Rcpp_1.0.0.tgz'
Content type 'application/x-gzip' length 4535632 bytes (4.3 MB)
==================================================
downloaded 4.3 MB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/ini_0.3.1.tgz'
Content type 'application/x-gzip' length 13069 bytes (12 KB)
==================================================
downloaded 12 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/processx_3.2.1.tgz'
Content type 'application/x-gzip' length 169742 bytes (165 KB)
==================================================
downloaded 165 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/R6_2.3.0.tgz'
Content type 'application/x-gzip' length 55479 bytes (54 KB)
==================================================
downloaded 54 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/assertthat_0.2.0.tgz'
Content type 'application/x-gzip' length 52476 bytes (51 KB)
==================================================
downloaded 51 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/crayon_1.3.4.tgz'
Content type 'application/x-gzip' length 750568 bytes (732 KB)
==================================================
downloaded 732 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/curl_3.2.tgz'
Content type 'application/x-gzip' length 427918 bytes (417 KB)
==================================================
downloaded 417 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/mime_0.6.tgz'
Content type 'application/x-gzip' length 34823 bytes (34 KB)
==================================================
downloaded 34 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/openssl_1.1.tgz'
Content type 'application/x-gzip' length 2660041 bytes (2.5 MB)
==================================================
downloaded 2.5 MB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/desc_1.2.0.tgz'
Content type 'application/x-gzip' length 273672 bytes (267 KB)
==================================================
downloaded 267 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/prettyunits_1.0.2.tgz'
Content type 'application/x-gzip' length 29705 bytes (29 KB)
==================================================
downloaded 29 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/rprojroot_1.3-2.tgz'
Content type 'application/x-gzip' length 78757 bytes (76 KB)
==================================================
downloaded 76 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/xopen_1.0.0.tgz'
Content type 'application/x-gzip' length 22252 bytes (21 KB)
==================================================
downloaded 21 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/clipr_0.4.1.tgz'
Content type 'application/x-gzip' length 34960 bytes (34 KB)
==================================================
downloaded 34 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/clisymbols_1.2.0.tgz'
Content type 'application/x-gzip' length 17806 bytes (17 KB)
==================================================
downloaded 17 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/fs_1.2.6.tgz'
Content type 'application/x-gzip' length 739968 bytes (722 KB)
==================================================
downloaded 722 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/gh_1.0.1.tgz'
Content type 'application/x-gzip' length 47850 bytes (46 KB)
==================================================
downloaded 46 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/glue_1.3.0.tgz'
Content type 'application/x-gzip' length 93553 bytes (91 KB)
==================================================
downloaded 91 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/whisker_0.3-2.tgz'
Content type 'application/x-gzip' length 64237 bytes (62 KB)
==================================================
downloaded 62 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/callr_3.1.1.tgz'
Content type 'application/x-gzip' length 243189 bytes (237 KB)
==================================================
downloaded 237 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/cli_1.0.1.tgz'
Content type 'application/x-gzip' length 574111 bytes (560 KB)
==================================================
downloaded 560 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/digest_0.6.18.tgz'
Content type 'application/x-gzip' length 187193 bytes (182 KB)
==================================================
downloaded 182 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/git2r_0.24.0.tgz'
Content type 'application/x-gzip' length 2033130 bytes (1.9 MB)
==================================================
downloaded 1.9 MB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/httr_1.4.0.tgz'
Content type 'application/x-gzip' length 481252 bytes (469 KB)
==================================================
downloaded 469 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/jsonlite_1.6.tgz'
Content type 'application/x-gzip' length 1114907 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/memoise_1.1.0.tgz'
Content type 'application/x-gzip' length 34767 bytes (33 KB)
==================================================
downloaded 33 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/pkgbuild_1.0.2.tgz'
Content type 'application/x-gzip' length 126355 bytes (123 KB)
==================================================
downloaded 123 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/pkgload_1.0.2.tgz'
Content type 'application/x-gzip' length 142722 bytes (139 KB)
==================================================
downloaded 139 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/rcmdcheck_1.3.2.tgz'
Content type 'application/x-gzip' length 1490850 bytes (1.4 MB)
==================================================
downloaded 1.4 MB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/remotes_2.0.2.tgz'
Content type 'application/x-gzip' length 270240 bytes (263 KB)
==================================================
downloaded 263 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/rstudioapi_0.8.tgz'
Content type 'application/x-gzip' length 147151 bytes (143 KB)
==================================================
downloaded 143 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/sessioninfo_1.1.1.tgz'
Content type 'application/x-gzip' length 43722 bytes (42 KB)
==================================================
downloaded 42 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/usethis_1.4.0.tgz'
Content type 'application/x-gzip' length 511242 bytes (499 KB)
==================================================
downloaded 499 KB

trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/withr_2.1.2.tgz'
Content type 'application/x-gzip' length 151252 bytes (147 KB)
==================================================
downloaded 147 KB


The downloaded binary packages are in
	/var/folders/pc/pwmf136x3lnbz2rh11j99h500000gn/T//RtmpbVaoqt/downloaded_packages
installing the source packages ‘rlang’, ‘devtools’

trying URL 'https://cran.rstudio.com/src/contrib/rlang_0.3.1.tar.gz'
Content type 'application/x-gzip' length 857682 bytes (837 KB)
==================================================
downloaded 837 KB

trying URL 'https://cran.rstudio.com/src/contrib/devtools_2.0.1.tar.gz'
Content type 'application/x-gzip' length 388953 bytes (379 KB)
==================================================
downloaded 379 KB

* installing *source* package ‘rlang’ ...
** package ‘rlang’ successfully unpacked and MD5 sums checked
** libs
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘rlang’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/rlang’
Warning in install.packages :
  installation of package ‘rlang’ had non-zero exit status
* installing *source* package ‘devtools’ ...
** package ‘devtools’ successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called ‘rlang’
ERROR: lazy loading failed for package ‘devtools’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/devtools’
Warning in install.packages :
  installation of package ‘devtools’ had non-zero exit status

The downloaded source packages are in
	‘/private/var/folders/pc/pwmf136x3lnbz2rh11j99h500000gn/T/RtmpbVaoqt/downloaded_packages’

What do I do now? Thanks for your help in advance.

I suspect this means you need to reinstall macOS command line tools. Try running:

xcode-select --install

from the command line.

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.