Hi Steven, In general, the command line must be incomplete (in your case, a trailing hyphen) for the interpreter to take the next line as a continuation.
Jim On Sun, Aug 2, 2015 at 9:05 PM, Steven Yen <sye...@gmail.com> wrote: > I have a line containing summation of four components. > > # This works OK: > p<-pbivnorm(bb,dd,tau)+pbivnorm(aa,cc,tau)- > -pbivnorm(aa,dd,tau)-pbivnorm(bb,cc,tau) > > # This produces unpredicted results without warning: > p<-pbivnorm(bb,dd,tau)+pbivnorm(aa,cc,tau) > -pbivnorm(aa,dd,tau)-pbivnorm(bb,cc,tau) > > Is there a general rule of thumb for line breaks? Thanks you. > ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.