i think spinning is better most of the time. there will be times that you would need to mash but in my experience it usually takes more energy.
but most of all, listen to what your body is telling you. and ride more if you want to try ragbrai.
all the best.