
Dear R helpers,

I have recently installed R version 2.15.0

I just wanted to calculate 

mean(16, 18)

Surprisingly I got answer as 

> mean(16, 18)
[1] 16


> mean(18, 16)

[1] 18

> mean(14, 11, 17, 9, 5, 18)
[1] 14


So instead of calculating simple Arithmetic average, mean command is generating first element as average. I restarted the machine, changed the machine, but still the reply is same. I have been using this mean function ever since I strated learning R, but this has never happened.

Kindly guide

Vincy




	[[alternative HTML version deleted]]

