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.