kathryntmorrison / inla

Automatically exported from code.google.com/p/inla
0 stars 0 forks source link

inla.mesh fails on Windows when data.dir=tempdir() #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In R on Windows, run
loc=matrix(runif(10,2),10,2)
mesh=inla.mesh(loc, data.dir=tempdir(), keep=TRUE)

If it fails, it complains that a file "C:/.../fmesherRANDOM.s" does not exist.
This is because the fmesher call failed to produce any output files, since it 
could not find the input file "C:/.../fmesherRANDOM.input.s"

When running with data.dir="meshdir", fmesher and inla.mesh completes 
successfully, with the files in
meshdir/mesh.input.s
meshdir/mesh.s
with path relative to the working directory.

Original issue reported on code.google.com by finn.lin...@gmail.com on 4 Mar 2011 at 6:46

GoogleCodeExporter commented 9 years ago
I think issue is fixed. Works fine on two different windows-versions.

Original comment by havard.rue on 7 Mar 2011 at 8:48

GoogleCodeExporter commented 9 years ago
This was likely fixed already in revision 44cbb18de6 , but the correction was 
shadowed by functions stored in an .RData file.

Original comment by finn.lin...@gmail.com on 7 Mar 2011 at 12:35