[R] a weird question about gdata:::

2011-12-04 Thread Erin Hodgess
Dear R People: If I put in: findPerl Error: object 'findPerl' not found But if I use: gdata:::findPerl function (perl, verbose = FALSE) { errorMsg - perl executable not found. Use perl= argument to specify the correct path. if (missing(perl)) { perl = perl } perl =

Re: [R] a weird question about gdata:::

2011-12-04 Thread Bert Gunter
??namespace ?getAnywhere ?:: See also: http://www.stat.uiowa.edu/~luke/R/namespaces/morenames.pdf Bottom line: namespaces provide a mechanism to hide certain variables within a package. Special measures as documented above are required to view them -- Bert On Sun, Dec 4, 2011 at 1:19 PM,

Re: [R] a weird question about gdata:::

2011-12-04 Thread Rolf Turner
See end of message. On 05/12/11 10:19, Erin Hodgess wrote: Dear R People: If I put in: findPerl Error: object 'findPerl' not found But if I use: gdata:::findPerl function (perl, verbose = FALSE) { errorMsg- perl executable not found. Use perl= argument to specify the correct

Re: [R] a weird question about gdata:::

2011-12-04 Thread Gabor Grothendieck
On Sun, Dec 4, 2011 at 6:57 PM, Rolf Turner rolf.tur...@xtra.co.nz wrote: See end of message. On 05/12/11 10:19, Erin Hodgess wrote: Dear R People: If I put in: findPerl Error: object 'findPerl' not found But if I use: gdata:::findPerl function (perl, verbose = FALSE) {    

Re: [R] a weird question about gdata:::

2011-12-04 Thread Jeff Newmiller
I prefer to think of namespaces as preventing clashes with similarly-named functions in the main workspace or in other packages that might serve a different need. Given that purpose, I don't think I would have confined that particular function behind the namespace, because any other use of

Re: [R] a weird question about gdata:::

2011-12-04 Thread Gabor Grothendieck
On Sun, Dec 4, 2011 at 8:07 PM, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote: I prefer to think of namespaces as preventing clashes with similarly-named functions in the main workspace or in other packages that might serve a different need. Given that purpose, I don't think I would have