On Fri, 5 Mar 2010, Andrew Redd wrote:
Is there a way that I can change the prompt for within a browser() call. I
often use use code like
with(obj1,browser())
Browse[1]>
Is there a way that I can set it so that I can get something like
with(obj1,browser(prompt="obj1"))
obj1[1]>
I know that prompt is not a valid option for browser, but it would be nice
if it were. There is an option('prompt") but that does not affect the
prompt for browser. Can I change this and how?
Only by changing the sources. The prompt is hard-coded in
src/main/main.c.
Thanks,
Andrew
[[alternative HTML version deleted]]
Please respect the request in the posting guide not to send HTML.
______________________________________________
r-de...@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
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.