I try to do this: ord.scores <- as.data.frame(scores(ord)) %>% rownames_to_column(var = "Fundort") but R says: "Error in x$species[, choices, drop = FALSE] : incorrect number of dimensions"

Hello
I'm a total beginner and don't understand how to get there
I try to do this in R:
ord.scores <- as.data.frame(scores(ord)) %>% rownames_to_column(var = "Fundort")
but R says:
"Error in x$species[, choices, drop = FALSE] : incorrect number of dimensions"
What is the problem? Do someone knows any solution?

Hi!

To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one: