[Rd] Spurious output white line in R script (PR#8631)

pinard@progiciels-bpi.ca pinard at progiciels-bpi.ca
Wed Feb 22 19:41:13 CET 2006

I noticed that R scripts produce a spurious white line after output.
For example, the following shell script,

R --slave --vanilla <<EOF



when made executable under the name ``hello`` along the search path, behaves
like this:

$ hello | od -bc
0000000 110 145 154 154 157 012 012
          H   e   l   l   o  \n  \n

The second newline is not wanted, and I would like if R was not
producing it.

--please do not edit the information below--

 platform = i686-pc-linux-gnu
 arch = i686
 os = linux-gnu
 system = i686, linux-gnu
 status = 
 major = 2
 minor = 2.1
 year = 2005
 month = 12
 day = 20
 svn rev = 36812
 language = R


Search Path:
 .GlobalEnv, package:methods, package:stats, package:graphics, package:utils, package:datasets, fp.etc, package:grDevices, Autoloads, package:base

More information about the R-devel mailing list