Re: [R] Problem with global variable building a package

2012-08-17 Thread Eva Prieto Castro
Hi, I could build the package, finally, adjusting the path correctly (Rtools folders in front). Regards Eva --- El jue, 16/8/12, Eva Prieto Castro escribió: De: Eva Prieto Castro Asunto: Re: [R] Problem with global variable building a package Para: "Uwe Ligges" CC: "

Re: [R] Problem with global variable building a package

2012-08-16 Thread Eva Prieto Castro
gt; > What am I doing wrong?. > > Thanks again for your help. > > Regards. > > Eva > > --- El mar, 7/8/12, Greg Snow <538...@gmail.com> escribió: > > De: Greg Snow <538...@gmail.com> > Asunto: Re: [R] Problem with global variable building a pac

Re: [R] Problem with global variable building a package

2012-08-16 Thread Eva Prieto Castro
he package generated will be used under windows and mac. Thanks in advance. Eva --- El mié, 8/8/12, Uwe Ligges escribió: De: Uwe Ligges Asunto: Re: [R] Problem with global variable building a package Para: "Eva Prieto Castro" CC: "Greg Snow" <538...@gmail.com>, R-help@r

Re: [R] Problem with global variable building a package

2012-08-08 Thread Uwe Ligges
y source code. What am I doing wrong?. Thanks again for your help. Regards. Eva --- El mar, 7/8/12, Greg Snow <538...@gmail.com> escribió: De: Greg Snow <538...@gmail.com> Asunto: Re: [R] Problem with global variable building a package Para: "Eva Prieto Castro" CC: R-help@

Re: [R] Problem with global variable building a package

2012-08-08 Thread Eva Prieto Castro
/12, R. Michael Weylandt escribió: De: R. Michael Weylandt Asunto: Re: [R] Problem with global variable building a package Para: "Eva Prieto Castro" CC: R-help@r-project.org Fecha: martes, 7 de agosto, 2012 20:35 On Tue, Aug 7, 2012 at 2:09 AM, Eva Prieto Castro wrote: > >

Re: [R] Problem with global variable building a package

2012-08-08 Thread Eva Prieto Castro
gmail.com> Asunto: Re: [R] Problem with global variable building a package Para: "Eva Prieto Castro" CC: R-help@r-project.org Fecha: martes, 7 de agosto, 2012 23:30 Probably the best thing to do is create an environment within the package that you can assign to and read from. Somewh

Re: [R] Problem with global variable building a package

2012-08-07 Thread Greg Snow
Probably the best thing to do is create an environment within the package that you can assign to and read from. Somewhere in the source code for the package include a line like: my.env <- new.env() then within any functions defined after that line you can set variables within the environment wit

Re: [R] Problem with global variable building a package

2012-08-07 Thread R. Michael Weylandt
On Tue, Aug 7, 2012 at 2:09 AM, Eva Prieto Castro wrote: > > > Hi, > > > > My name is > Eva and this is my first message here. My English is not very good, but I hope > you can understand my question, in the context of an academic project. > > > > I have > developed several functions in R and the

[R] Problem with global variable building a package

2012-08-07 Thread Eva Prieto Castro
Hi,   My name is Eva and this is my first message here. My English is not very good, but I hope you can understand my question, in the context of an academic project.   I have developed several functions in R and the idea is that the user can access functions in order to:   1)    Â