ggplot2 doesn't load in R/RStudio - Application not responding





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I have installed ggplot2 version 1.0.1 on R version 3.1.3, using



install.packages('ggplot2', dependencies=T)


Checking for the installation:



find.package('ggplot2')


returns



[1] "/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ggplot2"


However, when I try to load it



library('ggplot2')


I get the spinning wheel of death.



I successfully installed and used it on Windows 7 ages ago, version 1.0.1 on R 3.1.2. However, on my Mac (OS X Yosemite), I can't seem to avoid it freezing on me when I try to load it.



I'm using RStudio 0.98.1103 on the Mac and 0.98.501 on the PC, but going to the R GUI on the Mac doesn't solve the issue, so I don't think it's RStudio.










share|improve this question































    0















    I have installed ggplot2 version 1.0.1 on R version 3.1.3, using



    install.packages('ggplot2', dependencies=T)


    Checking for the installation:



    find.package('ggplot2')


    returns



    [1] "/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ggplot2"


    However, when I try to load it



    library('ggplot2')


    I get the spinning wheel of death.



    I successfully installed and used it on Windows 7 ages ago, version 1.0.1 on R 3.1.2. However, on my Mac (OS X Yosemite), I can't seem to avoid it freezing on me when I try to load it.



    I'm using RStudio 0.98.1103 on the Mac and 0.98.501 on the PC, but going to the R GUI on the Mac doesn't solve the issue, so I don't think it's RStudio.










    share|improve this question



























      0












      0








      0








      I have installed ggplot2 version 1.0.1 on R version 3.1.3, using



      install.packages('ggplot2', dependencies=T)


      Checking for the installation:



      find.package('ggplot2')


      returns



      [1] "/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ggplot2"


      However, when I try to load it



      library('ggplot2')


      I get the spinning wheel of death.



      I successfully installed and used it on Windows 7 ages ago, version 1.0.1 on R 3.1.2. However, on my Mac (OS X Yosemite), I can't seem to avoid it freezing on me when I try to load it.



      I'm using RStudio 0.98.1103 on the Mac and 0.98.501 on the PC, but going to the R GUI on the Mac doesn't solve the issue, so I don't think it's RStudio.










      share|improve this question
















      I have installed ggplot2 version 1.0.1 on R version 3.1.3, using



      install.packages('ggplot2', dependencies=T)


      Checking for the installation:



      find.package('ggplot2')


      returns



      [1] "/Library/Frameworks/R.framework/Versions/3.1/Resources/library/ggplot2"


      However, when I try to load it



      library('ggplot2')


      I get the spinning wheel of death.



      I successfully installed and used it on Windows 7 ages ago, version 1.0.1 on R 3.1.2. However, on my Mac (OS X Yosemite), I can't seem to avoid it freezing on me when I try to load it.



      I'm using RStudio 0.98.1103 on the Mac and 0.98.501 on the PC, but going to the R GUI on the Mac doesn't solve the issue, so I don't think it's RStudio.







      macos r rstudio






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 2 '15 at 9:44









      slhck

      163k47451476




      163k47451476










      asked May 5 '15 at 23:27







      user225457





























          2 Answers
          2






          active

          oldest

          votes


















          0














          I'm still not clear on why this occurs, but I just tried installing from source, as recommended in this SO question about a different error message on Windows.



          install.packages("ggplot2", type="source",dependencies = TRUE)


          does the job.






          share|improve this answer

































            0














            I had the same problem, with R version 3.2.2. The install.packages command as suggested in the other response unfortunately did not work for me.

            I got ggplot2 loaded by downloading and installing all the packages below. Download each package manually from CRAN (OS X Mavericks binaries), then go to the terminal, cd to the Download folder, and type: R CMD INSTALL *.tgz




            • colorspace_1.2-6.tgz

            • digest_0.6.8.tgz

            • ggplot2_1.0.1.tgz

            • gtable_0.1.2.tgz

            • magrittr_1.5.tgz

            • MASS_7.3-44.tgz

            • munsell_0.4.2.tgz

            • plyr_1.8.3.tgz

            • proto_0.3-10.tgz

            • Rcpp_0.12.1.tgz

            • reshape2_1.4.1.tgz

            • scales_0.3.0.tgz

            • stringi_1.0-1.tgz

            • stringr_1.0.0.tgz






            share|improve this answer
























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f911197%2fggplot2-doesnt-load-in-r-rstudio-application-not-responding%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown
























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              I'm still not clear on why this occurs, but I just tried installing from source, as recommended in this SO question about a different error message on Windows.



              install.packages("ggplot2", type="source",dependencies = TRUE)


              does the job.






              share|improve this answer






























                0














                I'm still not clear on why this occurs, but I just tried installing from source, as recommended in this SO question about a different error message on Windows.



                install.packages("ggplot2", type="source",dependencies = TRUE)


                does the job.






                share|improve this answer




























                  0












                  0








                  0







                  I'm still not clear on why this occurs, but I just tried installing from source, as recommended in this SO question about a different error message on Windows.



                  install.packages("ggplot2", type="source",dependencies = TRUE)


                  does the job.






                  share|improve this answer















                  I'm still not clear on why this occurs, but I just tried installing from source, as recommended in this SO question about a different error message on Windows.



                  install.packages("ggplot2", type="source",dependencies = TRUE)


                  does the job.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited May 23 '17 at 12:41









                  Community

                  1




                  1










                  answered May 5 '15 at 23:37







                  user225457
































                      0














                      I had the same problem, with R version 3.2.2. The install.packages command as suggested in the other response unfortunately did not work for me.

                      I got ggplot2 loaded by downloading and installing all the packages below. Download each package manually from CRAN (OS X Mavericks binaries), then go to the terminal, cd to the Download folder, and type: R CMD INSTALL *.tgz




                      • colorspace_1.2-6.tgz

                      • digest_0.6.8.tgz

                      • ggplot2_1.0.1.tgz

                      • gtable_0.1.2.tgz

                      • magrittr_1.5.tgz

                      • MASS_7.3-44.tgz

                      • munsell_0.4.2.tgz

                      • plyr_1.8.3.tgz

                      • proto_0.3-10.tgz

                      • Rcpp_0.12.1.tgz

                      • reshape2_1.4.1.tgz

                      • scales_0.3.0.tgz

                      • stringi_1.0-1.tgz

                      • stringr_1.0.0.tgz






                      share|improve this answer




























                        0














                        I had the same problem, with R version 3.2.2. The install.packages command as suggested in the other response unfortunately did not work for me.

                        I got ggplot2 loaded by downloading and installing all the packages below. Download each package manually from CRAN (OS X Mavericks binaries), then go to the terminal, cd to the Download folder, and type: R CMD INSTALL *.tgz




                        • colorspace_1.2-6.tgz

                        • digest_0.6.8.tgz

                        • ggplot2_1.0.1.tgz

                        • gtable_0.1.2.tgz

                        • magrittr_1.5.tgz

                        • MASS_7.3-44.tgz

                        • munsell_0.4.2.tgz

                        • plyr_1.8.3.tgz

                        • proto_0.3-10.tgz

                        • Rcpp_0.12.1.tgz

                        • reshape2_1.4.1.tgz

                        • scales_0.3.0.tgz

                        • stringi_1.0-1.tgz

                        • stringr_1.0.0.tgz






                        share|improve this answer


























                          0












                          0








                          0







                          I had the same problem, with R version 3.2.2. The install.packages command as suggested in the other response unfortunately did not work for me.

                          I got ggplot2 loaded by downloading and installing all the packages below. Download each package manually from CRAN (OS X Mavericks binaries), then go to the terminal, cd to the Download folder, and type: R CMD INSTALL *.tgz




                          • colorspace_1.2-6.tgz

                          • digest_0.6.8.tgz

                          • ggplot2_1.0.1.tgz

                          • gtable_0.1.2.tgz

                          • magrittr_1.5.tgz

                          • MASS_7.3-44.tgz

                          • munsell_0.4.2.tgz

                          • plyr_1.8.3.tgz

                          • proto_0.3-10.tgz

                          • Rcpp_0.12.1.tgz

                          • reshape2_1.4.1.tgz

                          • scales_0.3.0.tgz

                          • stringi_1.0-1.tgz

                          • stringr_1.0.0.tgz






                          share|improve this answer













                          I had the same problem, with R version 3.2.2. The install.packages command as suggested in the other response unfortunately did not work for me.

                          I got ggplot2 loaded by downloading and installing all the packages below. Download each package manually from CRAN (OS X Mavericks binaries), then go to the terminal, cd to the Download folder, and type: R CMD INSTALL *.tgz




                          • colorspace_1.2-6.tgz

                          • digest_0.6.8.tgz

                          • ggplot2_1.0.1.tgz

                          • gtable_0.1.2.tgz

                          • magrittr_1.5.tgz

                          • MASS_7.3-44.tgz

                          • munsell_0.4.2.tgz

                          • plyr_1.8.3.tgz

                          • proto_0.3-10.tgz

                          • Rcpp_0.12.1.tgz

                          • reshape2_1.4.1.tgz

                          • scales_0.3.0.tgz

                          • stringi_1.0-1.tgz

                          • stringr_1.0.0.tgz







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Oct 28 '15 at 19:35









                          Asher SchachterAsher Schachter

                          1




                          1






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f911197%2fggplot2-doesnt-load-in-r-rstudio-application-not-responding%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Probability when a professor distributes a quiz and homework assignment to a class of n students.

                              Aardman Animations

                              Are they similar matrix