On 13-May-09 14:43:17, Gabor Grothendieck wrote:
>> out <-   apply(m, 1, cat, '\n')
> 1 3
> 2 4
>> out
> NULL

Or, more explicitly, from ?cat :

  Value:
       None (invisible 'NULL').

Ted.

> On Wed, May 13, 2009 at 5:23 AM, Wacek Kusnierczyk
> <waclaw.marcin.kusnierc...@idi.ntnu.no> wrote:
>> _ _m = matrix(1:4, 2)
>>
>> _ _apply(m, 1, cat, '\n')
>> _ _# 1 2
>> _ _# 3 4
>> _ _# NULL
>>
>> why the null?
>>
>> vQ
>>
>> ______________________________________________
>> 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.
>>
> 
> ______________________________________________
> 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.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <ted.hard...@manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 13-May-09                                       Time: 15:56:04
------------------------------ XFMail ------------------------------

______________________________________________
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