You don't say what processing you are doing.. the answer to your question is very likely there. To communicate effectively on this mailing list, self-contained examples are needed. And in order to not corrupt the example you will need to post in plain text. --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<jdnew...@dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity.
On October 20, 2014 8:30:21 AM PDT, Dimitri Liakhovitski <dimitri.liakhovit...@gmail.com> wrote: >Dear Rers, > >I am trying to run a for-loop in R. >During each iteration I read in an mp3 file and do some basic >processing. >If I do what I need to do for each file one by one - it works fine. >But once I start running a loop, it soon runs out of memory and says: >can't >allocate a vector of size... >In each iteration of my loop I always overwrite the previously created >object and do gc(). > >Any hints on how to fight this? > >Thanks a lot! > > [[alternative HTML version deleted]] > >______________________________________________ >R-help@r-project.org mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.