Rcomplex.RdRcomplex is a C struct that represents a complex number, and hence contains two members:
r, the real part, a double number
i, the imaginary part, a double number
typedef struct {
double r;
double i;
} Rcomplex;
In R_ext/Complex.h.