Re: [R] Adding objects to a list

2011-06-20 Thread Mathijs de Vaan
OK, thanks. n is a list containing two list objects (a numeric vector and a matrix). I want to replicate n$vectors within list n and name it n$vectors$test. Thanks On Mon, Jun 20, 2011 at 11:35 AM, David Winsemius wrote: > > On Jun 20, 2011, at 5:00 AM, mdvaan wrote: > > #Hi list, >> >> #From th

Re: [R] Multiply list objects

2011-06-17 Thread Mathijs de Vaan
Sorry, forgot to quote: Hi, I am trying to use the objects from the list below to create more objects. For each year in h I am trying to create as many objects as there are B's keeping only the values of B. Example for 1999: $`1999`$`8025` B B 8025 8026 8027 8028 8029 802511

Re: [R] Error

2011-02-25 Thread Mathijs de Vaan
Sorry for being unclear: the example works fine on my machine too. However, with the much larger dataset (dim(5,108)) I get the reported error. Mathijs On Fri, Feb 25, 2011 at 3:56 PM, Scott Chamberlain < scttchamberla...@gmail.com> wrote: > Works fine on my machine: > > DF >A BC D