Skip to content

write to standard output without NL/CR

3 messages · lutz.thieme@amd.com, Ben Bolker, Brian Ripley

#
Hello everybody,

is there a possibility to write data to standard output without a CR/NL?
(I would like append one output string to the next - without using "paste"!)

Thanks in advance

Lutz

Lutz Thieme
AMD Saxony Manfacturing GmbH
Product Engineering
phone:	+49 351 277-4269
fax:	+49 351 277-9-4269
email:	lutz.thieme at amd.com


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
?cat
cat("a")
cat("b")
cat("c")
cat(1245)
x <- 11
cat(x)
cat("\n")
On Thu, 21 Mar 2002 lutz.thieme at amd.com wrote:

            

  
    
#
On Thu, 21 Mar 2002 lutz.thieme at amd.com wrote:

            
Yes. cat() does exactly that. You only get newlines if you send them
yourself.