There is no package called devtools in R even after installing devtools












0















I am trying to follow this guide to get R as a usable language in jupyter notebook.



The first step is to run:



install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))


But even after running this command, I still cannot execute the next step:



devtools::install_github('IRkernel/IRkernel')


returning the error:



Error in loadNamespace(name) : there is no package called ‘devtools’


If you look at the comment section of the link I posted someone else seems to also have run into this problem.



Update:
Scott Richie suggested I rerun install.packages('devtools')
this returned:



The downloaded source packages are in
‘/tmp/RtmpgBI8IU/downloaded_packages’
Warning messages:
1: In install.packages("devtools") :
installation of package ‘curl’ had non-zero exit status
2: In install.packages("devtools") :
installation of package ‘openssl’ had non-zero exit status
3: In install.packages("devtools") :
installation of package ‘git2r’ had non-zero exit status
4: In install.packages("devtools") :
installation of package ‘httr’ had non-zero exit status
5: In install.packages("devtools") :
installation of package ‘gh’ had non-zero exit status
6: In install.packages("devtools") :
installation of package ‘usethis’ had non-zero exit status
7: In install.packages("devtools") :
installation of package ‘devtools’ had non-zero exit status


UPDATE 2:



I read up on related threads and was able to get devtools. but I ran into the problem:



> IRkernel::installspec()
Error in IRkernel::installspec() :
jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 1.


This other thread had exited with code 127 and none of the solution did not work in my case. : jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 127










share|improve this question




















  • 3





    Did you check the output of your install.packages() command? There was probably an error somewhere. Check again running just install.packages('devtools').

    – Scott Ritchie
    Nov 13 '18 at 13:45











  • I just ran it again and i think you're right, this is the problem. im updating my post now with the error message.

    – Qwertford
    Nov 13 '18 at 13:46











  • What system are you on?

    – iod
    Nov 13 '18 at 13:54











  • Possible duplicate of installation of package ‘devtools’ had non-zero exit status in a powerpc

    – iod
    Nov 13 '18 at 13:55











  • Also potential duplicate of stackoverflow.com/questions/20923209/…

    – iod
    Nov 13 '18 at 13:55
















0















I am trying to follow this guide to get R as a usable language in jupyter notebook.



The first step is to run:



install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))


But even after running this command, I still cannot execute the next step:



devtools::install_github('IRkernel/IRkernel')


returning the error:



Error in loadNamespace(name) : there is no package called ‘devtools’


If you look at the comment section of the link I posted someone else seems to also have run into this problem.



Update:
Scott Richie suggested I rerun install.packages('devtools')
this returned:



The downloaded source packages are in
‘/tmp/RtmpgBI8IU/downloaded_packages’
Warning messages:
1: In install.packages("devtools") :
installation of package ‘curl’ had non-zero exit status
2: In install.packages("devtools") :
installation of package ‘openssl’ had non-zero exit status
3: In install.packages("devtools") :
installation of package ‘git2r’ had non-zero exit status
4: In install.packages("devtools") :
installation of package ‘httr’ had non-zero exit status
5: In install.packages("devtools") :
installation of package ‘gh’ had non-zero exit status
6: In install.packages("devtools") :
installation of package ‘usethis’ had non-zero exit status
7: In install.packages("devtools") :
installation of package ‘devtools’ had non-zero exit status


UPDATE 2:



I read up on related threads and was able to get devtools. but I ran into the problem:



> IRkernel::installspec()
Error in IRkernel::installspec() :
jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 1.


This other thread had exited with code 127 and none of the solution did not work in my case. : jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 127










share|improve this question




















  • 3





    Did you check the output of your install.packages() command? There was probably an error somewhere. Check again running just install.packages('devtools').

    – Scott Ritchie
    Nov 13 '18 at 13:45











  • I just ran it again and i think you're right, this is the problem. im updating my post now with the error message.

    – Qwertford
    Nov 13 '18 at 13:46











  • What system are you on?

    – iod
    Nov 13 '18 at 13:54











  • Possible duplicate of installation of package ‘devtools’ had non-zero exit status in a powerpc

    – iod
    Nov 13 '18 at 13:55











  • Also potential duplicate of stackoverflow.com/questions/20923209/…

    – iod
    Nov 13 '18 at 13:55














0












0








0








I am trying to follow this guide to get R as a usable language in jupyter notebook.



The first step is to run:



install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))


But even after running this command, I still cannot execute the next step:



devtools::install_github('IRkernel/IRkernel')


returning the error:



Error in loadNamespace(name) : there is no package called ‘devtools’


If you look at the comment section of the link I posted someone else seems to also have run into this problem.



Update:
Scott Richie suggested I rerun install.packages('devtools')
this returned:



The downloaded source packages are in
‘/tmp/RtmpgBI8IU/downloaded_packages’
Warning messages:
1: In install.packages("devtools") :
installation of package ‘curl’ had non-zero exit status
2: In install.packages("devtools") :
installation of package ‘openssl’ had non-zero exit status
3: In install.packages("devtools") :
installation of package ‘git2r’ had non-zero exit status
4: In install.packages("devtools") :
installation of package ‘httr’ had non-zero exit status
5: In install.packages("devtools") :
installation of package ‘gh’ had non-zero exit status
6: In install.packages("devtools") :
installation of package ‘usethis’ had non-zero exit status
7: In install.packages("devtools") :
installation of package ‘devtools’ had non-zero exit status


