On 04/07/15 03:43, Sarah Goslee wrote:
Hi,

On Fri, Jul 3, 2015 at 10:33 AM, Zander, Joscha <joscha.zan...@roche.com>
wrote:
Good day R-community,

i just wondered if it is a bug or a feature...

When i have a matrix "mat" with one column and i delete the last row with

mat <- mat[-nrow(mat),] the result is a list.

I have no idea how you're getting a list from a matrix (see below). Perhaps
you mean a data frame?

<SNIP>

No.  The Zander person just means a vector.  Psigh.

Note to the Zander person: It is important in R programming to get your concepts straight. It is also important in communicating with others to get your terminology straight.

cheers,

Rolf Turner

--
Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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