On 11-09-25 01:06 PM, Simon Urbanek wrote:
Thanks, now fixed.
Thanks Simon,
H.
Simon
On Sep 23, 2011, at 4:46 PM, Hervé Pagès wrote:
Hi,
cbind() doesn't seem to like raw vectors:
df<- cbind(a=integer(4000), b=raw(4000))
df
*** glibc detected *** /home/hpages/R-2.13.1/bin/exec/R: mallo
Thanks, now fixed.
Simon
On Sep 23, 2011, at 4:46 PM, Hervé Pagès wrote:
> Hi,
>
> cbind() doesn't seem to like raw vectors:
>
> > df <- cbind(a=integer(4000), b=raw(4000))
> > df
> *** glibc detected *** /home/hpages/R-2.13.1/bin/exec/R: malloc(): memory
> corruption: 0x02d73ca0 ***
On 09/23/2011 01:46 PM, Hervé Pagès wrote:
Hi,
cbind() doesn't seem to like raw vectors:
> df <- cbind(a=integer(4000), b=raw(4000))
> df
*** glibc detected *** /home/hpages/R-2.13.1/bin/exec/R: malloc():
memory corruption: 0x02d73ca0 ***
For what it's worth, under valgrind
R -d va
Hi,
cbind() doesn't seem to like raw vectors:
> df <- cbind(a=integer(4000), b=raw(4000))
> df
*** glibc detected *** /home/hpages/R-2.13.1/bin/exec/R: malloc():
memory corruption: 0x02d73ca0 ***
=== Backtrace: =
/lib/x86_64-linux-gnu/libc.so.6(+0x79d7a)[0x7f3592b91d7a]
/li