1799, from Swedish dialectal (West Götland) rotabagge, from rot "root" (from PIE root *wrād- "branch, root") + bagge "bag" (see bag (n.)). Slang meaning "dollar" is from 1940s.
Page 229