Created
February 16, 2011 16:03
-
-
Save riywo/829619 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source('Rworker.r') | |
file <- rworker_download(args$data) | |
rworker_log(paste("Download finished:", file)) | |
d <- read.csv(file, header = T) | |
rworker_log("read.csv finished:") | |
png(args$img) | |
plot(d) | |
null <- dev.off() | |
rworker_log(paste("plot finished:", args$img)) | |
status <- rworker_upload(args$upload_url, args$upload_key, args$img) | |
rworker_log(paste("upload finished:", status, args$upload_url, args$upload_key, args$img)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment