Consider a function f: R-------R

Suppose f is increasing. Is it necessary that that f must approach to infinity?

For example if f=1/x then it is decreasing and approaches to 0 in (0, infinity) .but that that is possible only when domain is restricted. Is it possible on R for some function which are either increasing or decreasing on R but does not approach to +infinity or -infinity?