[R] R: to view the memory

Bert Gunter gunter.berton at gene.com
Wed Sep 12 21:02:24 CEST 2007


You probably should be inserting browser() calls into your function instead
-- once there you can list and examine all variables at whatever state your
function is in. (and debugging is specifically what browser() was designed
for).

See ?browser() 


Bert Gunter
Genentech Nonclinical Statistics

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Sumit.Gupta at ubs.com
Sent: Tuesday, September 11, 2007 7:02 PM
To: r-help at r-project.org
Subject: [R] R: to view the memory

Hello,

I am wondering if it is possible to view what variables and vairable
values are stored in the R memory. This to enable debugging of R-scripts
I write.

Sumit


	[[alternative HTML version deleted]]

______________________________________________
R-help at 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.



More information about the R-help mailing list