R solved problems