Limit to general relativity in f(R) theories of gravity