From ggrothendieck at gmail.com  Thu Jul 26 21:55:51 2012
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Thu, 26 Jul 2012 15:55:51 -0400
Subject: [Rd] rep fails on pairlist
Message-ID: <CAP01uRkj9jBY0=G=kL3UjHMhhfNvn35=483qqxV_3XcZeEUVkQ@mail.gmail.com>

This code which has worked for years in R but fails under R-devel:

> R.version.string
[1] "R Under development (unstable) (2012-07-25 r59963)"
>
> n <- 3
> f <- function(x) {}
> formals(f) <- rep(formals(f), n) ##
Error in rep(formals(f), n) : replication of pairlists is defunct

The message suggests that the change was intentional.
Why was this functionality removed?
What code should be used in its place?


-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



[Rd] rep fails on pairlist
Gabor Grothendieck