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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.