omnetpp-resultfiles
                                
                                 omnetpp-resultfiles copied to clipboard
                                
                                    omnetpp-resultfiles copied to clipboard
                            
                            
                            
                        bug in chart demo
When trying demo(charts, package='omnetpp'), I get:
dataset <- loadDataset(scalarFiles,
add(type='scalar', select='module(Aloha.server) AND name("channel utilization")'),xydata <- makeScatterChartDataset(dataset, xModule='.', xName='mean', isoAttrs='numHosts', averageReplications=TRUE) Error in split.default(seq_len(nrow(x)), f, drop = drop, ...) : Group length is 0 but data length > 0
add(type='scalar', select='name(mean)'))
In the dataset object, I can see the values in dataset$scalars$value. There is nothing in dataset$bins, or in dataset$fields. I don't know if this is normal or not.
I think makeScatterChartDataset has a bug.
That dataset$bins and dataset$fields is empty is normal, because although the selected scalar files contain histograms, the "add()" arguments to loadDataset() filters them out, and only the "mean" and "channel utilization" scalars get loaded. If you just do plain loadDataset(scalarFiles), the fields and bins will be there.