[R] Is this a bug?

Pedro J. Aphalo pedro.aphalo at joensuu.fi
Thu Jul 13 08:19:36 CEST 2000

I am new to R (and S) and I hope someone on the list can help me out. I
find the following behaviour surprising, is it a bug or a feature?
(looks like a bug to me)

R Version 1.1.0, Windows (x86, Win32) June 15, 2000
OS Windows 95

cat.test <- function(){

summary produces no output, just "test" appears on RGUI's window. 

If the line cat("test\n") is commented out, summary produces its normal

Same lack of  summary output on Rterm, but command prompt does not
reappear and Rterm freezes.
With the line cat("test\n") commented out everything works fine.

The behaviour for RGUI is the same whether the function is sourced from
a file or defined at the command prompt. With Rterm I have not yet found
how to type in brackets with a Finnish keyboard, so the test was done by
sourcing a file.



 Pedro J. Aphalo
 University of Joensuu
 Faculty of Forestry
 P.O. Box 111, FIN-80101 Joensuu, FINLAND
 mailto:pedro.aphalo at joensuu.fi
 fax: +358 13 251 4444
 tel: +358 13 251 4406                         ,,,^..^,,,
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