Hello I need to make my R file into a CSV file. I have searched stackoverflow for different methods to accomplish this, but nothing is working. Each time, it says: 

```
Error in is.data.frame(x) : object 'refine_clean' not found

```

My file is definitely named refine\_clean.R. I have linked a screenshot here:
[R Studio CSV Error Message](https://i.stack.imgur.com/isVYN.png)