scan rejects complex (PR#125)
John.Peters@tip.csiro.au
John.Peters@tip.csiro.au
Mon, 22 Feb 1999 00:12:12 +0100
"Scan" does not currently accept mode "complex". (Splus3.4 does).
The help file does not make plain the intention.
Version is 0.632.
#----------------------------------------
xx_1+2i
cat(xx,file="testfile1")
yy_scan("testfile1",what=complex())
print(yy)
print(mode(yy))
# Says: Error: "scan" invalid "what=" specified
# yy_as.complex(scan("testfile1",what=character())) # workaround
#----------------------------------------
Many thanks.
----------------------------------------------------------------------------
John Peters
CSIRO National Measurement Laboratory
PO Box 218 Phone: +61 2 9413 7503
Lindfield NSW 2070 Fax: +61 2 9413 7202
Australia Internet: John.Peters@tip.CSIRO.AU
----------------------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._