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

查看:36
本文介绍了eval(lhs, parent, parent) 中的错误:object '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) 中的错误:object 'eq;未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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