Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Hostname/R/hostname-1.r
Normal file
1
Task/Hostname/R/hostname-1.r
Normal file
|
|
@ -0,0 +1 @@
|
|||
Sys.info()[["nodename"]]
|
||||
1
Task/Hostname/R/hostname-2.r
Normal file
1
Task/Hostname/R/hostname-2.r
Normal file
|
|
@ -0,0 +1 @@
|
|||
system("hostname", intern = TRUE)
|
||||
2
Task/Hostname/R/hostname-3.r
Normal file
2
Task/Hostname/R/hostname-3.r
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
env_var <- ifelse(.Platform$OS.type == "windows", "COMPUTERNAME", "HOSTNAME")
|
||||
Sys.getenv(env_var)
|
||||
Loading…
Add table
Add a link
Reference in a new issue