The space $X=C(\mathbb{R})=\{f:\mathbb{R}\to\mathbb{C}: f \text{ is continuous}\}$ is metric (not normed) and a Frechet space. I want to show that this space does not satisfy the Heine-Borel property (which means that any closed and bounded subset of $X$ is compact)
I feel like the collection $\{\exp(2\pi inx):n\in\mathbb{N}\}$ is a suitable candidate for a counterexample, since it is clearly bounded. How can I show that this set is closed, but not compact in the topology generated by the metric?