PARTY Package Installation Failure and Error Messages











up vote
0
down vote

favorite












I am new to R (so your patience and support is appreciated)! I looked up this issue, but still could not find a solution that worked. I am trying to install the "party" package in R. However, I keep receiving the following error messages:



> **ld: warning: directory not found for option**
> '-L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2' ld: **library not
> found for -lgfortran** clang: error: linker command failed with exit
> code 1 (use -v to see invocation) make: *** [party.so] Error 1 ERROR:
> compilation failed for package ‘party’
> * removing ‘/Users/md3389/Library/R/3.3/library/party’ **Warning in install.packages : installation of package ‘party’ had non-zero exit
> status**
>
> The downloaded source packages are in
> ‘/private/var/folders/fw/wxx2bzj51f7c7p6ptk_g1tyw0000gn/T/RtmpmZHUu9/downloaded_packages’


I successfully installed "mvtnorm" and "multcomp" as suggested on a similar thread here: [Error installing PARTY package in R



However, I still could not install PARTY, so I checked this thread: error install packages("party") - R studio IDE



The above thread led me to https://www.r-bloggers.com/installing-r-on-os-x/



However, I am wondering if there is a more simple solution that does not require me downloading additional software that will force me to update my version of Mac OS X to 10.13.6 or later. I currently have OS X Yosemite (version 10.10.5) and am nervous about updating, since I have heard mixed reviews.



Could someone please advise? I am trying to install "party" for a course assignment, and the "non-zero exit status" and "ld" warnings should not be what I am wasting time on! :-(



Thank you so much!










share|improve this question
























  • If you've done xcode-select --install already and it really does need gfortran, I find it's simplest to just use the CRAN version.
    – alistaire
    Nov 20 at 5:45










  • but fwiw, I've found every recent version of macOS good besides Mojave, which is mildly annoying. High Sierra is excellent, even on old macs.
    – alistaire
    Nov 20 at 5:49










  • Thanks so much @alistaire. I updated to High Sierra and restarted the computer. Then I went to the link that you recommended and installed a previous version of gfortran that was compatible with my system (gfortran-4.2.3.pkg). I then installed Xcode version 7.2.1 from the Apple Developer site here: developer.apple.com/download/more However, I still cannot install party when I go back into R. Does it only work with a certain version of Xcode and gfortran?
    – MD3389
    Nov 20 at 17:31












  • Actually, I think that what I described above WORKED!!! :-) I restarted my computer a second time after the Xcode installation. Also when I was trying to load "party" in R after the second computer restart, I selected "no" when the R console asked, "Do you want to install from sources the package which needs compilation?" I am grateful for you pointing me in the right direction, @alistaire! :-)
    – MD3389
    Nov 20 at 17:46










  • It not working when you select "yes" means your compilers are still not set up right, but most likely the error messages have changed now. Also note that you really don't need all of XCode (which is about 11Gb), just the Command Line Tools. Open XCode, select "Install Command Line Tools" from the menu, then delete the app (unless you plan on writing in Swift or something).
    – alistaire
    Nov 21 at 1:08















up vote
0
down vote

favorite












I am new to R (so your patience and support is appreciated)! I looked up this issue, but still could not find a solution that worked. I am trying to install the "party" package in R. However, I keep receiving the following error messages:



> **ld: warning: directory not found for option**
> '-L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2' ld: **library not
> found for -lgfortran** clang: error: linker command failed with exit
> code 1 (use -v to see invocation) make: *** [party.so] Error 1 ERROR:
> compilation failed for package ‘party’
> * removing ‘/Users/md3389/Library/R/3.3/library/party’ **Warning in install.packages : installation of package ‘party’ had non-zero exit
> status**
>
> The downloaded source packages are in
> ‘/private/var/folders/fw/wxx2bzj51f7c7p6ptk_g1tyw0000gn/T/RtmpmZHUu9/downloaded_packages’


I successfully installed "mvtnorm" and "multcomp" as suggested on a similar thread here: [Error installing PARTY package in R



However, I still could not install PARTY, so I checked this thread: error install packages("party") - R studio IDE



The above thread led me to https://www.r-bloggers.com/installing-r-on-os-x/



However, I am wondering if there is a more simple solution that does not require me downloading additional software that will force me to update my version of Mac OS X to 10.13.6 or later. I currently have OS X Yosemite (version 10.10.5) and am nervous about updating, since I have heard mixed reviews.



Could someone please advise? I am trying to install "party" for a course assignment, and the "non-zero exit status" and "ld" warnings should not be what I am wasting time on! :-(



Thank you so much!










share|improve this question
























  • If you've done xcode-select --install already and it really does need gfortran, I find it's simplest to just use the CRAN version.
    – alistaire
    Nov 20 at 5:45










  • but fwiw, I've found every recent version of macOS good besides Mojave, which is mildly annoying. High Sierra is excellent, even on old macs.
    – alistaire
    Nov 20 at 5:49










  • Thanks so much @alistaire. I updated to High Sierra and restarted the computer. Then I went to the link that you recommended and installed a previous version of gfortran that was compatible with my system (gfortran-4.2.3.pkg). I then installed Xcode version 7.2.1 from the Apple Developer site here: developer.apple.com/download/more However, I still cannot install party when I go back into R. Does it only work with a certain version of Xcode and gfortran?
    – MD3389
    Nov 20 at 17:31












  • Actually, I think that what I described above WORKED!!! :-) I restarted my computer a second time after the Xcode installation. Also when I was trying to load "party" in R after the second computer restart, I selected "no" when the R console asked, "Do you want to install from sources the package which needs compilation?" I am grateful for you pointing me in the right direction, @alistaire! :-)
    – MD3389
    Nov 20 at 17:46










  • It not working when you select "yes" means your compilers are still not set up right, but most likely the error messages have changed now. Also note that you really don't need all of XCode (which is about 11Gb), just the Command Line Tools. Open XCode, select "Install Command Line Tools" from the menu, then delete the app (unless you plan on writing in Swift or something).
    – alistaire
    Nov 21 at 1:08













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am new to R (so your patience and support is appreciated)! I looked up this issue, but still could not find a solution that worked. I am trying to install the "party" package in R. However, I keep receiving the following error messages:



