Learning R
Basic operators and functions
%% : mod
%/% : floor a/b
sort() : return an ascending sorted vector
rev() : reverse the elements in the vectorx[]
Numbers in R are usually seemed as double, unless pre-specified as integer by adding 'L' at the back.