[R] export VTK from R : impossible to write data as float
yepri
a.yepri at gmail.com
Wed Jul 7 19:16:34 CEST 2010
So, the problem was that R exports only double sized floats (double), and
Paraview requires single sized floats. The solution was just to write :
writeBin(data,bfile_celldata,endian="swap",size=4)
Special Thanks to Sebastian Gibb :
http://www.mail-archive.com/r-help@r-project.org/msg100994.html
alex
--
View this message in context: http://r.789695.n4.nabble.com/export-VTK-from-R-impossible-to-write-data-as-float-tp2278756p2281217.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list