Rename bar.R to bar.cpp