AutomatedDataCollectionWithR icon indicating copy to clipboard operation
AutomatedDataCollectionWithR copied to clipboard

17章分析产品评论里的情绪

Open qweetty opened this issue 7 years ago • 1 comments

@coderLMN 老师您好! 下面代码运行的错误没看懂,您能帮忙解答一下吗

FPAsins <- str_replace(firstPages,"_0001.html","") reviewsMeta <- data.frame(asin=FPAsins,one=NA,two=NA,three=NA,four=NA,five=NA,stringsAsFactors=F)

Error in data.frame(asin = FPAsins, one = NA, two = NA, three = NA, four = NA, : 参数值意味着不同的行数: 0, 1

qweetty avatar Jun 17 '18 04:06 qweetty

FPAsins <- str_replace(firstPages,"_0001.html","") 是做什么的,出来的结果是什么?

coderLMN avatar Jun 18 '18 02:06 coderLMN