Looking at the documentation for chisq.test(), you need to pass it either the contingency table or two factors to be compared. So you can pass it the one-way table you created to test the null hypothesis that the four groups are equally large. But is this really what you are trying to do?

Thank you for your input, it is greatly appreciated!
I have another question, when creating a contingency table prior to performing other chi-square or fisher tests the outputted table never looks like the examples I've seen, I was just wondering if this is an issue?