Instanton R-matrix and W-symmetry