[R] change the default separator

Liaw, Andy andy_liaw at merck.com
Wed Mar 10 16:16:12 CET 2004


You can use a wrapper:

mypaste <- function(...) paste(..., sep="")

HTH,
Andy

> From: Rudi Alberts
> 
> Hello,
> 
> How do I permanently change the separator in "paste" and "cat"
> that by default is set to " " ?
> (so that I dont have to say sep="" any time I use paste or cat)
> 
> 
> 
> regards, R. Alberts
> 
> 
> -- 
> Drs. R. Alberts
> Groningen Bioinformatics Centre (GBIC)
> Dep. of Mathematics and Computing Science
> University of Groningen (RuG)
>  
> P.O. Box 800
> 9700 AV  Groningen
> The Netherlands
> 
> tel. Haren     +31 50 363 8082
> tel. Groningen +31 50 363 3957
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
> 


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}




More information about the R-help mailing list