exporting results from HWE test in R

#1
Hello everyone
I ran this function with many data (12.000 markers and 309 individuals) The HWE function gives a test for each marker and many results in the R console. BUt I CAN'T export this results to excel! and I cant use it, does anyone know a trick how to export it?
I tried creating a object or dataframe but its NULL...

Thanks