DNA electrostatics in R