R语言错误: Aesthetics must be either length 1 or the same as the data (236): x, y and colour

绘制散点图时报错,
数据导入检查过了没有问题。有没有大神会解决的呀,网上找了一圈没有找到解决方法!求求

ggplot(heightweight,aes(x=item,y=score,colour=prof))+geom_point()

从提示信息看,是你的参数错误,要么设置为长度1,要么和data的x y颜色一致