I executed the code in rstudio successfully:
library("ndvits", lib.loc="/home/vahe/R/i686-pc-linux-gnu-library/2.15")
ndvidirectory=paste(system.file("extdata/VITO_Mzimba",
                                package="ndvits"), "/", sep="")
region="Mzimba"
Ystart=2004
Yend=2006
shape="SLP_Mzimba"
shapedir=paste(system.file("extdata/shape", package="ndvits"),
               "/", sep="")
outfile = "mzimbaTS2.txt"
outfile2 = "MzimbaTS2.pdf"
outfiel3 = "my.pdf"
signal = TimeSeriesAnalysis(shape, shapedir, ndvidirectory, region, Ystart,
Yend, outfile, outfile2)
Village

But the same code is not going well in linux terminal by R script, it
is continually repeat the line enter Village or Country, what is the
difference here between R script and rstudio script ?

Regards,
 Vahe

	[[alternative HTML version deleted]]

