Skip to content

Instantly share code, notes, and snippets.

@vlandham
Created November 18, 2013 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vlandham/7535321 to your computer and use it in GitHub Desktop.
Save vlandham/7535321 to your computer and use it in GitHub Desktop.
attempt to hack the setwd based on hostname in R
if(system("hostname", intern=TRUE) == "y0319t598") {
setwd()
} else {
setwd()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment