I started to use GAP for computing table of characters for symmetric groups. I would like to export the result of the following
Display(CharacterTable(SymmetricGroup(4)));
into a .txt file (which later on I would like to import to Mathematica). My first guess was to use
PrintTo("file1",Display(CharacterTable(SymmetricGroup(4))));
but it does not work. How to do it properly?