Can I leave out the word "of" in a situation like "all of his works"?

Both are grammatical, but corpus evidence suggests a strong preference for the omission of of.