README.md

x3pr

Basic read/write utilities for the x3p surface metrology format in R. The package also supports the DigitalSurf .sur () format. X3pr is now failrly stable, but still under some development and hence not up on CRAN yet. The best way to install x3pr is with Hadley Wickham's devtools (cf. https://github.com/hadley/devtools and http://cran.r-project.org/web/packages/devtools/index.html).

Examples are provided in the help pages. If you are new to R, below is an example R script which:

library(x3pr)

file.path <- system.file("extdata", "glock.x3p", package="x3pr")

glock.x3p.info <- read.x3p(file.path)

print.x3p.file.info(glock.x3p.info[[1]])

plot3D.x3p.file(glock.x3p.info, 1024, 80, aspect=c(1,3,0.4), plot.type="surface")



npetraco/x3pr documentation built on May 23, 2019, 9:33 p.m.