No, they have to be open in R precisely because it said " ". A set or real numbers is compact if and only if it is both closed and bounded. A clearly is bounded so the crucial point is that it is not closed as a set of real numbers. Why, exactly,is it not closed? Use that to find your open cover.