how do you find the area of an octagon with the radius of four?

I didn't.

Is the radius measured to the middle of the sides or to the corners?
(circumscribed or inscribed circle?)

In suggest you break the octagon up into eight isosceles triangles, and add up the areas. Your "radius" will be the two equal sides, and the apex angle will be 45 degrees for each triangle