Re: [R] access object inside a function

2008-08-03 Thread Duncan Murdoch
On 03/08/2008 12:13 PM, Jonas wrote: Duncan, Patrick, Sorry for not being very clear (and having non-working code in my example). What I'm actually trying to achieve is creating a wrapper around the NelsonSiegel function in the fBonds package in order to (among other things) create my own plot f

Re: [R] access object inside a function

2008-08-03 Thread Jonas
Duncan, Patrick, Sorry for not being very clear (and having non-working code in my example). What I'm actually trying to achieve is creating a wrapper around the NelsonSiegel function in the fBonds package in order to (among other things) create my own plot function. However, all of the objects i

Re: [R] access object inside a function

2008-08-03 Thread Patrick Burns
Duncan Murdoch wrote: On 03/08/2008 11:29 AM, Jonas wrote: hi, my apologies if this has been covered numerous times before and it's only my lack of search and/or R skills that is stopping me from finding the solution. i'm trying to access an object defined and created inside a function (the ob

Re: [R] access object inside a function

2008-08-03 Thread Duncan Murdoch
On 03/08/2008 11:29 AM, Jonas wrote: hi, my apologies if this has been covered numerous times before and it's only my lack of search and/or R skills that is stopping me from finding the solution. i'm trying to access an object defined and created inside a function (the object is not returned by

[R] access object inside a function

2008-08-03 Thread Jonas
hi, my apologies if this has been covered numerous times before and it's only my lack of search and/or R skills that is stopping me from finding the solution. i'm trying to access an object defined and created inside a function (the object is not returned by the function), but i can't seem to get