A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 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