Installing BayesLogit package
I am trying to install the BayesLogit package in R. The package was removed from the CRAN website, but I have the source files BayesLogit_0.6.tar.gz. I try running
install.packages("BayesLogit_0.6.tar.gz", type = "source", repos = NULL)
but get the following error: installation of package ‘BayesLogit_0.6.tar.gz’ had non-zero exit status.
Can anyone help, or can you no longer install this package? I have the package installed on another machine, which I installed it back when it was on the CRAN website.
r package cran
add a comment |
I am trying to install the BayesLogit package in R. The package was removed from the CRAN website, but I have the source files BayesLogit_0.6.tar.gz. I try running
install.packages("BayesLogit_0.6.tar.gz", type = "source", repos = NULL)
but get the following error: installation of package ‘BayesLogit_0.6.tar.gz’ had non-zero exit status.
Can anyone help, or can you no longer install this package? I have the package installed on another machine, which I installed it back when it was on the CRAN website.
r package cran
add a comment |
I am trying to install the BayesLogit package in R. The package was removed from the CRAN website, but I have the source files BayesLogit_0.6.tar.gz. I try running
install.packages("BayesLogit_0.6.tar.gz", type = "source", repos = NULL)
but get the following error: installation of package ‘BayesLogit_0.6.tar.gz’ had non-zero exit status.
Can anyone help, or can you no longer install this package? I have the package installed on another machine, which I installed it back when it was on the CRAN website.
r package cran
I am trying to install the BayesLogit package in R. The package was removed from the CRAN website, but I have the source files BayesLogit_0.6.tar.gz. I try running
install.packages("BayesLogit_0.6.tar.gz", type = "source", repos = NULL)
but get the following error: installation of package ‘BayesLogit_0.6.tar.gz’ had non-zero exit status.
Can anyone help, or can you no longer install this package? I have the package installed on another machine, which I installed it back when it was on the CRAN website.
r package cran
r package cran
asked Nov 20 '18 at 16:27
norm850norm850
113
113
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I was able to install the package on my Ubuntu machine with devtools::install_version("BayesLogit", "0.6")
Because the package has C++ source files, you well need compilation tools. If you use Windows, that means you will need to install RTools. On Mac, you will need the Xcode command line tools. See also How do I install a package that has been archived from CRAN? and https://cran.r-project.org/bin/windows/Rtools/
I am trying to install on a mac. Running your command above gives the error: installation of package ‘/var/folders/0m/wz75_3gs17z6pd48q6v4g41w0000gn/T//Rtmp0VfIu3/remotes3843f86f7ef/BayesLogit’ had non-zero exit status.
– norm850
Nov 20 '18 at 16:50
Perhaps I need to install Xcode... I will give that a try.
– norm850
Nov 20 '18 at 16:55
Yes, you do need to install Xcode. I will update the answer.
– bojan
Nov 20 '18 at 17:00
Okay I have installed xcode, and when trying to rerun your command, I get ERROR: compilation failed for package ‘BayesLogit’. Is there something I need to do within xcode after installing it, or is it sufficient to install xcode and run your command within R?
– norm850
Nov 20 '18 at 17:42
add a comment |
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',
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53397352%2finstalling-bayeslogit-package%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I was able to install the package on my Ubuntu machine with devtools::install_version("BayesLogit", "0.6")
Because the package has C++ source files, you well need compilation tools. If you use Windows, that means you will need to install RTools. On Mac, you will need the Xcode command line tools. See also How do I install a package that has been archived from CRAN? and https://cran.r-project.org/bin/windows/Rtools/
I am trying to install on a mac. Running your command above gives the error: installation of package ‘/var/folders/0m/wz75_3gs17z6pd48q6v4g41w0000gn/T//Rtmp0VfIu3/remotes3843f86f7ef/BayesLogit’ had non-zero exit status.
– norm850
Nov 20 '18 at 16:50
Perhaps I need to install Xcode... I will give that a try.
– norm850
Nov 20 '18 at 16:55
Yes, you do need to install Xcode. I will update the answer.
– bojan
Nov 20 '18 at 17:00
Okay I have installed xcode, and when trying to rerun your command, I get ERROR: compilation failed for package ‘BayesLogit’. Is there something I need to do within xcode after installing it, or is it sufficient to install xcode and run your command within R?
– norm850
Nov 20 '18 at 17:42
add a comment |
I was able to install the package on my Ubuntu machine with devtools::install_version("BayesLogit", "0.6")
Because the package has C++ source files, you well need compilation tools. If you use Windows, that means you will need to install RTools. On Mac, you will need the Xcode command line tools. See also How do I install a package that has been archived from CRAN? and https://cran.r-project.org/bin/windows/Rtools/
I am trying to install on a mac. Running your command above gives the error: installation of package ‘/var/folders/0m/wz75_3gs17z6pd48q6v4g41w0000gn/T//Rtmp0VfIu3/remotes3843f86f7ef/BayesLogit’ had non-zero exit status.
– norm850
Nov 20 '18 at 16:50
Perhaps I need to install Xcode... I will give that a try.
– norm850
Nov 20 '18 at 16:55
Yes, you do need to install Xcode. I will update the answer.
– bojan
Nov 20 '18 at 17:00
Okay I have installed xcode, and when trying to rerun your command, I get ERROR: compilation failed for package ‘BayesLogit’. Is there something I need to do within xcode after installing it, or is it sufficient to install xcode and run your command within R?
– norm850
Nov 20 '18 at 17:42
add a comment |
I was able to install the package on my Ubuntu machine with devtools::install_version("BayesLogit", "0.6")
Because the package has C++ source files, you well need compilation tools. If you use Windows, that means you will need to install RTools. On Mac, you will need the Xcode command line tools. See also How do I install a package that has been archived from CRAN? and https://cran.r-project.org/bin/windows/Rtools/
I was able to install the package on my Ubuntu machine with devtools::install_version("BayesLogit", "0.6")
Because the package has C++ source files, you well need compilation tools. If you use Windows, that means you will need to install RTools. On Mac, you will need the Xcode command line tools. See also How do I install a package that has been archived from CRAN? and https://cran.r-project.org/bin/windows/Rtools/
edited Nov 20 '18 at 17:01
answered Nov 20 '18 at 16:46
bojanbojan
1335
1335
I am trying to install on a mac. Running your command above gives the error: installation of package ‘/var/folders/0m/wz75_3gs17z6pd48q6v4g41w0000gn/T//Rtmp0VfIu3/remotes3843f86f7ef/BayesLogit’ had non-zero exit status.
– norm850
Nov 20 '18 at 16:50
Perhaps I need to install Xcode... I will give that a try.
– norm850
Nov 20 '18 at 16:55
Yes, you do need to install Xcode. I will update the answer.
– bojan
Nov 20 '18 at 17:00
Okay I have installed xcode, and when trying to rerun your command, I get ERROR: compilation failed for package ‘BayesLogit’. Is there something I need to do within xcode after installing it, or is it sufficient to install xcode and run your command within R?
– norm850
Nov 20 '18 at 17:42
add a comment |
I am trying to install on a mac. Running your command above gives the error: installation of package ‘/var/folders/0m/wz75_3gs17z6pd48q6v4g41w0000gn/T//Rtmp0VfIu3/remotes3843f86f7ef/BayesLogit’ had non-zero exit status.
– norm850
Nov 20 '18 at 16:50
Perhaps I need to install Xcode... I will give that a try.
– norm850
Nov 20 '18 at 16:55
Yes, you do need to install Xcode. I will update the answer.
– bojan
Nov 20 '18 at 17:00
Okay I have installed xcode, and when trying to rerun your command, I get ERROR: compilation failed for package ‘BayesLogit’. Is there something I need to do within xcode after installing it, or is it sufficient to install xcode and run your command within R?
– norm850
Nov 20 '18 at 17:42
I am trying to install on a mac. Running your command above gives the error: installation of package ‘/var/folders/0m/wz75_3gs17z6pd48q6v4g41w0000gn/T//Rtmp0VfIu3/remotes3843f86f7ef/BayesLogit’ had non-zero exit status.
– norm850
Nov 20 '18 at 16:50
I am trying to install on a mac. Running your command above gives the error: installation of package ‘/var/folders/0m/wz75_3gs17z6pd48q6v4g41w0000gn/T//Rtmp0VfIu3/remotes3843f86f7ef/BayesLogit’ had non-zero exit status.
– norm850
Nov 20 '18 at 16:50
Perhaps I need to install Xcode... I will give that a try.
– norm850
Nov 20 '18 at 16:55
Perhaps I need to install Xcode... I will give that a try.
– norm850
Nov 20 '18 at 16:55
Yes, you do need to install Xcode. I will update the answer.
– bojan
Nov 20 '18 at 17:00
Yes, you do need to install Xcode. I will update the answer.
– bojan
Nov 20 '18 at 17:00
Okay I have installed xcode, and when trying to rerun your command, I get ERROR: compilation failed for package ‘BayesLogit’. Is there something I need to do within xcode after installing it, or is it sufficient to install xcode and run your command within R?
– norm850
Nov 20 '18 at 17:42
Okay I have installed xcode, and when trying to rerun your command, I get ERROR: compilation failed for package ‘BayesLogit’. Is there something I need to do within xcode after installing it, or is it sufficient to install xcode and run your command within R?
– norm850
Nov 20 '18 at 17:42
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53397352%2finstalling-bayeslogit-package%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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