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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, September 11, 2007 7:02 PM To: r-help@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@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.