First, you will need to install R Tools for Visual Studio followng instructions here. Then Microsoft R Server - the how-to is here.
After R Tools for Visual Studio are installed, open Visual Studio. You will see a new top menu "R Tools" available:
Click R Tools -> Options. Visual Studio options will open a tab for R settings:
Restart Visual Studio and enjoy using R server from your favourite IDE :)