I've had three things over the years that mimic your symptoms:
1) Simple spark plug problem - new plugs, problem went away.
2) Most recently on my '78 R100 - one spark plug wire had a problem and for a few months it did as yours - intermittent cutting out - then, it went out competely - only ran on one cylinder.
3) Bad connection under my tank - front left side where there are several solenoids, etc. I found out one day when it was happening, I took my left hand and started reaching up under there and wiggling things, and voila!, I could get it to act up. I cleaned it all out, cleaned all connections, used dielectric grease, and even put a "shield" (made from a cut-up plastic milk jug) there to protect the area from direct wet weather & direct contact with brake fluid (master cylinder was up there and had shown signs of leaking) from previous owner. Never had that problem again.
1) Simple spark plug problem - new plugs, problem went away.
2) Most recently on my '78 R100 - one spark plug wire had a problem and for a few months it did as yours - intermittent cutting out - then, it went out competely - only ran on one cylinder.
3) Bad connection under my tank - front left side where there are several solenoids, etc. I found out one day when it was happening, I took my left hand and started reaching up under there and wiggling things, and voila!, I could get it to act up. I cleaned it all out, cleaned all connections, used dielectric grease, and even put a "shield" (made from a cut-up plastic milk jug) there to protect the area from direct wet weather & direct contact with brake fluid (master cylinder was up there and had shown signs of leaking) from previous owner. Never had that problem again.