Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 62320

R Visual Error Object Not Found

$
0
0

I continue to get this error while trying to create an R visual.

Error in eval(m$data, parent.frame()) : object 'Email_Activity' not found
Calls: aggregate -> aggregate.formula -> eval -> eval
Execution halted

Here is the top of my code:


library(data.table)
library(stringr)
library(tidyverse)
library(scales)
library(ggthemes)

Mess_Tot = aggregate(cbind(Sent,Opened,Clicked) ~ Message.Title , data = Email_Activity , sum)

 

I am very experienced in R. My code works fine in R. My dataset in Power BI is named Email_Activity. What am I doing wrong here?

 

All help is greatly appreciated.


Viewing all articles
Browse latest Browse all 62320


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>