R and Prompt
Gabor suggestions will work, but I would also recommend looking at the Rpad library. Rpad allows a web page to communicate with R, so you can design the page however you want and the users just puts in the parameters and hits calculate. In your approach, everyone who uses the program would have to have R installed. With Rpad, only the web server has to have R and everyone else connects through the web page. HTH, Roger
On 7/29/05, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
Look at ?file.choose ?select.list On 7/29/05, L.Isella <L.Isella at myrealbox.com> wrote:
Dear All, I am starting to use R. I need to implement a script to do some basic portfolio optimization which can be used by people with no programming skills at all. In order to do so, the user should be asked simply to input the name of the file containing the portfolio data (e.g. foo.dat), then R will read it, plus a few y/n as an answer to some questions about the contrains on the portfolio. What is the syntax to do this in R? In the examples I found, the scripts always directly contained the names of the files to read. Best Regards Lorenzo
_______________________________________________ R-sig-finance at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance
_______________________________________________ R-sig-finance at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance