search for: vtk_header

Displaying 1 result from an estimated 1 matches for "vtk_header".

Did you mean: tt_header
2010 Jul 05
1
export VTK from R : impossible to write data as float
...nteger' writeBin(data,bfile_celldata,endian="swap") the function storage.mode(data)<-'long' looks fine, but the VTK file is not readable. thanks for any help or comments, #----- R SCRIPT TO WRITE A CUBE IN VTK FORMAT cat('# vtk DataFile Version 3.0\n',file="vtk_header") cat('R Binary Export v3.0 of inversion model\nBINARY\n',file="vtk_header", append=TRUE) cat('DATASET UNSTRUCTURED_GRID\n',file="vtk_header", append=TRUE) #placed here instead of top of vtk_points, since npoints is not known before cat('POINTS', 8,&...