Raphael Soyer, 87, a painter whose somber, detailed portraits of New York City and its harried residents earned him distinction as the "dean of American realists," died of cancer Nov. 4 at his home in New York City.

Mr. Soyer, whose paintings hang in some of the world's great museums and private collections, was born on Christmas Day, 1899, in Borisoglebsk, Russia. He and his family immigrated to Manhattan's Lower East Side in 1912 after his father, a teacher of Hebrew, was forced into exile. With his brothers, the young Raphael was encouraged to paint and draw. Two of them, Moses, a twin of Raphael who died in 1974, and Isaac, who died in 1981, achieved distinction as artists.

Raphael Soyer received his formal training at Cooper Union, the National Academy of Design and the Art Students League.

By the mid-1930s, his lonely, sometimes hauntingly realistic paintings of New York City street scenes and characters had won him wide critical acclaim. His output included paintings, drawings, prints and book illustrations, and he did some notable self-portraits.

"New York is my country," Mr. Soyer once said of his preoccupation with his adopted city.

He also said he could not explain the signature loneliness found in his works, one of which, titled "Avenue of the Americas," included his own lonely likeness among the crowds in the background.

"People ask me why the people I paint are always so sad," he told a newspaper critic. "I don't know. It just turns out that way."

Mr. Soyer painted actively well into his 80s, and his work, which won him many honors and awards, has been featured in individual and group shows at museums and galleries around the world for five decades.

"When people ask me, 'Are you still painting?' it's like being asked, 'Are you still breathing?' " he said, noting that the experience, knowledge and skill that come with age are tempered by "the loss of the poetic combination of innocence, instinctive wisdom and the spontaneity of youth. So you gain and lose."

Recently Mr. Soyer's work benefited from a resurgence of interest in realistic art, and was exhibited in Paris, Berlin and Hamburg. His work is found in the permanent collections of the Metropolitan Museum of Art, the Hirshhorn Museum, the Whitney Museum of American Art and other major museums.

In 1982, Mr. Soyer accepted a rare invitation to be included in the Uffizi Gallery in Florence, in a collection of about 400 artists' self-portraits.

In September 1981, he was awarded the Founder's Medal of the James Smithson Society for his contributions to the Hirshhorn, which marked his 80th birthday with a retrospective exhibit in 1979.

Also in 1981, Mr. Soyer received the Gold Medal of the American Institute and Academy of Arts and Letters, a prize given to an artist only every five years.

The subject of numerous books and articles on American art, Mr. Soyer published his memoirs, "Diary of an Artist," in 1977.

Survivors include his wife, Rebecca Soyer, and one daughter, Mary Soyer, both of New York City, one brother, Israel, of the Bronx, and one sister, Rebecca Beagle of Oakland.

DR. W. LEONARD WEYL, 66, an Arlington surgeon and a former president of the Arlington Medical Society and the Medical Society of Virginia, died Nov. 5 at his home in McLean. He had undergone heart surgery.

Dr. Weyl was born in Frankfurt-am-Main, Germany, and came to this country in 1937. He graduated from Earlham College in Richmond, Ind., and earned a medical degree at the University of Illinois. During World War II he served in the Army Medical Corps in the Pacific.

In 1949, he moved to the Washington area as a resident in surgery at Georgetown University Hospital. In 1953, he established a medical practice in Arlington and continued it until his death. He was a staff physician at Northern Virginia Doctors Hospital, where he was a former chief of service, and at Arlington Hospital.

Dr. Weyl was a former member of the State Board of Health of Virginia and a former vice president and director of the Northern Virginia Doctors Hospital Corp. He published numerous papers in professional journals, and in 1977, he received the Welburn Award from the Arlington Medical Society.

A member of the Republican Party in Northern Virginia, he was a delegate to the Republican National Convention in Dallas in 1984. He also was a member of the board of the American Medical Political Action Committee.

Dr. Weyl was a member of the Loudoun Hunt, the Washington Golf & Country Club and the Arlington Rotary Club.

Survivors include his wife, the former Nancy Schmidt, whom he married in 1944, of McLean, and two children, John Michael Weyl of Purcellville, Va., and Nancy Katherine Weyl of Arlington.

ROBERT H. ANDERSON, 64, a commercial photographer whose clients included the Smithsonian Institution, the John F. Kennedy Center for the Performing Arts and the IBM Corp., died of cancer Nov. 4 at his home in Washington.

Mr. Anderson turned to photography after a career in real estate construction and management. During the 15 years that he worked in this field, he numbered among his clients major corporations in Washington, including Gulf Oil and Reynolds International.

Beginning in 1970, he was president and chief executive officer for about two years of the American Society of Fine Arts, makers of reproductions of paintings.

In the early 1970s, Mr. Anderson became a full-time photographer, working first under the name of Hans Traber Associates and more recently as Custom Photographics, of which he was the founder and proprietor.

A native of Los Angeles, he was a graduate of Cornell University. During World War II he was a pilot in the Marine Corps and was awarded the Purple Heart. He moved to the Washington area in 1954.

His marraige to Mary Starke Patteson ended in divorce.

Survivors include his wife, Marya K. Anderson of Washington; two children by his first marriage, Nicholas Anderson of Alexandria and Alexis Anderson of West Palm Beach, Fla.; one sister, Cordelia Ruddy of La Jolla, Calif., and one grandson.

HERMAN J. TYRANCE, 76, a retired professor and chairman of the Howard University Department of Physical Education and Recreation, died of cancer Nov. 4 at Washington Hospital Center. He lived in Washington.

Dr. Tyrance was born in Attleboro, Mass. He graduated from Virginia State College and earned a master's degree in education from Boston University. He received a doctorate in education from Pennsylvania State University.

During World War II, he served in the Army. He moved to the Washington area in 1947 and joined the faculty at Howard. In 1969, he joined the Department of Physical Education and Recreation, and became its chairman. He retired in 1978.

Dr. Tyrance also had been a visiting professor at Jackson State College in Mississippi and at Florida A&M University. In 1967, he worked for the D.C. Department of Recreation as the director of a special summer program for needy youth.

He was a past polemarch of the Washington Alumni of Kappa Alpha Psi, the social and service fraternity, and in 1980, he received the fraternity's Elder Watson Diggs Award for outstanding achievement.

He was a past vice president and board member of the Junior Citizens Corp. and a member of St. Luke's Epsicopal Church in Washington.

Dr. Tyrance received awards for distinguished service from the University Without Walls and from the D.C. Association of Health, Physical Education and Recreation.

Survivors include his wife, Marian Taylor Tyrance of Washington; three daughters, Carol Tyrance Seabrook of New York City, and Dianne Tyrance Neal and Linda D. Tyrance, both of Washington, and one granddaughter.

MALCOLM E. (MAC) OLIVER JR., 62, a retired Washington public relations representative and former newspaperman, died of emphysema Nov. 4 at the Lewes (Del.) Convalescent Center.

Mr. Oliver, a resident of Bethany, Del., was born in Danville, Va. He served in the Navy in the Pacific in World War II. A graduate of the University of North Carolina at Chapel Hill, he also studied at the Sorbonne in Paris.

In 1950, he moved to Washington and went to work as a reporter for the old International News Service. When INS merged with United Press about 1958 to become United Press International, Mr. Oliver joined the Whaley-Eaton Newsletters, where he was executive vice president and editor in chief. In 1970, he helped found Washington Forum, publishers of information directories, and was codirector of it.

In 1973, Mr. Oliver became an independent public relations representative. Much of his work involved raising funds and writing newsletters and speeches. He retired in 1981. A former resident of Bethesda, he had lived in Bethany since then.

Mr. Oliver was a member of the National Press Club and Alcoholics Anonymous.

His marriage to Marion Marshall Oliver ended in divorce.

Survivors include three sons, Malcolm E. Oliver III of Boulder, Colo., Edward M. Oliver of Washington and Benjamin H. Oliver of Bethesda, and his brother, Wendell H. Oliver of Danville.

CATHERINE M. VIEHMANN, 94, a retired information specialist who edited various periodicals in the Bureau of Agricultural Economics and the Agricultural Marketing Service in the Department of Agriculture, died Nov. 2 at her home in Washington after a stroke.

Miss Viehmann retired in 1956 with 40 years of service at Agriculture. She received the department's Certificate of Merit and Superior Service Award.

A fourth-generation Washingtonian, she graduated from the old Business High School and attended George Washington University.

She was a member of the St. Thomas Apostle Catholic Church, the Catholic Daughters of America and the National Association of Retired Federal Employees.

Survivors include a sister, Maude Louise Shea of Chillicothe, Ohio.

JULIUS A. CULP, 57, a supervisory copyright examiner with the Library of Congress, died of hypertensive heart disease Oct. 28 at his home in Annandale.

Mr. Culp was born in Gastonia, N.C. He graduated from the University of North Carolina at Chapel Hill, where he also earned a law degree. He served in the Army from 1951 to 1954.

He moved to the Washington area in 1957 and went to work at the Library of Congress as a copyright examiner.

Survivors include two half brothers and a half sister.

WILLIAM JENKINS LONGFELLOW, 86, a retired Navy captain who served in the Atlantic and the Pacific in World War II and later lived in the Washington area, died of cardiopulmonary arrest Oct. 30 at St. Luke's Hospital in Jacksonville, Fla.

Capt. Longfellow, a resident of Mandarin, Fla., was born in Baltimore. He graduated from the U.S. Naval Academy at Annapolis in 1924 and also studied at the Naval Postgraduate School. Much of his career was at sea or in assignments as an ordnance officer.

During World War II, Capt. Longfellow served on the staff of Adm. William F. Halsey in the Pacific and then went to the Atlantic as an escort commander. In the latter post, he won the Legion of Merit with "combat V."

He was stationed at headquarters of the Pacific Fleet in Pearl Harbor when he retired in 1954.

After leaving the Navy, Capt. Longfellow became a stockbroker in Easton, Md. In 1958, he moved to Alexandria. He lived there until 1974, when he moved to Florida.

He was a member of the Army & Navy Club, the Naval Academy Alumni Association, the Naval Academy Athletic Association, and the New York Yacht Club.

His first wife, the former Janet Riepe, died in 1971.

Survivors include his wife, Ruth Cooper Longfellow of Mandarin; two children by his first marriage, William J. Longfellow Jr. of Philadelphia and Alice Henry of Alexandria; one sister, Phoebe Powers of Easton, and three grandchildren.