R snippet and Kruskall-Wallis test produce diferent results with the same data

Im trying to get the result of a kruskall wallis test, but noticed that Knime's node gives anegative H value, created the same test in R and the result is different.


any one knows why ?





Program got solved when the number of samples of each group is the same

mark as solved.

Its not really solved as the kruskall wallis should allow a different number of samples per group right ?