{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/rstudio/issues/2233","repository_url":"https://api.github.com/repos/rstudio/rstudio","labels_url":"https://api.github.com/repos/rstudio/rstudio/issues/2233/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/rstudio/issues/2233/comments","events_url":"https://api.github.com/repos/rstudio/rstudio/issues/2233/events","html_url":"https://github.com/rstudio/rstudio/issues/2233","id":298623558,"number":2233,"title":"Diagnostics report includes warning about 'r-ldpath' file not found ","user":{"login":"ronblum","id":31009952,"avatar_url":"https://avatars3.githubusercontent.com/u/31009952?v=4","gravatar_id":"","url":"https://api.github.com/users/ronblum","html_url":"https://github.com/ronblum","followers_url":"https://api.github.com/users/ronblum/followers","following_url":"https://api.github.com/users/ronblum/following{/other_user}","gists_url":"https://api.github.com/users/ronblum/gists{/gist_id}","starred_url":"https://api.github.com/users/ronblum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronblum/subscriptions","organizations_url":"https://api.github.com/users/ronblum/orgs","repos_url":"https://api.github.com/users/ronblum/repos","events_url":"https://api.github.com/users/ronblum/events{/privacy}","received_events_url":"https://api.github.com/users/ronblum/received_events","type":"User","site_admin":false},"labels":[{"id":708758451,"url":"https://api.github.com/repos/rstudio/rstudio/labels/bug","name":"bug","color":"d93f0b","default":true},{"id":708972419,"url":"https://api.github.com/repos/rstudio/rstudio/labels/reproducible","name":"reproducible","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-20T14:55:34Z","updated_at":"2018-02-20T17:53:07Z","closed_at":null,"author_association":"NONE","body":"### System details\r\n\r\n    RStudio Edition : Desktop\r\n    RStudio Version : 1.2.353\r\n    OS Version      : MacOS 10.12.6 (Sierra)\r\n    R Version       : 3.4.3\r\n\r\n### Steps to reproduce the problem\r\n\r\nRun a diagnostics report\r\n- Menu: Help -> Diagnostics -> Write Diagnostics Report\r\nor\r\n- Console: `rstudioDiagnosticsReport()`\r\n\r\n### Describe the problem in detail\r\n\r\nThe diagnostics report contains the following warning (not error):\r\n```\r\n20 Feb 2018 14:10:49 [rdesktop] WARNING r-ldpath script not found at /Applications/RStudio.app/Contents/Resources/session/r-ldpath; LOGGED FROM: std::string rstudio::core::r_util::(anonymous namespace)::extraLibraryPaths(const rstudio::core::FilePath &, const std::string &) /Users/vagrant/workspace/IDE/macos/src/cpp/core/r_util/REnvironmentPosix.cpp:85\r\n```\r\n\r\n### Describe the behavior you expected\r\n\r\nThe warning should not be there. I believe that the file the application is looking for is `/Applications/RStudio.app/Contents/MacOS/r-ldpath`. Linking the files helps:\r\n```\r\nmkdir /Applications/RStudio.app/Contents/Resources/session\r\nln -s /Applications/RStudio.app/Contents/MacOS/r-ldpath /Applications/RStudio.app/Contents/Resources/session/r-ldpath\r\n```\r\nRestarting RStudio now runs without the diagnostics warning.\r\n\r\n### Additional Information\r\n\r\n**Diagnostics Report:**\r\n_Note: I originally renamed the application \"RStudio_1.2.353.app\" but I reverted it back to \"RStudio.app\".)_\r\n\r\n[diagnostics-report.txt](https://github.com/rstudio/rstudio/files/1740463/diagnostics-report.txt)\r\n[1] \"1.2.353\"\r\n\r\n$R\r\n[1] \"/usr/local/bin/R\"\r\n\r\n$pdflatex\r\n[1] \"/Library/TeX/texbin/pdflatex\"\r\n\r\n$bibtex\r\n[1] \"/Library/TeX/texbin/bibtex\"\r\n\r\n$gcc\r\n[1] \"/usr/bin/gcc\"\r\n\r\n$git\r\n[1] \"/usr/bin/git\"\r\n\r\n$svn\r\n[1] \"/usr/bin/svn\"\r\n\r\nR version 3.4.3 (2017-11-30)\r\nPlatform: x86_64-apple-darwin15.6.0 (64-bit)\r\nRunning under: macOS Sierra 10.12.6\r\n\r\nMatrix products: default\r\nBLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib\r\nLAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib\r\n\r\nlocale:\r\n[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8\r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base     \r\n\r\nloaded via a namespace (and not attached):\r\n[1] compiler_3.4.3 tools_3.4.3    yaml_2.1.16   \r\n\r\nSysInfo:\r\n                                                                                          sysname \r\n                                                                                         \"Darwin\" \r\n                                                                                          release \r\n                                                                                         \"16.7.0\" \r\n                                                                                          version \r\n\"Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64\" \r\n                                                                                         nodename \r\n                                                                         \"Rons-MacBook-Pro.local\" \r\n                                                                                          machine \r\n                                                                                         \"x86_64\" \r\n                                                                                            login \r\n                                                                                        \"ronblum\" \r\n                                                                                             user \r\n                                                                                        \"ronblum\" \r\n                                                                                   effective_user \r\n                                                                                        \"ronblum\" \r\n\r\nR Version:\r\n               _                           \r\nplatform       x86_64-apple-darwin15.6.0   \r\narch           x86_64                      \r\nos             darwin15.6.0                \r\nsystem         x86_64, darwin15.6.0        \r\nstatus                                     \r\nmajor          3                           \r\nminor          4.3                         \r\nyear           2017                        \r\nmonth          11                          \r\nday            30                          \r\nsvn rev        73796                       \r\nlanguage       R                           \r\nversion.string R version 3.4.3 (2017-11-30)\r\nnickname       Kite-Eating Tree            \r\n$`__CF_USER_TEXT_ENCODING`\r\n[1] \"0x1F5:0x0:0x0\"\r\n\r\n$Apple_PubSub_Socket_Render\r\n[1] \"/private/tmp/com.apple.launchd.uAj8jE50AW/Render\"\r\n\r\n$BOX_CLIENT_ID\r\n[1] \"wjyed0nfh33235882eagth81bkjf6rmw\"\r\n\r\n$BOX_CLIENT_SECRET\r\n[1] \"VmINFg8qBPq9znQyXY8m2D2ep6DXdyV4\"\r\n\r\n$CLICOLOR_FORCE\r\n[1] \"1\"\r\n\r\n$DISPLAY\r\n[1] \":0\"\r\n\r\n$DYLD_FALLBACK_LIBRARY_PATH\r\n[1] \"/Library/Frameworks/R.framework/Resources/lib:/Users/ronblum/lib:/usr/local/lib:/usr/lib::\"\r\n\r\n$EDITOR\r\n[1] \"vi\"\r\n\r\n$GIT_ASKPASS\r\n[1] \"rpostback-askpass\"\r\n\r\n$HOME\r\n[1] \"/Users/ronblum\"\r\n\r\n$LANG\r\n[1] \"en_US.UTF-8\"\r\n\r\n$LC_CTYPE\r\n[1] \"en_US.UTF-8\"\r\n\r\n$LN_S\r\n[1] \"ln -s\"\r\n\r\n$LOGNAME\r\n[1] \"ronblum\"\r\n\r\n$MAKE\r\n[1] \"make\"\r\n\r\n$PAGER\r\n[1] \"/usr/bin/less\"\r\n\r\n$PATH\r\n[1] \"/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Library/TeX/texbin\"\r\n\r\n$R_BROWSER\r\n[1] \"/usr/bin/open\"\r\n\r\n$R_BZIPCMD\r\n[1] \"/usr/bin/bzip2\"\r\n\r\n$R_DOC_DIR\r\n[1] \"/Library/Frameworks/R.framework/Resources/doc\"\r\n\r\n$R_GZIPCMD\r\n[1] \"/usr/bin/gzip\"\r\n\r\n$R_HOME\r\n[1] \"/Library/Frameworks/R.framework/Resources\"\r\n\r\n$R_INCLUDE_DIR\r\n[1] \"/Library/Frameworks/R.framework/Resources/include\"\r\n\r\n$R_LIBS_SITE\r\n[1] \"\"\r\n\r\n$R_LIBS_USER\r\n[1] \"~/Library/R/3.4/library\"\r\n\r\n$R_PAPERSIZE\r\n[1] \"a4\"\r\n\r\n$R_PDFVIEWER\r\n[1] \"/usr/bin/open\"\r\n\r\n$R_PLATFORM\r\n[1] \"x86_64-apple-darwin15.6.0\"\r\n\r\n$R_PRINTCMD\r\n[1] \"lpr\"\r\n\r\n$R_QPDF\r\n[1] \"/Library/Frameworks/R.framework/Resources/bin/qpdf\"\r\n\r\n$R_RD4PDF\r\n[1] \"times,inconsolata,hyper\"\r\n\r\n$R_SESSION_TMPDIR\r\n[1] \"/var/folders/fx/m05t95913_q8x86417r0s6480000gn/T//Rtmp7ns1Jq\"\r\n\r\n$R_SHARE_DIR\r\n[1] \"/Library/Frameworks/R.framework/Resources/share\"\r\n\r\n$R_SYSTEM_ABI\r\n[1] \"osx,gcc,gxx,gfortran,?\"\r\n\r\n$R_TEXI2DVICMD\r\n[1] \"/usr/local/bin/texi2dvi\"\r\n\r\n$R_UNZIPCMD\r\n[1] \"/usr/bin/unzip\"\r\n\r\n$R_ZIPCMD\r\n[1] \"/usr/bin/zip\"\r\n\r\n$RMARKDOWN_MATHJAX_PATH\r\n[1] \"/Applications/RStudio.app/Contents/Resources/resources/mathjax-26\"\r\n\r\n$RS_PPM_FD_READ\r\n[1] \"14\"\r\n\r\n$RS_PPM_FD_WRITE\r\n[1] \"15\"\r\n\r\n$RS_RPOSTBACK_PATH\r\n[1] \"/Applications/RStudio.app/Contents/MacOS/rpostback\"\r\n\r\n$RS_SHARED_SECRET\r\n[1] \"168072824752491622650073\"\r\n\r\n$RSTUDIO\r\n[1] \"1\"\r\n\r\n$RSTUDIO_CONSOLE_COLOR\r\n[1] \"256\"\r\n\r\n$RSTUDIO_CONSOLE_WIDTH\r\n[1] \"103\"\r\n\r\n$RSTUDIO_PANDOC\r\n[1] \"/usr/local/bin/pandoc.2.0.6/\"\r\n\r\n$RSTUDIO_SESSION_PORT\r\n[1] \"41718\"\r\n\r\n$RSTUDIO_USER_IDENTITY\r\n[1] \"ronblum\"\r\n\r\n$RSTUDIO_WINUTILS\r\n[1] \"bin/winutils\"\r\n\r\n$SED\r\n[1] \"/usr/bin/sed\"\r\n\r\n$SHELL\r\n[1] \"/bin/bash\"\r\n\r\n$SSH_ASKPASS\r\n[1] \"rpostback-askpass\"\r\n\r\n$SSH_AUTH_SOCK\r\n[1] \"/private/tmp/com.apple.launchd.cwSQuWxkJN/Listeners\"\r\n\r\n$TAR\r\n[1] \"/usr/bin/tar\"\r\n\r\n$TERM\r\n[1] \"xterm-256color\"\r\n\r\n$TMPDIR\r\n[1] \"/var/folders/fx/m05t95913_q8x86417r0s6480000gn/T/\"\r\n\r\n$USER\r\n[1] \"ronblum\"\r\n\r\n$XPC_FLAGS\r\n[1] \"0x0\"\r\n\r\n$XPC_SERVICE_NAME\r\n[1] \"0\"\r\n\r\n [1] \".GlobalEnv\"        \"tools:rstudio\"     \"package:stats\"     \"package:graphics\" \r\n [5] \"package:grDevices\" \"package:utils\"     \"package:datasets\"  \"package:methods\"  \r\n [9] \"Autoloads\"         \"package:base\"     \r\nLog file: rdesktop.log\r\n--------------------------------------------------\r\n\r\n20 Feb 2018 14:05:00 [rdesktop] WARNING r-ldpath script not found at /Applications/RStudio_1.2.353.app/Contents/Resources/session/r-ldpath; LOGGED FROM: std::string rstudio::core::r_util::(anonymous namespace)::extraLibraryPaths(const rstudio::core::FilePath &, const std::string &) /Users/vagrant/workspace/IDE/macos/src/cpp/core/r_util/REnvironmentPosix.cpp:85\r\n20 Feb 2018 14:09:52 [rdesktop] WARNING r-ldpath script not found at /Applications/RStudio.app/Contents/Resources/session/r-ldpath; LOGGED FROM: std::string rstudio::core::r_util::(anonymous namespace)::extraLibraryPaths(const rstudio::core::FilePath &, const std::string &) /Users/vagrant/workspace/IDE/macos/src/cpp/core/r_util/REnvironmentPosix.cpp:85\r\n20 Feb 2018 14:10:49 [rdesktop] WARNING r-ldpath script not found at /Applications/RStudio.app/Contents/Resources/session/r-ldpath; LOGGED FROM: std::string rstudio::core::r_util::(anonymous namespace)::extraLibraryPaths(const rstudio::core::FilePath &, const std::string &) /Users/vagrant/workspace/IDE/macos/src/cpp/core/r_util/REnvironmentPosix.cpp:85\r\n20 Feb 2018 14:30:03 [rdesktop] WARNING r-ldpath script not found at /Applications/RStudio.app/Contents/Resources/session/r-ldpath; LOGGED FROM: std::string rstudio::core::r_util::(anonymous namespace)::extraLibraryPaths(const rstudio::core::FilePath &, const std::string &) /Users/vagrant/workspace/IDE/macos/src/cpp/core/r_util/REnvironmentPosix.cpp:85\r\n20 Feb 2018 14:45:46 [rdesktop] WARNING r-ldpath script not found at /Applications/RStudio.app/Contents/Resources/session/r-ldpath; LOGGED FROM: std::string rstudio::core::r_util::(anonymous namespace)::extraLibraryPaths(const rstudio::core::FilePath &, const std::string &) /Users/vagrant/workspace/IDE/macos/src/cpp/core/r_util/REnvironmentPosix.cpp:85\r\n\r\nLog file: rsession-ronblum.log\r\n--------------------------------------------------\r\n\r\n(Empty)\r\n\r\n**Session Info:**\r\n\r\n[sessionInfo_output.txt](https://github.com/rstudio/rstudio/files/1740485/sessionInfo_output.txt)\r\n\r\nR version 3.4.3 (2017-11-30)\r\nPlatform: x86_64-apple-darwin15.6.0 (64-bit)\r\nRunning under: macOS Sierra 10.12.6\r\n\r\nMatrix products: default\r\nBLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib\r\nLAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib\r\n\r\nlocale:\r\n[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8\r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base     \r\n\r\nloaded via a namespace (and not attached):\r\n[1] compiler_3.4.3 tools_3.4.3    yaml_2.1.16   \r\n"},"comment":{"url":"https://api.github.com/repos/rstudio/rstudio/issues/comments/367061502","html_url":"https://github.com/rstudio/rstudio/issues/2233#issuecomment-367061502","issue_url":"https://api.github.com/repos/rstudio/rstudio/issues/2233","id":367061502,"user":{"login":"kevinushey","id":1976582,"avatar_url":"https://avatars1.githubusercontent.com/u/1976582?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinushey","html_url":"https://github.com/kevinushey","followers_url":"https://api.github.com/users/kevinushey/followers","following_url":"https://api.github.com/users/kevinushey/following{/other_user}","gists_url":"https://api.github.com/users/kevinushey/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinushey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinushey/subscriptions","organizations_url":"https://api.github.com/users/kevinushey/orgs","repos_url":"https://api.github.com/users/kevinushey/repos","events_url":"https://api.github.com/users/kevinushey/events{/privacy}","received_events_url":"https://api.github.com/users/kevinushey/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T17:53:07Z","updated_at":"2018-02-20T17:53:07Z","author_association":"CONTRIBUTOR","body":"Yikes! This would explain the issue a number of users have been reporting related to failures to load `rJava`. (We rely on the `ldpaths` script to update the library paths so that `libjvm.so` can be found)"}}
{"actor":{"display_login":"kevinushey"}}