[R] How to read a function from keyboard?

Krzysztof Mitko kmitko at mm.st
Wed May 23 09:01:29 CEST 2012


On 2012-05-23 01:11, zgu9 wrote:
> Hi everyone,
> 
> I have an R problem about Input.
> I want to read an arbitrage function from keyboard. But I don't know how. 
> I tried scan(), readLines() but fail to make the output as a function, or a
> list that I can use as.function to transform.
> Is it possible for R to do so? 

source("",continue.echo=TRUE)

-- 
Z pozdrowieniami,
Krzysztof Mitko



More information about the R-help mailing list