Re: [R] Nested source() errors
Pierce, Ken ken.pierce at oregonstate.edu writes: 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. This could happen when the last line in one of the files has no linefeed appended. But probably better take Andy's advice. Dieter __ 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.
[R] Nested source() errors
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 [EMAIL PROTECTED] 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.
Re: [R] Nested source() errors [Broadcast]
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 [EMAIL PROTECTED] 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.