Re: [R] Newbie

From: Adaikalavan Ramasamy <ramasamy_at_cancer.org.uk>
Date: Thu 15 Jul 2004 - 21:17:13 EST

> library("sm")
> x <- ask("Enter a number")

Enter a number: 5
> x

[1] 5

On Thu, 2004-07-15 at 11:41, Paolo Covelli wrote:
> Hi,
>
> I wish build a R-script (or a R-function) that read a number from the keyboard and then process it.
> For example: from R I load the function X, that ask me the level of confidence "\alpha", by keyboard I write 5 and the function go on.
>
> Thanks in advance
>
> Paolo
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 15 21:28:55 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:54:59 EST