[R] Stop R script from running, when the memory goes beyond 15.4GB
istazahn at gmail.com
Sat Nov 5 15:41:40 CET 2016
On Nov 5, 2016 8:11 AM, "Priya Arasu via R-help" <r-help at r-project.org>
> I am using R 3.3.1 in RedHat Linux7 , 64bit system (16GB RAM). I
> could run simulation in R package, Boolnet for 25 genes without any
> problem. When I add more gene i.e. 26 genes, the system becomes slow.
> Simulation keeps running for more than a day. I have to stop the
> simulation, as it takes a lot of memory. I need a suggestion here, I want
> to stop the script from running when the script takes memory beyond 15.4
> GB. How do I do it? Should I generate warning in my script or use typeCatch?
> Any idea or advice, would be of great help
> Thank you
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help