I initially tried to remember the difference by saying that the aircraft flies a magnetic heading so qdM is Magnetic to the station. This didn't always work cause I found it to easy to think magnetic from the station. Now I remember the R for radial, which is radiating out from the centre, i.e. from the station. So far so good.