Increase the max.contour.segments in R

577 views Asked by At

I am using the plot function for biwavelet package and i keep getting this message

contour(): circular/long seglist -- set options("max.contour.segments") > 25000?

I tried the following code in R but it do not work

options(max.contour.segments > "25000")

How can I increase the max.contour.segments in R.

1

There are 1 answers

2
zyurnaidi On

How about this?

options("max.contour.segments"= 300000)

or any positive integer you want to.
You can check the current value by:

options("max.contour.segments")