He was also a prolific author who wrote on both scientific and social issues ; his account of his adventures and observations during his explorations in Singapore , Indonesia and Malaysia , The Malay Archipelago , was both popular and highly regarded .