what would cause a 2001 honda accord 3.0 liter v6,rpm to rev up and down, while in park,or at stop sign.

Sounds like a faulty IAC.

Or a vacuum leak

Idle air control is apparrently pretty popular problem with these Honda’s. Google it sometime, wow.

I’ve seen a stuck open thermostat do this.