[Rd] Documentation error in ?write (PR#8752)

pinard at carouge.sram.qc.ca pinard at carouge.sram.qc.ca
Fri Apr 7 00:59:39 CEST 2006


Hi, people.  ?write shows the following contents in Examples section:

     # create a 2 by 5 matrix
     x <- matrix(1:10,ncol=5)

     # the file data contains x, two rows, five cols
     # 1 3 5 6 9 will form the first row
     write(t(x))

On the next to last line, "6" should be replaced by "7".

--please do not edit the information below--

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

Locale:
LC_CTYPE=fr_CA.UTF-8;LC_NUMERIC=C;LC_TIME=fr_CA.UTF-8;LC_COLLATE=fr_CA.UTF-8;LC_MONETARY=fr_CA.UTF-8;LC_MESSAGES=fr_CA.UTF-8;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C

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