I am trying to create a vector. Pls how can I solve this?

My hunch is that you may have done some exercises in your R session where you assigned the name "c" to a function.
If you type this:


... the ouput will probably start with this:

2 differing objects matching ā€˜cā€™ were found

Whereas you should normally just have one object.
If this is the case, remove object c and try to create your vector again:

x <- c(1,2,3,4,5,6,7)

And in the future, give your objects explicit names that won't conflict with any R functions.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.