Funny. When I lived in Europe it was the most expensive option
Every time I wanted to go somewhere, I would price out the train. It would either take 2-3 times longer than driving or be 2-3 times more expensive than driving if it was faster. I drove a lot in Europe. Flying was usually cheaper also.