Installation of package 'ggplot2' had non zero exit status?
Hi I am trying to install the ggplot2 package I am getting following errors & warnings.
install.packages("ggplot2")
also installing the dependency ‘rlang’
There are binary versions available but the source versions are later:
binary source needs_compilation
rlang 0.2.0 0.3.0.1 TRUE
ggplot2 2.2.1 3.1.0 FALSE
Binaries will be installed
trying URL 'https://cran.cnr.berkeley.edu/bin/windows/contrib/3.3/rlang_0.2.0.zip'
Content type 'application/zip' length 754726 bytes (737 KB)
downloaded 737 KB
package ‘rlang’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:UsersabhijitkAppDataLocalTempRtmpgtLRDodownloaded_packages
installing the source package ‘ggplot2’
trying URL 'https://cran.cnr.berkeley.edu/src/contrib/ggplot2_3.1.0.tar.gz'
Content type 'application/x-gzip' length 2863109 bytes (2.7 MB)
downloaded 2.7 MB
* installing *source* package 'ggplot2' ...
** package 'ggplot2' successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'rlang' 0.2.0 is being loaded, but >= 0.2.1 is required
ERROR: lazy loading failed for package 'ggplot2'
* removing 'C:/Users/abhijitk/Documents/R/R-3.3.0/library/ggplot2'
The downloaded source packages are in
‘C:UsersabhijitkAppDataLocalTempRtmpgtLRDodownloaded_packages’
Warning messages:
1: running command '"C:/Users/abhijitk/Documents/R/R-3.3.0/bin/x64/R" CMD INSTALL -l "C:UsersabhijitkDocumentsRR-3.3.0library" C:UsersabhijitkAppDataLocalTempRtmpgtLRDo/downloaded_packages/ggplot2_3.1.0.tar.gz' had status 1
2: In install.packages("ggplot2") :
installation of package ‘ggplot2’ had non-zero exit status
r ggplot2
add a comment |
Hi I am trying to install the ggplot2 package I am getting following errors & warnings.
install.packages("ggplot2")
also installing the dependency ‘rlang’
There are binary versions available but the source versions are later:
binary source needs_compilation
rlang 0.2.0 0.3.0.1 TRUE
ggplot2 2.2.1 3.1.0 FALSE
Binaries will be installed
trying URL 'https://cran.cnr.berkeley.edu/bin/windows/contrib/3.3/rlang_0.2.0.zip'
Content type 'application/zip' length 754726 bytes (737 KB)
downloaded 737 KB
package ‘rlang’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:UsersabhijitkAppDataLocalTempRtmpgtLRDodownloaded_packages
installing the source package ‘ggplot2’
trying URL 'https://cran.cnr.berkeley.edu/src/contrib/ggplot2_3.1.0.tar.gz'
Content type 'application/x-gzip' length 2863109 bytes (2.7 MB)
downloaded 2.7 MB
* installing *source* package 'ggplot2' ...
** package 'ggplot2' successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'rlang' 0.2.0 is being loaded, but >= 0.2.1 is required
ERROR: lazy loading failed for package 'ggplot2'
* removing 'C:/Users/abhijitk/Documents/R/R-3.3.0/library/ggplot2'
The downloaded source packages are in
‘C:UsersabhijitkAppDataLocalTempRtmpgtLRDodownloaded_packages’
Warning messages:
1: running command '"C:/Users/abhijitk/Documents/R/R-3.3.0/bin/x64/R" CMD INSTALL -l "C:UsersabhijitkDocumentsRR-3.3.0library" C:UsersabhijitkAppDataLocalTempRtmpgtLRDo/downloaded_packages/ggplot2_3.1.0.tar.gz' had status 1
2: In install.packages("ggplot2") :
installation of package ‘ggplot2’ had non-zero exit status
r ggplot2
1
update rlang, or more likely just update everything withupdate.packages()
– alistaire
Nov 20 '18 at 5:32
1
Tryinstall.packages("ggplot2", dependencies = TRUE)
– Vishesh Shrivastav
Nov 20 '18 at 5:34
ok will do that
– Abhijit Kaware
Nov 20 '18 at 5:35
add a comment |
Hi I am trying to install the ggplot2 package I am getting following errors & warnings.
install.packages("ggplot2")
also installing the dependency ‘rlang’
There are binary versions available but the source versions are later:
binary source needs_compilation
rlang 0.2.0 0.3.0.1 TRUE
ggplot2 2.2.1 3.1.0 FALSE
Binaries will be installed
trying URL 'https://cran.cnr.berkeley.edu/bin/windows/contrib/3.3/rlang_0.2.0.zip'
Content type 'application/zip' length 754726 bytes (737 KB)
downloaded 737 KB
package ‘rlang’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:UsersabhijitkAppDataLocalTempRtmpgtLRDodownloaded_packages
installing the source package ‘ggplot2’
trying URL 'https://cran.cnr.berkeley.edu/src/contrib/ggplot2_3.1.0.tar.gz'
Content type 'application/x-gzip' length 2863109 bytes (2.7 MB)
downloaded 2.7 MB
* installing *source* package 'ggplot2' ...
** package 'ggplot2' successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'rlang' 0.2.0 is being loaded, but >= 0.2.1 is required
ERROR: lazy loading failed for package 'ggplot2'
* removing 'C:/Users/abhijitk/Documents/R/R-3.3.0/library/ggplot2'
The downloaded source packages are in
‘C:UsersabhijitkAppDataLocalTempRtmpgtLRDodownloaded_packages’
Warning messages:
1: running command '"C:/Users/abhijitk/Documents/R/R-3.3.0/bin/x64/R" CMD INSTALL -l "C:UsersabhijitkDocumentsRR-3.3.0library" C:UsersabhijitkAppDataLocalTempRtmpgtLRDo/downloaded_packages/ggplot2_3.1.0.tar.gz' had status 1
2: In install.packages("ggplot2") :
installation of package ‘ggplot2’ had non-zero exit status
r ggplot2
Hi I am trying to install the ggplot2 package I am getting following errors & warnings.
install.packages("ggplot2")
also installing the dependency ‘rlang’
There are binary versions available but the source versions are later:
binary source needs_compilation
rlang 0.2.0 0.3.0.1 TRUE
ggplot2 2.2.1 3.1.0 FALSE
Binaries will be installed
trying URL 'https://cran.cnr.berkeley.edu/bin/windows/contrib/3.3/rlang_0.2.0.zip'
Content type 'application/zip' length 754726 bytes (737 KB)
downloaded 737 KB
package ‘rlang’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:UsersabhijitkAppDataLocalTempRtmpgtLRDodownloaded_packages
installing the source package ‘ggplot2’
trying URL 'https://cran.cnr.berkeley.edu/src/contrib/ggplot2_3.1.0.tar.gz'
Content type 'application/x-gzip' length 2863109 bytes (2.7 MB)
downloaded 2.7 MB
* installing *source* package 'ggplot2' ...
** package 'ggplot2' successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'rlang' 0.2.0 is being loaded, but >= 0.2.1 is required
ERROR: lazy loading failed for package 'ggplot2'
* removing 'C:/Users/abhijitk/Documents/R/R-3.3.0/library/ggplot2'
The downloaded source packages are in
‘C:UsersabhijitkAppDataLocalTempRtmpgtLRDodownloaded_packages’
Warning messages:
1: running command '"C:/Users/abhijitk/Documents/R/R-3.3.0/bin/x64/R" CMD INSTALL -l "C:UsersabhijitkDocumentsRR-3.3.0library" C:UsersabhijitkAppDataLocalTempRtmpgtLRDo/downloaded_packages/ggplot2_3.1.0.tar.gz' had status 1
2: In install.packages("ggplot2") :
installation of package ‘ggplot2’ had non-zero exit status
r ggplot2
r ggplot2
edited Nov 20 '18 at 9:34
Thomas K
2,208718
2,208718
asked Nov 20 '18 at 5:20
Abhijit KawareAbhijit Kaware
43
43
1
update rlang, or more likely just update everything withupdate.packages()
– alistaire
Nov 20 '18 at 5:32
1
Tryinstall.packages("ggplot2", dependencies = TRUE)
– Vishesh Shrivastav
Nov 20 '18 at 5:34
ok will do that
– Abhijit Kaware
Nov 20 '18 at 5:35
add a comment |
1
update rlang, or more likely just update everything withupdate.packages()
– alistaire
Nov 20 '18 at 5:32
1
Tryinstall.packages("ggplot2", dependencies = TRUE)
– Vishesh Shrivastav
Nov 20 '18 at 5:34
ok will do that
– Abhijit Kaware
Nov 20 '18 at 5:35
1
1
update rlang, or more likely just update everything with
update.packages()
– alistaire
Nov 20 '18 at 5:32
update rlang, or more likely just update everything with
update.packages()
– alistaire
Nov 20 '18 at 5:32
1
1
Try
install.packages("ggplot2", dependencies = TRUE)
– Vishesh Shrivastav
Nov 20 '18 at 5:34
Try
install.packages("ggplot2", dependencies = TRUE)
– Vishesh Shrivastav
Nov 20 '18 at 5:34
ok will do that
– Abhijit Kaware
Nov 20 '18 at 5:35
ok will do that
– Abhijit Kaware
Nov 20 '18 at 5:35
add a comment |
0
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',
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%2f53386670%2finstallation-of-package-ggplot2-had-non-zero-exit-status%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f53386670%2finstallation-of-package-ggplot2-had-non-zero-exit-status%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
1
update rlang, or more likely just update everything with
update.packages()
– alistaire
Nov 20 '18 at 5:32
1
Try
install.packages("ggplot2", dependencies = TRUE)
– Vishesh Shrivastav
Nov 20 '18 at 5:34
ok will do that
– Abhijit Kaware
Nov 20 '18 at 5:35