If you are running Windows it may be as simple as using memory.limit() to
allow R more memory -- if you are on another OS, it may be possible to get
the needed memory by deleting various things in your workspace and running
gc()

Of course, if your computer's memory is <3GB, you are probably going to have
trouble with R's keeping all objects in memory and will have to get more
creative.

Michael

On Wed, Sep 21, 2011 at 3:43 PM, Ulisses.Camargo <
moliterno.camargo@gmail.com> wrote:

> Hello everybody
>
> I am trying to process audio files in R and had some problems with files
> size. I´m using R packages 'audio' and 'sound'. I´m trying a really simple
> thing and it is working well with small sized .wav files. When I try to
> open
> huge audio files I received this error message: "cannot allocate vector of
> size 2.7 Gb". My job is open in R a 3-hour .wav file, make six 5-minute
> random audio subsamples, and than save these new files. I have to do the
> same process +1500 times. My problems is not in build the function to do
> the
> job, but in oppening the 3-hour files. Does anybody knows how to handle big
> audio files in R? Another package that allows me to do this work? I believe
> this is a really simple thing, but I really don´t know what to do to solve
> that memory problem.
>
> Thank you very much for your answers,
> all the best!
>
> Ulisses
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Limitations-of-audio-processing-in-R-tp3831192p3831192.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>

	[[alternative HTML version deleted]]

