You could try using an assign statement instead:

assign("Globals", list(), .GlobalEnv)

and see if it complains about that or not.

On Mon, Sep 1, 2008 at 10:01 PM,  <[EMAIL PROTECTED]> wrote:
> The statement Globals <<- list() in the body of a function in a package was 
> intended to write an empty list to the R workspace to collect results during 
> the computations of the function.  A package name space has not been 
> specified.
>
> The package appears to function correctly, but
>
> during the R CMD check of the package while "checking R code for possible 
> problems ... NOTE",
>
> no visible binding for '<<-' assignment to 'Globals' is displayed.
>
> Can you tell in this case why the binding needs to be visible?  What 
> statement might do that?  A specific reference in the R manuals would be 
> appreciated.
>
> Bill Morphet
> ATK Space Systems, Launch Systems, Nozzle Structural Analysis
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to