You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This report is based on a discussion on so.
Here the minimal example which produces different output for different machines but all with R 3.1.0 und dplyr 0.2 (more details below) :
while if df$height is a factor, the result is what I want:
height m
1 1 3
2 2 8
Why does something like this happen? My first guess was that it is a numerical issue and non-factor heights differ very slightly. However, the test above shows that all height==1 are equal:
The faulty output is from an older system with with e.g. gcc 4.3.2: SUSE Linux Enterprise Server 11 (x86_64). On all more recent systems I checked, the issue did not occur.
Is this a bug, or is grouping by float just stupid and proper results cannot be guaranteed?
The text was updated successfully, but these errors were encountered:
This report is based on a discussion on so.
Here the minimal example which produces different output for different machines but all with
R
3.1.0 unddplyr
0.2 (more details below) :The faulty output from one machine: The data frame
Is summarized by height. When
df$height
is not a factor, the results looks like this:while if
df$height
is a factor, the result is what I want:Why does something like this happen? My first guess was that it is a numerical issue and non-factor
height
s differ very slightly. However, the test above shows that allheight==1
are equal:The faulty output is from an older system with with e.g. gcc 4.3.2: SUSE Linux Enterprise Server 11 (x86_64). On all more recent systems I checked, the issue did not occur.
Is this a bug, or is grouping by float just stupid and proper results cannot be guaranteed?
The text was updated successfully, but these errors were encountered: