Robert H. Hastings, 58, director of the office of labor-management relations at the Department of Labor, died Jan. 31 of cancer at Georgetown University Hospital.

Mr. Hastings, a resident of Kensington, joined the Department of Labor in 1977 after three years as chief of labor relations for the Internal Revenue Service. Before that he was director of the Labor Relations Training Center for the U.S. Civil Service Commission.

A native of Antigo, Wis., Mr. Hastings graduated from the University of Wisconsin where he also earned a law degree. He served in the Navy during World War II. He was an organizer, negotiator and legislative representative for the American Federation of State, County and Municipal Employes in Madison until 1957 when he came to Washington as assistant director of organization for AFSCME.

From 1959 to 1964, Mr. Hastings worked for AFSCME in Columbus, Ohio, then returned to Washington where he was executive assistant to the president of the union from 1964 to 1969.

He was a member of the District of Columbia and the Wisconsin Bar Associations, the National Personnel Management Association, the Society of Federal Labor Relations Professionals and the Industrial Relations Research Association. He was also a member of the Cedar Lane Unitarian Church in Bethesda.

Mr. Hastings is survived by his wife, Lois, of Kensington; two daughters, Laurie Bryan of Columbia, Md., and Susan Keesee of Taylor, S.C.; a sister, Emmy Lou Merner, of Greendale, Wis., and two grandchildren. A third daughter, Lynn, died in 1971.