[R] multiple return values
Sam Steingold
sds at podval.org
Mon Mar 20 19:06:27 CET 2006
I am pretty sure I saw this mentioned in
http://cran.r-project.org/doc/manuals/R-intro.html
but I cannot recall how it was called. sorry...
how do I return (and accept) multiple return values from a function?
e.g., in lisp (multiple-value-bind (f r) (floor 10 3) (list f r))
will return list (3 1).
thanks!
--
Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 4 (Stentz)
http://truepeace.org http://www.dhimmi.com http://www.mideasttruth.com
http://www.palestinefacts.org http://www.jihadwatch.org http://www.camera.org
Illiterate? Write today, for free help!
More information about the R-help
mailing list