$\displaystyle R_N=\left|S-S_n\right|\leq{a_{N+1}}$
Therefore you just need to solve $\displaystyle \frac{1}{N+1}\leq{C}$ where $\displaystyle C$ is the desired accuracy.