Skip to content

Commit 788a206

Browse files
author
Joseph Damiba
committed
restoring http call to chopper.ply
1 parent 25b64d4 commit 788a206

File tree

2 files changed

+5
-3170
lines changed

2 files changed

+5
-3170
lines changed

r/2016-06-17-3d-tri-surf.Rmd

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ p
7373
library(plotly)
7474
library(geomorph)
7575
76-
dest <- "data/chopper.ply"
76+
plyFile <- 'http://people.sc.fsu.edu/~jburkardt/data/ply/chopper.ply'
77+
dest <- basename(plyFile)
78+
if (!file.exists(dest)) {
79+
download.file(plyFile, dest)
80+
}
7781
mesh <- read.ply(dest)
7882
# see getS3method("shade3d", "mesh3d") for details on how to plot
7983

0 commit comments

Comments
 (0)