bemovi on macOS Catalina - "Error in -data.full$y : invalid argument to unary operator"

Hello everyone,

I encounter a problem when using the line link_particles() with the bemovi package. I have a macOS Catalina with R version 3.6.3 (2020-02-29) -- "Holding the Windsock", I also use ImageJ with the package. The script works until the line:
link_particles(,,, linkrange = 5,
disp = 20, start_vid = 1, memory = memory.alloc)

and I get the message:
Exception in thread "main" java.lang.ExceptionInInitializerError
at ij.ImagePlus.(
at Source)
at core.ParticleReader.main(Unknown Source)
Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2
at java.base/java.lang.String.checkBoundsBeginEnd(
at java.base/java.lang.String.substring(
at ij.IJ.(
... 3 more
Error in -data.full$y : invalid argument to unary operator

Has anyone ever encountered this problem before? And what do you think I should do to solve it ? Thank you very much in advance!

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