UPDATE 2:



I read up on related threads and was able to get devtools. but I ran into the problem:



> IRkernel::installspec()
Error in IRkernel::installspec() :
jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 1.


This other thread had exited with code 127 and none of the solution did not work in my case. : jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 127










share|improve this question
















I am trying to follow this guide to get R as a usable language in jupyter notebook.



The first step is to run:



install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))


But even after running this command, I still cannot execute the next step:



devtools::install_github('IRkernel/IRkernel')


returning the error:



Error in loadNamespace(name) : there is no package called ‘devtools’


If you look at the comment section of the link I posted someone else seems to also have run into this problem.



Update:
Scott Richie suggested I rerun install.packages('devtools')
this returned:



The downloaded source packages are in
‘/tmp/RtmpgBI8IU/downloaded_packages’
Warning messages:
1: In install.packages("devtools") :
installation of package ‘curl’ had non-zero exit status
2: In install.packages("devtools") :
installation of package ‘openssl’ had non-zero exit status
3: In install.packages("devtools") :
installation of package ‘git2r’ had non-zero exit status
4: In install.packages("devtools") :
installation of package ‘httr’ had non-zero exit status
5: In install.packages("devtools") :
installation of package ‘gh’ had non-zero exit status
6: In install.packages("devtools") :
installation of package ‘usethis’ had non-zero exit status
7: In install.packages("devtools") :
installation of package ‘devtools’ had non-zero exit status


UPDATE 2:



I read up on related threads and was able to get devtools. but I ran into the problem:



> IRkernel::installspec()
Error in IRkernel::installspec() :
jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 1.


This other thread had exited with code 127 and none of the solution did not work in my case. : jupyter-client has to be installed but “jupyter kernelspec --version” exited with code 127







r jupyter-notebook






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 '18 at 14:14







Qwertford

















asked Nov 13 '18 at 13:43









QwertfordQwertford

849




849








  • 3





    Did you check the output of your install.packages() command? There was probably an error somewhere. Check again running just install.packages('devtools').

    – Scott Ritchie
    Nov 13 '18 at 13:45











  • I just ran it again and i think you're right, this is the problem. im updating my post now with the error message.

    – Qwertford
    Nov 13 '18 at 13:46











  • What system are you on?

    – iod
    Nov 13 '18 at 13:54











  • Possible duplicate of installation of package ‘devtools’ had non-zero exit status in a powerpc

    – iod
    Nov 13 '18 at 13:55











  • Also potential duplicate of stackoverflow.com/questions/20923209/…

    – iod
    Nov 13 '18 at 13:55














  • 3





    Did you check the output of your install.packages() command? There was probably an error somewhere. Check again running just install.packages('devtools').

    – Scott Ritchie
    Nov 13 '18 at 13:45











  • I just ran it again and i think you're right, this is the problem. im updating my post now with the error message.

    – Qwertford
    Nov 13 '18 at 13:46











  • What system are you on?

    – iod
    Nov 13 '18 at 13:54











  • Possible duplicate of installation of package ‘devtools’ had non-zero exit status in a powerpc

    – iod
    Nov 13 '18 at 13:55











  • Also potential duplicate of stackoverflow.com/questions/20923209/…

    – iod
    Nov 13 '18 at 13:55








3




3





Did you check the output of your install.packages() command? There was probably an error somewhere. Check again running just install.packages('devtools').

– Scott Ritchie
Nov 13 '18 at 13:45





Did you check the output of your install.packages() command? There was probably an error somewhere. Check again running just install.packages('devtools').

– Scott Ritchie
Nov 13 '18 at 13:45













I just ran it again and i think you're right, this is the problem. im updating my post now with the error message.

– Qwertford
Nov 13 '18 at 13:46





I just ran it again and i think you're right, this is the problem. im updating my post now with the error message.

– Qwertford
Nov 13 '18 at 13:46













What system are you on?

– iod
Nov 13 '18 at 13:54





What system are you on?

– iod
Nov 13 '18 at 13:54













Possible duplicate of installation of package ‘devtools’ had non-zero exit status in a powerpc

– iod
Nov 13 '18 at 13:55





Possible duplicate of installation of package ‘devtools’ had non-zero exit status in a powerpc

– iod
Nov 13 '18 at 13:55













Also potential duplicate of stackoverflow.com/questions/20923209/…

– iod
Nov 13 '18 at 13:55





Also potential duplicate of stackoverflow.com/questions/20923209/…

– iod
Nov 13 '18 at 13:55












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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53282382%2fthere-is-no-package-called-devtools-in-r-even-after-installing-devtools%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
















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53282382%2fthere-is-no-package-called-devtools-in-r-even-after-installing-devtools%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

Xamarin.iOS Cant Deploy on Iphone

Glorious Revolution

Dulmage-Mendelsohn matrix decomposition in Python