Created
November 18, 2013 21:09
-
-
Save vlandham/7535321 to your computer and use it in GitHub Desktop.
attempt to hack the setwd based on hostname in R
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
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