Yes, I have source()-ed recursively without problems before. Try
sourcing the second script on its own and see what errors it has.
I have download lkpack.zip
(http://www.mep.ki.se/~yudpaw/likelihood/lkpack.zip)
and source("EX2-13.R") and source("li.r") which is called without
problem. The timestam
Murray Jorgensen wrote:
> I had an error message while running a macro from Yudi Pawitan's web site:
>
> > source("ex2-13.r")
> Error in parse(file, n, text, prompt) : syntax error on line 2
>
> Inspecting ex2-13.r I found that the error was generated by another
> source() command.
>
> Clearl
I had an error message while running a macro from Yudi Pawitan's web site:
> source("ex2-13.r")
Error in parse(file, n, text, prompt) : syntax error on line 2
Inspecting ex2-13.r I found that the error was generated by another
source() command.
Clearly R does not like nested source()s, which is f