Catalysis of the reaction: an aliphatic (R)-hydroxynitrile = an aliphatic aldehyde or ketone + hydrogen cyanide.