它只是一个基本的 ifelse,但它返回错误:“意外符号”并指向最后一行的第一个字符。有任何想法吗?
input1<-readline("using C:/Users/HouseGroup/Desktop/betterformat.csv as the target csv file.
Is this correct? Y/N" )
ifelse (input1=="Y",
theData <- read.csv("C:/Users/HouseGroup/Desktop/betterformat.csv"),
rightDir<- readline("please input the proper file path")
theData<- read.csv(rightDir))