Skip to content
Prev 256485 / 398502 Next

Mclapply and print statement

Hi,
On Mon, Apr 11, 2011 at 5:26 AM, Alaios <alaios at yahoo.com> wrote:
Use `cat`:

R> x <- mclapply(1:20, function(i) cat(i, "\n"))
1
9
17
2
10
18
3
11
19
4
12
20
5
13
6
14
7
15
8
16