Thanks Jeff for your reply...
The code is not written by me it is the NDVITS package which is used in R.
TimeSeriesAnalysis {ndvits}
And at that point it requires my input.....

Regards,
 Vahe


On Wed, Apr 24, 2013 at 11:04 AM, Jeff Newmiller
<jdnew...@dcn.davis.ca.us>wrote:

> Your example is not reproducible, so it is open to misinterpretation.
>
> Normally the approach taken in R is not to wait for user input, but have
> the user call the function with the desired values. One interpretation of
> your question is that the function you are using is broken by design, and
> you should re-write it.
>
> ---------------------------------------------------------------------------
> Jeff Newmiller                        The     .....       .....  Go Live...
> DCN:<jdnew...@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live
> Go...
>                                       Live:   OO#.. Dead: OO#..  Playing
> Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
> /Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
> ---------------------------------------------------------------------------
> Sent from my phone. Please excuse my brevity.
>
> Vahe nr <vne...@gmail.com> wrote:
>
> >Dear all,
> >
> >Can we simulate user input in R ?
> >for example if we have a function which needs an input from the user to
> >continue its work, can we automate this step (simulate the input...)
> >
> >Here is the sample:
> >choose between one of the grouping factor available :
> >c("Village", "Country")
> >we need to enter Village or Country to continue.....can I automatically
> >pass one of the values without user input.
> >
> >Regards,
> > Vahe
> >
> >       [[alternative HTML version deleted]]
> >
> >______________________________________________
> >R-help@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.
>
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to