Subspace topology in $R$ I am new to topology and I want to understand this example from wikipedia about subspace topology.
The example is:
Let $S = [0, 1)$ be a subspace of the real line $R$. Then $[0, 1/2)$ is open in $S$ but not in $R$. Likewise $[½, 1)$ is closed in $S$ but not in $R$. $S$ is both open and closed as a subset of itself but not as a subset of $R$.
I cannot understand the part where it says:
Likewise $[½, 1)$ is closed in $S$ but not in $R$.
Does the phrase mean the it is closed in $S$ but open in $R$? I hope someone can help me understand it better.
Thank you.
 A: Usee the fact that

Let $Y$ be a subspace of a topological space $X$. Then a set $A$ is closed in $Y$ if and only if 
  it equals the intersection of a closed set of $X$ with $Y$.

Clearly $[\frac{1}{2},1)=[\frac{1}{2},1]\cap S$ is the intersection of a closed subset of $\Bbb R$ with $S$ and so $[\frac{1}{2},1)$ is closed in $S$. But $[\frac{1}{2},1)$ is not closed in $\Bbb R$ as $1$ is the limit point of that set which do not belong to that set (or, the complement $\Bbb R\setminus [\frac{1}{2},1)=(-\infty,\frac{1}{2})\cup[1,\infty)$ is not open in $\Bbb R$).
A: A set is said to be open if its complement is closed and vice versa. So if we consider $S\setminus [\dfrac{1}{2},1)$ then
$S\setminus [\dfrac{1}{2},1)=[0,\dfrac{1}{2})$ which is open in $S$. Hence $[\dfrac{1}{2},1)$ is closed in $S$. But this set is not closed in $\mathbb{R}$ because $\mathbb{R}\setminus[\dfrac{1}{2},1)=(-\infty,\dfrac{1}{2})\cup[1,\infty)$.
A: Consider $S\setminus [1/2,1)$. $S\setminus [1/2,1)=[0,1/2)$ is open in $S$. So $[1/2,1)$ is closed in $S$ (since complement of $[1/2,1)$ in $S$ is open in $S$). 
But $[1/2,1)$ is not closed in $\mathbb{R}$ since $1$ is a limit point of $[1/2,1)$ and $1\notin [1/2,1)$.
