Using Rscript under Windows, I would like
to use help from the script. But since this
should appear on a window, nothing is done.
I tried the following:

help1 = function (x)
{windows(); options(locatorBell=F)
plot(0,0,axes=F,frame.plot=F)
print(help(x)) # The script may be called by source.
locator(1); dev.off()}

Then I call for example help1('seq').

Is there a more appropriate way to do this?

Thanks
Josef Eschgfaeller

______________________________________________
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.

Reply via email to