Skip to content

Commit 1bed62c

Browse files
committed
Capture user par
1 parent d7cc64a commit 1bed62c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

R/par.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@ par.gsplot <- function(object, ...){
3838
return(object)
3939
}
4040

41+
par.list <- function(...){
42+
graphics::par(...)
43+
gsconfig$original.par <- par(no.readonly = TRUE)
44+
}

0 commit comments

Comments
 (0)