# [R](https://www.r-project.org), <s>45</s> 39 bytes

*Edit: -6 bytes thanks to [@Dominic van Essen](https://codegolf.stackexchange.com/users/95126/dominic-van-essen).*

```r
\(x,y,`?`=\(a)table(a))identical(?x,?y)
```

[Attempt This Online!](https://ato.pxeger.com/run?1=dZDBCsIwDEDx6lds9WAL9S7C2I_s0FRbGBQtawdrf8XLFPwo_RpHsyHbMJeEvJeQ9v5o-qcuXq3Xh-N7X9GOBy5KUVQUmAdp1JBZfVFXX5_B0LLjZWCofzYnkYusyCrqmDLU-cZZU3vqOCGMbTXNibyBJzwbC7YbbN-0KjF_A_mPDQjnkjRnkAAAtjUYh_0YYyJxjBUPIcRJwjKGxW5nlLIhGTYo45Y7LKLlRdND5Ooo-LEZxC_se8xf)

Takes input as two character vectors.