Maybe a missing ] ? This works for me.
dt=open("$sample_data/big class.jmp");
sum(dt[3,{height,weight,age}]);
Maybe the r variable is uninitialized. Use show(r); to see what it is. Check the JMP log window for messages.
Not sure why you would add these together
Craige