Re: [R] problem with assign and get

2012-02-27 Thread William Dunlap
till works without any changes. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Sarah Goslee > Sent: Monday, February 27, 2012 9:58 AM > To: Jannis > Cc:

Re: [R] problem with assign and get

2012-02-27 Thread Sarah Goslee
Hi, On Mon, Feb 27, 2012 at 12:41 PM, Jannis wrote: > Dear list members, > > > does anyone have an idea why the following construction does not work but > gives the following error message: > > assign('test', array(1:10, dim=c(10,10))) > dimnames(get('test')) <- list(1:10,1:10) > > > Error in dim

Re: [R] problem with assign and get

2012-02-27 Thread Peter Langfelder
On Mon, Feb 27, 2012 at 9:41 AM, Jannis wrote: > Dear list members, > > > does anyone have an idea why the following construction does not work but > gives the following error message: > > assign('test', array(1:10, dim=c(10,10))) > dimnames(get('test')) <- list(1:10,1:10) > > > Error in dimnames(