Rename foo.cpp to bar.R