Displaying 1 result from an estimated 1 matches for "createportfolio".
2003 Dec 06
7
Windows Memory Issues
...I have a function which receives a (large)
numeric matrix, matches against more data (maybe imported from MySql)
and returns a large list structure for further analysis. A typical call
may look like this .
> myInputData <- matrix(sample(1:100, 7500000, T), nrow=5000)
> myPortfolio <- createPortfolio(myInputData)
It seems I can only repeat this code process 2/3 times before I have to
restart R (to get the memory back). I use the same object names
(myInputData and myPortfolio) each time, so I am not create more large
objects ..
I think the problems I have are illustrated with the following...