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(to.data, particle.data.folder,
trajectory.data.folder, 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.(ImagePlus.java:68)
at core.original.ParticleTrackerOriginal.run(Unknown 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(String.java:3756)
at java.base/java.lang.String.substring(String.java:1902)
at ij.IJ.(IJ.java:65)
... 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.