r=rank(R)
i1 : R = rootSystemA(5) o1 = RootSystem{...8...} o1 : RootSystem
i2 : rank R o2 = 5
The source of this document is in /__w/M2/M2/macaulay2-1.26.05+ds/M2/Macaulay2/packages/WeylGroups.m2:1626:0.