How to resolve [1]+ Exit 1 error?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I want to run four different R codes on linux batch using the following command:



nohup R CMD BATCH code_name.R&


I could run 2 of the codes on background, but running the other two codes, I get the below error



[1]+ Exit 1


The following is the R error I get:



[1] "03012017000000"
Error in if (difftime_last >= 0) { :
missing value where TRUE/FALSE needed
Execution halted


Would you lead me why this happens, and how I can resolve it please?







share|improve this question






















  • Yse, thanks for reminding, I editted that one.
    – B_R
    Dec 24 '17 at 20:45










  • We probably need to see the error messages output by R in order to help.
    – Mark Plotnick
    Dec 24 '17 at 21:29










  • I adde that one as well
    – B_R
    Dec 24 '17 at 21:57











  • Run one instance in the foreground and debug it, before running it in the background.
    – NickD
    Dec 24 '17 at 22:07










  • Hard to tell without seeing code, but does this help? stackoverflow.com/questions/7355187/…
    – Mark Plotnick
    Dec 24 '17 at 22:25















up vote
0
down vote

favorite












I want to run four different R codes on linux batch using the following command:



nohup R CMD BATCH code_name.R&


I could run 2 of the codes on background, but running the other two codes, I get the below error



[1]+ Exit 1


The following is the R error I get:



[1] "03012017000000"
Error in if (difftime_last >= 0) { :
missing value where TRUE/FALSE needed
Execution halted


Would you lead me why this happens, and how I can resolve it please?







share|improve this question






















  • Yse, thanks for reminding, I editted that one.
    – B_R
    Dec 24 '17 at 20:45










  • We probably need to see the error messages output by R in order to help.
    – Mark Plotnick
    Dec 24 '17 at 21:29










  • I adde that one as well
    – B_R
    Dec 24 '17 at 21:57











  • Run one instance in the foreground and debug it, before running it in the background.
    – NickD
    Dec 24 '17 at 22:07










  • Hard to tell without seeing code, but does this help? stackoverflow.com/questions/7355187/…
    – Mark Plotnick
    Dec 24 '17 at 22:25













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I want to run four different R codes on linux batch using the following command:



nohup R CMD BATCH code_name.R&


I could run 2 of the codes on background, but running the other two codes, I get the below error



[1]+ Exit 1


The following is the R error I get:



[1] "03012017000000"
Error in if (difftime_last >= 0) { :
missing value where TRUE/FALSE needed
Execution halted


Would you lead me why this happens, and how I can resolve it please?







share|improve this question














I want to run four different R codes on linux batch using the following command:



nohup R CMD BATCH code_name.R&


I could run 2 of the codes on background, but running the other two codes, I get the below error



[1]+ Exit 1


The following is the R error I get:



[1] "03012017000000"
Error in if (difftime_last >= 0) { :
missing value where TRUE/FALSE needed
Execution halted


Would you lead me why this happens, and how I can resolve it please?









share|improve this question













share|improve this question




share|improve this question








edited Dec 24 '17 at 21:56

























asked Dec 24 '17 at 20:37









B_R

11




11











  • Yse, thanks for reminding, I editted that one.
    – B_R
    Dec 24 '17 at 20:45










  • We probably need to see the error messages output by R in order to help.
    – Mark Plotnick
    Dec 24 '17 at 21:29










  • I adde that one as well
    – B_R
    Dec 24 '17 at 21:57











  • Run one instance in the foreground and debug it, before running it in the background.
    – NickD
    Dec 24 '17 at 22:07










  • Hard to tell without seeing code, but does this help? stackoverflow.com/questions/7355187/…
    – Mark Plotnick
    Dec 24 '17 at 22:25

















  • Yse, thanks for reminding, I editted that one.
    – B_R
    Dec 24 '17 at 20:45










  • We probably need to see the error messages output by R in order to help.
    – Mark Plotnick
    Dec 24 '17 at 21:29










  • I adde that one as well
    – B_R
    Dec 24 '17 at 21:57











  • Run one instance in the foreground and debug it, before running it in the background.
    – NickD
    Dec 24 '17 at 22:07










  • Hard to tell without seeing code, but does this help? stackoverflow.com/questions/7355187/…
    – Mark Plotnick
    Dec 24 '17 at 22:25
















Yse, thanks for reminding, I editted that one.
– B_R
Dec 24 '17 at 20:45




Yse, thanks for reminding, I editted that one.
– B_R
Dec 24 '17 at 20:45












We probably need to see the error messages output by R in order to help.
– Mark Plotnick
Dec 24 '17 at 21:29




We probably need to see the error messages output by R in order to help.
– Mark Plotnick
Dec 24 '17 at 21:29












I adde that one as well
– B_R
Dec 24 '17 at 21:57





I adde that one as well
– B_R
Dec 24 '17 at 21:57













Run one instance in the foreground and debug it, before running it in the background.
– NickD
Dec 24 '17 at 22:07




Run one instance in the foreground and debug it, before running it in the background.
– NickD
Dec 24 '17 at 22:07












Hard to tell without seeing code, but does this help? stackoverflow.com/questions/7355187/…
– Mark Plotnick
Dec 24 '17 at 22:25





Hard to tell without seeing code, but does this help? stackoverflow.com/questions/7355187/…
– Mark Plotnick
Dec 24 '17 at 22:25











1 Answer
1






active

oldest

votes

















up vote
2
down vote













[1]+ Exit 1


...means the first background job you started ([1]) has just terminated with exit code 1.



Typically exit code 0 means "no error", and any non-zero exit code means some kind of an error situation: without any error message, you probably need to study the R code to see what went wrong.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412855%2fhow-to-resolve-1-exit-1-error%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote













    [1]+ Exit 1


    ...means the first background job you started ([1]) has just terminated with exit code 1.



    Typically exit code 0 means "no error", and any non-zero exit code means some kind of an error situation: without any error message, you probably need to study the R code to see what went wrong.






    share|improve this answer
























      up vote
      2
      down vote













      [1]+ Exit 1


      ...means the first background job you started ([1]) has just terminated with exit code 1.



      Typically exit code 0 means "no error", and any non-zero exit code means some kind of an error situation: without any error message, you probably need to study the R code to see what went wrong.






      share|improve this answer






















        up vote
        2
        down vote










        up vote
        2
        down vote









        [1]+ Exit 1


        ...means the first background job you started ([1]) has just terminated with exit code 1.



        Typically exit code 0 means "no error", and any non-zero exit code means some kind of an error situation: without any error message, you probably need to study the R code to see what went wrong.






        share|improve this answer












        [1]+ Exit 1


        ...means the first background job you started ([1]) has just terminated with exit code 1.



        Typically exit code 0 means "no error", and any non-zero exit code means some kind of an error situation: without any error message, you probably need to study the R code to see what went wrong.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 24 '17 at 21:20









        telcoM

        10.8k11232




        10.8k11232






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412855%2fhow-to-resolve-1-exit-1-error%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay