Create RR-replication.R