eval(lhs,parent,parent)中的错误:对象'eq;未找到 [英] Error in eval(lhs, parent, parent) : object 'eq; not found

查看:57
本文介绍了eval(lhs,parent,parent)中的错误:对象'eq;未找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在以下脚本中的R中执行gif动画ggplot时,出现以下错误.

I am getting the below error while doing a gif animated ggplot in R in the below script.

library(plyr)
library(dplyr)
library(ggmap)
library(ggplot2)
eq=read.csv("eq.csv",stringsAsFactors = FALSE)
names(eq)
eq<-eq%>%filter(Magnitude>=7)

~~请提示

推荐答案

似乎无法找到您尝试读取的csv,因此对"eq"的所有操作都将失败,因为"eq"不存在.

It looks like the csv you are attempting to read from cannot be found, so all manipulations on "eq" will then fail, as "eq" does not exist.

您确定工作目录中存在"eq.csv"吗?您可以使用 getwd() setwd()分别查看和更改工作目录.

Are you sure "eq.csv" exists in the working directory? You can use getwd() and setwd() to respectively see and change the working directory.

这篇关于eval(lhs,parent,parent)中的错误:对象'eq;未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