I understood. My comment goes to the question was
- I'm trying to bring in only one column from a CSV.
- How do I pass the value of an object to a function within another function.
I was answering the first.
For the second, the my_col
variable isn't called, so it's in the global environment, perhaps. However, the problem lies in the right object in the right way.
Not easy to be without a reprex
. See the FAQ: How to do a minimal reproducible example reprex
for beginners