Hello again,

I have found that, in a vector if many elements have same names then
calling those elements with their names does not look complete. Here
is 1 example:

My_Vector <- c("a" = 'a', "a" = 'b')


then,

> My_Vector['a']
  a
"a"


I was expecting both elements should be shown up.

Is there any mechanism to force R do that?

Thanks and regards,

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to