Root does not redirect command to a given file

I just printed one of my histogram to generate an output … Just do:

root [0] .> filename
... some root command generating output ...
.>

then you are back to the root prompt and the file filename contains the output.