Re: [R] Dynamic Programming in R

2006-01-20 Thread Jens Oehlschlägel
Gunter, there are undoubtedly still situations where R may require an unacceptably large amount of memory overhead. Recursion is one, I believe. One can avoid unacceptably large amount of memory overhead when doing recursion in R: either by passing parameters by reference using package ref or

Re: [R] Dynamic Programming in R

2006-01-20 Thread Arne.Muller
] Dynamic Programming in R Hi R users, I am looking to numerically solve a dynamic program in the R environment. I was wondering if there were people out there who had expereinced success at using R for such applications. I'd rather continue in R than learn Mathlab. A concern that has been cited

Re: [R] Dynamic Programming in R

2006-01-20 Thread hadley wickham
there are undoubtedly still situations where R may require an unacceptably large amount of memory overhead. Recursion is one, I believe. One can avoid unacceptably large amount of memory overhead when doing recursion in R: either by passing parameters by reference using package ref or by

[R] Dynamic Programming in R

2006-01-19 Thread Arnab mukherji
Hi R users, I am looking to numerically solve a dynamic program in the R environment. I was wondering if there were people out there who had expereinced success at using R for such applications. I'd rather continue in R than learn Mathlab. A concern that has been cited that may discourage R

Re: [R] Dynamic Programming in R

2006-01-19 Thread Berton Gunter
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnab mukherji Sent: Thursday, January 19, 2006 1:55 PM To: r-help@stat.math.ethz.ch Subject: [R] Dynamic Programming in R Hi R users, I am looking to numerically solve a dynamic program in the R environment. I was wondering if there were

Re: [R] Dynamic Programming in R

2006-01-19 Thread François Pinard
[Arnab mukherji] A concern that has been cited that may discourage R use for solving dynamic programs is its memory handling abilities. For a dynamic programming problem defined over N steps, one usually needs a N*N matrix, so problems should be tractable for N being not too big. In those I

Re: [R] Dynamic Programming in R

2006-01-19 Thread Gabor Grothendieck
The lpSolve package can handle integer programming problems. Here is an example of using dynamic programming in R from first principles in another setting: http://tolstoy.newcastle.edu.au/R/help/06/01/18845.html On 1/19/06, Arnab mukherji [EMAIL PROTECTED] wrote: Hi R users, I am looking