>Von: codeface-bounce@xxxxxxxxxxxxx <codeface-bounce@xxxxxxxxxxxxx> im Auftrag >von Wolfgang Mauerer <wm@xxxxxxxxxxxxxxxx> >Gesendet: Montag, 2. März 2015 17:22 >An: codeface@xxxxxxxxxxxxx >Betreff: [codeface] Re: AW: Re: Preparing time series data - sloccount analysis > >Am 02/03/2015 um 17:20 schrieb Wolfgang Mauerer: >>> Enter an environment number, or 0 to exit Selection: 9 >>> Browsing in the environment with call: >>> add.sloccount.ts(conf, sloccount.plot.id, commit.date, res) >>> Called from: debugger.look(ind) >>> Browse[1]> ls() >>> [1] "commit.date" "conf" "plot.id" "values" >>> Browse[1]> print(commit.date) >>> [1] "2006-09-05 20:20:16 UTC" >>> Browse[1]> print(values) >>> $lang.info >>> lang lines fraction >>> 1 xml 98 0.5833333 >>> 2 perl 70 0.4166667 >>> >>> $metrics >>> person.months total.cost schedule.months avg.devel >>> 1 0.37 4426 1.71 0.22 >> > that looks alright -- is plot.id properly assigned? Browse[1]> print(plot.id) numeric(0) > can you also run > >dat <- cbind(plotId=plot.id, time=commit.date, values$metrics) > >in the debugger and see if this works? Browse[1]> dat <- cbind(plotId=plot.id, time=commit.date, values$metrics) Error in data.frame(..., check.names = FALSE) : arguments imply differing number of rows: 0, 1 >> >> Best regards, Wolfgang Mauerer >>