# newcommand,  and circuitikz

I try to make a new command to avoid some typing. Don't the arguments of newcommand work within ? Or did I something else wrong? Thanks for your help.

I get the error:

Package pgfkeys Error: I do not know the key '/tikz/R=$R_{1}$,i=$I_{1}$,v=$U_{1}$' and I am going to ignore it. Perhaps you misspelled it. \draw (0,0) to [\Res{1}] (3,0)


Here is my minimal not working example:

\documentclass[11pt,a4paper]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{circuitikz}

\begin{document}
\newcommand{\Res}[1]{R=$R_{#1}$, i=$I_{#1}$, v=$U_{#1}$}

\begin{circuitikz}

\draw (0,0) to [\Res{1}] (3,0) ;

\end{circuitikz}
\end{document}


\begin{circuitikz}

\Res{(0,0)}{1} (3,0) ;

\end{circuitikz}
\end{document}