> **ld: warning: directory not found for option**
> '-L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2' ld: **library not
> found for -lgfortran** clang: error: linker command failed with exit
> code 1 (use -v to see invocation) make: *** [party.so] Error 1 ERROR:
> compilation failed for package ‘party’
> * removing ‘/Users/md3389/Library/R/3.3/library/party’ **Warning in install.packages : installation of package ‘party’ had non-zero exit
> status**
>
> The downloaded source packages are in
> ‘/private/var/folders/fw/wxx2bzj51f7c7p6ptk_g1tyw0000gn/T/RtmpmZHUu9/downloaded_packages’


I successfully installed "mvtnorm" and "multcomp" as suggested on a similar thread here: [Error installing PARTY package in R



However, I still could not install PARTY, so I checked this thread: error install packages("party") - R studio IDE



The above thread led me to https://www.r-bloggers.com/installing-r-on-os-x/



However, I am wondering if there is a more simple solution that does not require me downloading additional software that will force me to update my version of Mac OS X to 10.13.6 or later. I currently have OS X Yosemite (version 10.10.5) and am nervous about updating, since I have heard mixed reviews.



Could someone please advise? I am trying to install "party" for a course assignment, and the "non-zero exit status" and "ld" warnings should not be what I am wasting time on! :-(



Thank you so much!










share|improve this question















I am new to R (so your patience and support is appreciated)! I looked up this issue, but still could not find a solution that worked. I am trying to install the "party" package in R. However, I keep receiving the following error messages:



> **ld: warning: directory not found for option**
> '-L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2' ld: **library not
> found for -lgfortran** clang: error: linker command failed with exit
> code 1 (use -v to see invocation) make: *** [party.so] Error 1 ERROR:
> compilation failed for package ‘party’
> * removing ‘/Users/md3389/Library/R/3.3/library/party’ **Warning in install.packages : installation of package ‘party’ had non-zero exit
> status**
>
> The downloaded source packages are in
> ‘/private/var/folders/fw/wxx2bzj51f7c7p6ptk_g1tyw0000gn/T/RtmpmZHUu9/downloaded_packages’


I successfully installed "mvtnorm" and "multcomp" as suggested on a similar thread here: [Error installing PARTY package in R



However, I still could not install PARTY, so I checked this thread: error install packages("party") - R studio IDE



The above thread led me to https://www.r-bloggers.com/installing-r-on-os-x/



However, I am wondering if there is a more simple solution that does not require me downloading additional software that will force me to update my version of Mac OS X to 10.13.6 or later. I currently have OS X Yosemite (version 10.10.5) and am nervous about updating, since I have heard mixed reviews.



Could someone please advise? I am trying to install "party" for a course assignment, and the "non-zero exit status" and "ld" warnings should not be what I am wasting time on! :-(



Thank you so much!







r






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 20 at 5:47









rohit thomas

1,825418




1,825418










asked Nov 20 at 2:31









MD3389

1




1












  • If you've done xcode-select --install already and it really does need gfortran, I find it's simplest to just use the CRAN version.
    – alistaire
    Nov 20 at 5:45










  • but fwiw, I've found every recent version of macOS good besides Mojave, which is mildly annoying. High Sierra is excellent, even on old macs.
    – alistaire
    Nov 20 at 5:49










  • Thanks so much @alistaire. I updated to High Sierra and restarted the computer. Then I went to the link that you recommended and installed a previous version of gfortran that was compatible with my system (gfortran-4.2.3.pkg). I then installed Xcode version 7.2.1 from the Apple Developer site here: developer.apple.com/download/more However, I still cannot install party when I go back into R. Does it only work with a certain version of Xcode and gfortran?
    – MD3389
    Nov 20 at 17:31












  • Actually, I think that what I described above WORKED!!! :-) I restarted my computer a second time after the Xcode installation. Also when I was trying to load "party" in R after the second computer restart, I selected "no" when the R console asked, "Do you want to install from sources the package which needs compilation?" I am grateful for you pointing me in the right direction, @alistaire! :-)
    – MD3389
    Nov 20 at 17:46










  • It not working when you select "yes" means your compilers are still not set up right, but most likely the error messages have changed now. Also note that you really don't need all of XCode (which is about 11Gb), just the Command Line Tools. Open XCode, select "Install Command Line Tools" from the menu, then delete the app (unless you plan on writing in Swift or something).
    – alistaire
    Nov 21 at 1:08


















  • If you've done xcode-select --install already and it really does need gfortran, I find it's simplest to just use the CRAN version.
    – alistaire
    Nov 20 at 5:45










  • but fwiw, I've found every recent version of macOS good besides Mojave, which is mildly annoying. High Sierra is excellent, even on old macs.
    – alistaire
    Nov 20 at 5:49










  • Thanks so much @alistaire. I updated to High Sierra and restarted the computer. Then I went to the link that you recommended and installed a previous version of gfortran that was compatible with my system (gfortran-4.2.3.pkg). I then installed Xcode version 7.2.1 from the Apple Developer site here: developer.apple.com/download/more However, I still cannot install party when I go back into R. Does it only work with a certain version of Xcode and gfortran?
    – MD3389
    Nov 20 at 17:31












  • Actually, I think that what I described above WORKED!!! :-) I restarted my computer a second time after the Xcode installation. Also when I was trying to load "party" in R after the second computer restart, I selected "no" when the R console asked, "Do you want to install from sources the package which needs compilation?" I am grateful for you pointing me in the right direction, @alistaire! :-)
    – MD3389
    Nov 20 at 17:46










  • It not working when you select "yes" means your compilers are still not set up right, but most likely the error messages have changed now. Also note that you really don't need all of XCode (which is about 11Gb), just the Command Line Tools. Open XCode, select "Install Command Line Tools" from the menu, then delete the app (unless you plan on writing in Swift or something).
    – alistaire
    Nov 21 at 1:08
















