[R] Help! Weird behavioral difference between R interactive and command-line?
MacQueen, Don
macqueen1 at llnl.gov
Mon Sep 10 19:39:46 CEST 2012
You will have to **show** what you did; it isn't sufficient to
**describe** what you did.
The problem could be that somewhere in your program there is something
that only works in an interactive session.
The problem could be that your "command-line" attempt is using a different
working directory than your interactive session.
You could insert some sort of print() statements in your program to try to
find out how far it runs before it halts, which might give you a clue as
to what the problem is.
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 9/6/12 11:22 AM, "Michael" <comtech.usa at gmail.com> wrote:
>Help! Weird behavioral difference between R interactive and command-line?
>
>Hi all,
>
>This weird problem has been bugging me for a while.
>
>If I run the R program in an interactive session, it worked;
>
>But if I run the R program on command-line, it stopped with no reason:
>with
>"Execution halted" message and without any specific error messages.
>
>What could be the problem?
>
>Thanks a lot!
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list