Posted by
Rocco D'Antuono on
Aug 25, 2020; 10:42am
URL: http://imagej.273.s1.nabble.com/problem-using-R-Plot-tp5023877p5023880.html
Hi Aryeh, just as confirmation I get the same error, the following is not yet
a solution.
I have tried the plugin and my guess is that the "tmp" folder doesn't have a
file .png that the plugin expects to find in it.
The error seems produced by the last line in this excerpt from "RPlot.java"
on GitHub:
/...
String tmp = IJ.getDirectory("temp");
tmp = tmp.replace("\\", "\\\\");
...
String filename = "density_"+getStamp()+".png";
IJ.open(tmp+filename);/
I think the plugin stops when it doesn't find "filename" or cannot access
the folder.
As check, what do you get if you run as beanshell script the following
lines?:
/import ij.IJ;
tmp = IJ.getDirectory("temp");
tmp = tmp.replace("\\", "\\\\");
print(tmp);/
Is that folder visible/accessible for you?
Best,
Rocco
-----
Senior Microscopist
Crick Advanced Light Microscopy facility (CALM)
The Francis Crick Institute
1 Midland Road, NW1 1AT, London (UK)
--
Sent from:
http://imagej.1557.x6.nabble.com/--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html
Senior Microscopist
Crick Advanced Light Microscopy facility (CALM)
The Francis Crick Institute
1 Midland Road, NW1 1AT, London (UK)
https://roccodant.github.io/