R: generate version string instead of taking VERSION file.

This is because if you forgot to run ../../bootstrap.sh, then
the version string of the R package was incorrect.

Conflicts:
	interfaces/R/Makefile
R: fix attribute bracketing bug (#533).

Apparently, returning an object from .Call()
does not make a copy of it in R.