I'm trying to position the labels for (european) resistors in circuitikz inside the resistors,
but it automatically positions them besides the boxes and I get this:

\documentclass[12pt,a4paper]{article}
\usepackage{circuitikz}
\begin{document}
\begin{circuitikz}[scale = 0.5,european]
% start points
\coordinate[label=above:B] (B) at (0,0);
\coordinate[label=above:A] (A) at (0,5);
\foreach \i in {A,B} {
\fill (\i) circle (2pt);
}
\draw (B) to (4,0) to (4,-1) to[R, label={$2R$}] (8,-1) to (8,0);
\draw (4,0) to (4,1) to[R, label={$2R$}] (8,1) to (8,0) to (12,0) to[R, l_={$R$}] (12,5) to[] (11,5);
\draw (A) to[] (1,5) to (1,3) to[R, label={$2R$}] (11,3) to[] (11,5);
\draw (1,5) to[R, label={$R$}] (6,5) to[R, label={$R$}] (11,5);
\end{circuitikz}
\end{document}

