From ivowel at gmail.com  Thu Mar  5 15:22:04 2009
From: ivowel at gmail.com (ivo welch)
Date: Thu, 5 Mar 2009 09:22:04 -0500
Subject: [Rd] question
Message-ID: <50d1c22d0903050622s2f450835k3edeb8c7f8f4df01@mail.gmail.com>

dear R developers:  it is of course easy for a third party to make
suggestions if this third party is both clueless and does not put in
any work.  with these caveats, let me suggest something.

The syntax for returning multiple arguments does not strike me as
particularly appealing.  would it not possible to allow syntax like:

   f= function() { return( rnorm(10), rnorm(20) ) }
   (a,d$b) = f()

this would just hide the list conversion and unconversion.  yes, I
know how to accomplish this with lists, but it does not seem pretty or
natural.

regards,

/ivo



[Rd] question
ivo welch