powered by
attr(x, which) = y
setAttribute(x, which, value)
character(1)
ANY
x
setAttribute(list(), "foo", 1)
Run the code above in your browser using DataLab