Create complete .R