Re: [R] Nested source() errors [Broadcast]

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Thu 19 Oct 2006 - 03:02:00 GMT


I've seen people doing that without problem. Not something I'd like to do myself, precisely because when problems occur, it's difficult to figure out what went wrong. Such practice usually indicate that you ought to organize your functions better. (You _are_ writing functions, instead of just scripts?)

Andy

From: Pierce, Ken
>
> Does anyone know of any issues with nesting source() calls
> within multiple scripts? I have at least one script which
> always finds errors when I source it but runs fine when run
> on its own. It containd source() calls to other scripts and
> it seems to fail during the first nested
> source() command.
>
> Ken
>
>
> Kenneth B. Pierce Jr.
>
> Research Ecologist
>
> Landscape Ecology, Modeling, Mapping and Analysis Team
>
> PNW Research Station - USDA-FS
>
> 3200 SW Jefferson Way, Corvallis, OR 97331
>
> ken.pierce@oregonstate.edu
>
> 541 750-7393
>
> http://www.fsl.orst.edu/lemma/gnnfire
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.
>
>
>



Notice: This e-mail message, together with any attachments,...{{dropped}}

R-help@stat.math.ethz.ch 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. Received on Thu Oct 19 16:11:18 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 19 Oct 2006 - 07:30:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.