1 clear interactions window
As you found out, pressing RUN |> starts up a new instance of the selected language, runs everything in the definition window and clears everything you've done in interactions window (repl).
2 get previous entries like in a shell
a) In the Racket IDE you can hold CTRL with arrow keys to get to previously written statements in the interactions window.
b) Racket can be run from terminal too. When in CLI you type racket it starts up the read-eval-print loop with racket loaded and if you enter (require xrepl) as the first statement you have similar to readline capabilities with up-arrow to get previous, CTRL+r to search history and REPL-commands like ,apropos, ,help and so on. It's called eXtended REPL