par function is not working for terra plots

suggest me the best package for combining plots obtained from terra package

Here is an example of a terra plot with par working

library(terra)
## terra 1.7.36
p <- vect(system.file("ex/lux.shp", package="terra"))

par(mfcol=c(1,2))
plot(p)
plot(p)

image

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.