with great difficulty; barely managing to do something after much effort; at last after a hard struggle.
やっとの思いで試験に合格した。
I barely managed to pass the exam.
給料日前でやっとの思いで家賃を振り込んだ。
Right before payday, I scraped together the money and managed to pay the rent.
大雪の中、やっとの思いで家にたどり着いた。
In the heavy snow, I finally made it home with great difficulty.
やっとの思いでプロジェクトを完成させた。
I completed the project at last, with great effort.