Re: [R] Display variables when running a script

From: Erik Iverson <iverson_at_biostat.wisc.edu>
Date: Thu, 17 Jul 2008 13:26:54 -0500

Depending on your motivation here, you may want to search for 'debugging in R' or something to that effect to look at the various options available. I like the debug package available on CRAN. Also see ?browser and ?trace if you want to debug a function.

naw3_at_duke.edu wrote:
> Hi,
>
> I know this must be a stupid question, and sorry in advance for being such a
> noob. But, is there way to get R to display only certain variables when running
> a script. I know if you want to see the value of a variable when using the
> interface, you just type it in and hit enter, but is there a command that I can
> use in a script file that will show the value at a certain point?
>
> Thanks,
> -Nina
>
> ______________________________________________
> 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.



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. Received on Thu 17 Jul 2008 - 18:33:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 17 Jul 2008 - 19:31:54 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive