Re: [R] How to read a function from keyboard?

2012-05-23 Thread Krzysztof Mitko
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

[R] How to read a function from keyboard?

2012-05-22 Thread zgu9
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? Thank you. Eric --