Here's a bijection F between [0,1] and (0, 1):
Define F(1) = 1/2
F(1/2) = 1/4
F(1/4) = 1/8
F(1/8) = 1/16, and so on.
Define F(0) = 1/3
F(1/3) = 1/9
F(1/9) = 1/27
F(1/27) = 1/81, and so on.
For all other x in [0,1], define F(x) = x.
Also, if I've done the math right, G(x) = tan(pi(x - (1/2)) defines a bijection between (0,1) and R. Compose F and G to get a bijection between [0,1] and R. Not continuous, of course.