There are probably numerous ways, but one is to add print() to the
functions that you wish to display in the console.
For example, in your source file,
Instead of
summary(x)
try
print(summary(x))
This should do the trick.
Tom Fletcher
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of vtvdung
Sent: Tuesday, January 05, 2010 9:42 AM
To: r-help at r-project.org
Subject: [R] The output of script is hidden in console
Hi everyone,
I execute a script with
source(filename)
The script has effect but i don't see the output on console screen.Why?
I'm a newbie. Thanks :handshake:
--
View this message in context:
http://n4.nabble.com/The-output-of-script-is-hidden-in-console-tp999095p
999095.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
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.