For those coming here on looking how to get the old type stack view...
So in the latest versions I think they've changed the stack view to something else , which I personally wouldn't prefer. The workaround is that -
Open r2 with a binary then save the current default layout with any name say "xyz" or any one of your saved layouts , It should be in your saved layouts. Now go to .local/share/radare2/r2panels, you can see the "xyz" config file there. Do this modification:
Change the stack Cmd from "xc 256@r:SP" to "pxr@r:SP" , which will get you that good old radare2 stack layout view.