Most of these have been answered but here are a few additional options. On Nov 7, 2007 7:46 AM, Alexy Khrabrov <[EMAIL PROTECTED]> wrote: > > Is there anything less ugly than > > print(paste("x=",x,"y=",y)) >
> library(gsubfn) > a <- 1; b <- 2 > fn$cat("a = $a b = $b\n") a = 1 b = 2 See gsubfn home page at htp://gsubfn.googlecode.com > -- for routine printing? Can [1] be eliminated from such simple > printing? What about formatted printing? > ?format, ?formatC, ?prettyNum, ?sprintf > Is there a way to assign all of > > a <- args[1] > b <- args[2] > c <- args[3] > > in one fell swoop, a lá Python's > > a,b,c = args > See: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/36820.html ______________________________________________ R-help@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.