RIO DE JANEIRO, Sept 6 (Reuters) - Brazilian President Dilma Rousseff, angered by a recent report that the U.S. government spied on her communications, said on Friday that President Barack Obama had taken responsibility for what happened and that she may proceed with a planned visit to Washington next month.
Rousseff, speaking to reporters following a one-on-one meeting with Obama on the sidelines of an international summit in Russia late on Thursday, said the U.S. president had agreed to respond formally to the spying allegations by next Wednesday.
"My trip to Washington depends on the political conditions to be created by President Obama," said Rousseff, according to the official Twitter feed of the Brazilian presidency.
Obama promised to give the Brazilian government an answer by next Wednesday to its request for an explanation to the spying report, Rousseff said before leaving Russia. Obama pledged to be directly responsible for investigating what happened, she said.
A Brazilian news program reported on Sunday that the U.S. National Security Agency spied on emails, phone calls and text messages of Rousseff and Mexican President Enrique Pena Nieto. The report by Globo TV was based on documents leaked by fugitive former NSA contractor Edward Snowden.
Rousseff is due to make a formal state visit to Washington on Oct. 23 to meet U.S. President Barack Obama and discuss a possible $4 billion jet-fighter deal, cooperation on oil and biofuels technology, as well as other commercial agreements.
The visit was meant to cap a recent improvement in relations between the two biggest economies in the Americas and highlight Brazil's emergence as regional power.
Rousseff was furious over the reported snooping into her personal communications and a senior government official said on Wednesday that she might cancel the state visit to the White House unless she got an apology. Brasilia even called off a trip by an advance team to Washington to prepare for the visit.
But on Thursday night, Obama and Rousseff met and discussed the alleged NSA eavesdropping during the summit of the world's top 20 economies in St. Petersburg, a White House official told Reuters. The presidents sat next to one another earlier at the first plenary session of G20 leaders. (Reporting by Anthony Boadle, Brian Winter and Walter Brandimarte; Editing by Doina Chiacu and Jackie Frank)