You can't put toilet paper in the toilet [in the space ship], so there's a separate vacuum can in front of you on the wall and when you're done, you put the toilet paper in there and seal that up.
You will notice already that Mr. Baggins was not quite so prosy as he liked to believe, also that he was very fond of flowers.