[R] output from script
Wolfgang Grond
wolfgang.grond at web.de
Wed Oct 2 14:01:25 CEST 2002
Hi,
perhaps the answer to my question is obvious and I didn´t find it because I´m new to R ...
The problem is as follows:
I read some data from file, do some commands which are well processed and finally make some graphics. OK
Then I put these commands together in a *.R file which I can process ...
Among these i. e. is
sum_input = summary(mydatatable)
sum_input
.....
plot(mydatatable)
What happens:
If in the script the command above comes before a plot command the plot is shown in a graphics window but not the output of the command in the console window. I therefore thought that I should define an active window and changes the order ...
sum_input = summary(mydatatable)
plot(mydatatable)
bringToTop(-1)
sum_input
I see the plot, but not the output of sum_input
Of course, if I input the command from the keyboard, I get an output.
What happens?
Many thanks in advance for any help.
Wolfgang
-------------------------------------------------------------------
Dr. Wolfgang Grond
Kompetenzzentrum f=FCr den Email: grond at kegom.de
Elektronischen Gesch=E4ftsverkehr http://www.kegom.de
in Ober- und Mittelfranken - KEGOM
Industrie- und Handelskammer Phone: +49 921 886-519
f=FCr Oberfranken Bayreuth Fax: +49 921 886-122
Bereich Innovation.Umwelt Email: grond at bayreuth.ihk.de
Bahnhofstrasse 23-27 http://www.bayreuth.ihk.de
D-95444 Bayreuth, Germany
--------------------------------------------------------------------
______________________________________________________________________________
Wie ware das: mehrere E-Mail Adressen - aber nur ein Postfach ?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list