[R] list and <<-

Greg Snow 538280 at gmail.com
Mon Oct 21 17:38:03 CEST 2013


See fortune(174).

It is best to avoid using '<<-', if you tell us what you are trying to
accomplish then we may be able to provide a better means to accomplish
it.

On Sat, Oct 19, 2013 at 10:28 PM, Taiyun Wei <weitaiyun at gmail.com> wrote:
> Dear All,
>
>> opt = list()
>> opt$aa <<- TRUE
> Error in opt$aa <<- TRUE : object 'opt' not found
>
> Why?
>
> --
> Regards,
> Taiyun
> --
> Taiyun Wei <weitaiyun at gmail.com>
> Homepage: http://blog.cos.name/taiyun/
> Phone: +86-15201142716
> Renmin University of China
>
> ______________________________________________
> R-help at 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.



-- 
Gregory (Greg) L. Snow Ph.D.
538280 at gmail.com



More information about the R-help mailing list