using r with mysql: added histogram