R implementation of the Force Atlas 2 algorithm