Infocom

Should we consider Interactive Fiction to be RPG’s?
Are RPG’s Interactive Fiction?

The best games I have ever played were those by Infocom. I’m just curious as to you opinions on it and it’s games.