If you've done xcode-select --install already and it really does need gfortran, I find it's simplest to just use the CRAN version.
– alistaire
Nov 20 at 5:45




If you've done xcode-select --install already and it really does need gfortran, I find it's simplest to just use the CRAN version.
– alistaire
Nov 20 at 5:45












but fwiw, I've found every recent version of macOS good besides Mojave, which is mildly annoying. High Sierra is excellent, even on old macs.
– alistaire
Nov 20 at 5:49




but fwiw, I've found every recent version of macOS good besides Mojave, which is mildly annoying. High Sierra is excellent, even on old macs.
– alistaire
Nov 20 at 5:49












Thanks so much @alistaire. I updated to High Sierra and restarted the computer. Then I went to the link that you recommended and installed a previous version of gfortran that was compatible with my system (gfortran-4.2.3.pkg). I then installed Xcode version 7.2.1 from the Apple Developer site here: developer.apple.com/download/more However, I still cannot install party when I go back into R. Does it only work with a certain version of Xcode and gfortran?
– MD3389
Nov 20 at 17:31






Thanks so much @alistaire. I updated to High Sierra and restarted the computer. Then I went to the link that you recommended and installed a previous version of gfortran that was compatible with my system (gfortran-4.2.3.pkg). I then installed Xcode version 7.2.1 from the Apple Developer site here: developer.apple.com/download/more However, I still cannot install party when I go back into R. Does it only work with a certain version of Xcode and gfortran?
– MD3389
Nov 20 at 17:31














Actually, I think that what I described above WORKED!!! :-) I restarted my computer a second time after the Xcode installation. Also when I was trying to load "party" in R after the second computer restart, I selected "no" when the R console asked, "Do you want to install from sources the package which needs compilation?" I am grateful for you pointing me in the right direction, @alistaire! :-)
– MD3389
Nov 20 at 17:46




Actually, I think that what I described above WORKED!!! :-) I restarted my computer a second time after the Xcode installation. Also when I was trying to load "party" in R after the second computer restart, I selected "no" when the R console asked, "Do you want to install from sources the package which needs compilation?" I am grateful for you pointing me in the right direction, @alistaire! :-)
– MD3389
Nov 20 at 17:46












It not working when you select "yes" means your compilers are still not set up right, but most likely the error messages have changed now. Also note that you really don't need all of XCode (which is about 11Gb), just the Command Line Tools. Open XCode, select "Install Command Line Tools" from the menu, then delete the app (unless you plan on writing in Swift or something).
– alistaire
Nov 21 at 1:08




It not working when you select "yes" means your compilers are still not set up right, but most likely the error messages have changed now. Also note that you really don't need all of XCode (which is about 11Gb), just the Command Line Tools. Open XCode, select "Install Command Line Tools" from the menu, then delete the app (unless you plan on writing in Swift or something).
– alistaire
Nov 21 at 1:08

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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',
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%2fstackoverflow.com%2fquestions%2f53385377%2fparty-package-installation-failure-and-error-messages%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • 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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2fstackoverflow.com%2fquestions%2f53385377%2fparty-package-installation-failure-and-error-messages%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

Wiesbaden

Marschland

Dieringhausen