machine {base} | R Documentation |
This function returns a string which specifies what kind of environment R is being run in.
machine()
Machine
for the computer's characteristics in arithmetics.
machine()# to see yours if (machine() == "Macintosh") cat("You are using a Macintosh computer\n")