From khansen at stat.Berkeley.EDU  Sun Jul 13 18:06:06 2008
From: khansen at stat.Berkeley.EDU (Kasper Daniel Hansen)
Date: Sun, 13 Jul 2008 09:06:06 -0700
Subject: [Rd] multiple names to assign
In-Reply-To: <4879CD49.2080406@pburns.seanet.com>
References: <4879CD49.2080406@pburns.seanet.com>
Message-ID: <503A1D6E-EE7B-40B1-B9ED-C96398A3BAD7@stat.berkeley.edu>

Biobase has multiassign.

Kasper

On Jul 13, 2008, at 2:39 AM, Patrick Burns wrote:

> 'assign' does not give a warning if 'x' has length
> greater than 1 -- it just uses the first element:
>
> assign(c('a1', 'a2'), 1:2)
>
> One way of thinking about this is that people using
> 'assign' get what they deserve.  The other is that it is
> used seldom enough that adding a warning isn't going
> to slow things down appreciably.
>
>
> Patrick Burns
> patrick at burns-stat.com
> +44 (0)20 8525 0696
> http://www.burns-stat.com
> (home of S Poetry and "A Guide for the Unwilling S User")
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] multiple names to assign
Kasper Daniel Hansen