answered 6 years ago
Write R.ideal( instead of Ideal( which tries to guess the ring that you want (and gets it wrong here).
R.ideal(
Ideal(