When I use embedFonts to embed the fonts in an EPS file, the paper size changes and the graphic of my R plot is in the lower left corner. This question was already asked here embed_fonts() changes paper size on encapsulated postscript (.eps, R) but not solved. So here is the question with a minimal working example. I using R version 4.1.1 on macOS Big Sur and Ghostscript version 9.50 oder 9.54.0.
fileName = 'WithoutFonts.eps'
fileNameEmbed = 'WithEmbeddedFonts.eps'
setEPS()
postscript( file = fileName, height = 5, width = 4 )
plot( rnorm(100), rnorm(100), main = 'Random Values' )
dev.off()
embedFonts( file = fileName, format = 'eps2write', outfile = fileNameEmbed )