The substance 'R' is Ferrous sulphate (FeSO4.7H2O). When heated strongly, the hydrous pale green ferrous sulphate (FeSO4.7H2O), loses it's water of crystallization and decomposes to form brown ferric oxide Fe2O3 along with sulphur dioxide (SO2) and sulphur trioxide (SO3).
FeSO4.7H2O FeSO4 + 7H2O
2FeSO4 Fe2O3 + SO2 + SO3
Ferrous sulphate on reaction with barium chloride soln., forms a white ppt. of barium sulphate (BaSO4) which is insoluble in mineral acids.