Forgot to mention that you may need to uninstall and reinstall the ess package after putting the :pin in place, but I'm not sure about that. Restarting emacs is maybe needed too, but not sure about that either.