Her free concert on Rio de Janeiro’s Copacabana Beach was not disrupted. The police said a group had planned to attack it with improvised explosives.