@Ryan R the example you posted is the way to go. The .step command is emulated by doing a while loop, altering the resistance with .alter and running another simulation. If this doesn't work you may want to contact ngspice developers. Does the example on github work?
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.