R primitives