[R] The output of script is hidden in console

Bert Gunter gunter.berton at gene.com
Tue Jan 5 19:49:42 CET 2010


R FAQ 7.16. 

R Newbies should read this first (+the FAQ for Windows, if appropriate)
_before_ posting questions to the list.

Bert Gunter
Genentech Nonclinical Biostatistics
 
 
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Tom Fletcher
Sent: Tuesday, January 05, 2010 9:15 AM
To: vtvdung; r-help at r-project.org
Subject: Re: [R] The output of script is hidden in console

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.

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



More information about the R-help mailing list