# [R], 35 bytes <!-- language-all: lang-r --> expand.grid(rep(list(-1:1),2))[-5,] [Try it online!][TIO-jh6cnbjx] [R]: https://www.r-project.org/ [TIO-jh6cnbjx]: https://tio.run/##K/r/P7WiIDEvRS@9KDNFoyi1QCMns7hEQ9fQylBTx0hTM1rXVCf2/38A "R – Try It Online"