search for: digfun

Displaying 1 result from an estimated 1 matches for "digfun".

2004 Mar 24
2
debugging a code
Hello just learned HowTo but R, reminded me with the way Perl does it but with much less on-line commands, R "AFAIK" has n, c, Q and where and cann't debug outside the {}. 1) is there a more versatile/flexable debugging method for R? I have saved 2 functions in an ASCII file "digfun". "getdata" function calls "squash" function and both use loops. In another file.R I have source("digfun") debug(getdata) data <- getdata("c:/data/") Browse[1]> c Error in if (d[i, "V3"] == d[i + 1, "V3"] && d[i, &quot...