Designing real-world 3-D objects with R

October 1, 2012

(This article was first published on Revolutions, and kindly contributed to R-bloggers)

The Maker Movement has led to the production of open-source 3-D printers and other manufacturing machines that allow hobbyists to design, create and produce real-world objects affordably. Now R user Ian Walker, in a post at the Psychological Statistics blog, shows how to use the R language to transform 3-D surfaces into real-world physical objects with a 3-D printer. Ever had trouble visualizing exactly what a 3-D surface looks like when constrained by a boring old 2-D monitor screen? Now you can print it, and rotate and inspect it in realspace:


Walker's open-source R code works much like the standard R persp function, but instead of translating a grid of (x,y,z) points to a mesh surface on the screen, it creates a stereolithography file for use with 3-D printers, which in turn can be used to create an object like that shown above. Now, if only I had a 3-D printer to play with…

Psychological Statistics: Visualizing data using a 3D printer (via Dirk Eddelbuettel)

To leave a comment for the author, please follow the link and comment on their blog: Revolutions. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: , ,

Comments are closed.


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)