This package will help you to open ESA SNAP file format (.dim) in R. Currently support only georeferenced .dim files.
To install in R
install.packages("devtools")
devtools::install_github("SubhadipDatta/ReadDIM")
If faced any installation error you will get help in this page:
https://github.com/r-lib/remotes/blob/master/README.md#environment-variables
Available soon in CRAN also.