I have a loop that processes all the raw data files in agiven directory. It should allocate only the memory to accomodate the filenames list. Each file is loaded into RAM one at a time and saved to another directory after processing. The R script runs fine but it had some memory problems so it was terminated before getting to the end of the list. This is a Windows XP desktop with ~ 1GB RAM In the following I am pasting R messages. I would appreciate some suggestion about memory handling:
Error: cannot allocate vector of size 32.0 Mb In addition: Warning messages: 1: Reached total allocation of 958Mb: see help(memory.size) in: x[[i]] <- y 2: Reached total allocation of 958Mb: see help(memory.size) in: x[[i]] <- y 3: Reached total allocation of 958Mb: see help(memory.size) in: x[[i]] <- y 4: Reached total allocation of 958Mb: see help(memory.size) in: x[[i]] <- y -- Maura E.M ______________________________________________ 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.