<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body ocsi="0" fpstyle="1" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Maksim,<br>
<br>
Thank you for the info. Sadly I have no idea how to do it.<br>
<br>
A Frank<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF174490"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Maksim Struchalin [m.v.struchalin@mail.ru]<br>
<b>Sent:</b> Monday, July 28, 2014 6:29 PM<br>
<b>To:</b> Frank, Alvaro Jesus; genabel-devel@lists.r-forge.r-project.org<br>
<b>Subject:</b> Re: [GenABEL-dev] databel float type<br>
</font><br>
</div>
<div></div>
<div>
<div class="moz-cite-prefix">Dear Frank,<br>
<br>
Try to install the latest version of DatABEL from <a class="moz-txt-link-freetext" href="https://app.box.com/s/4rngaf6dp9rkn18i29e2" target="_blank">
https://app.box.com/s/4rngaf6dp9rkn18i29e2</a> and run your script again. This version was submited on CRAN today and will be publically available soon.<br>
<br>
Sorry for that your break was so small :-).<br>
Maksim<br>
<br>
<br>
On 28/07/2014 23:12, Frank, Alvaro Jesus wrote:<br>
</div>
<blockquote type="cite"><style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
p
        {margin-top:0;
        margin-bottom:0}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}</style>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">So yes, it seems utterly broken.
<br>
I am gonna take a small break until it is fixed.<br>
<br>
-A Frank<br>
<br>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr tabindex="-1">
<div id="divRpF631429" style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:genabel-devel-bounces@lists.r-forge.r-project.org" target="_blank">
genabel-devel-bounces@lists.r-forge.r-project.org</a> [<a class="moz-txt-link-abbreviated" href="mailto:genabel-devel-bounces@lists.r-forge.r-project.org" target="_blank">genabel-devel-bounces@lists.r-forge.r-project.org</a>] on behalf of Frank, Alvaro Jesus
 [<a class="moz-txt-link-abbreviated" href="mailto:alvaro.frank@rwth-aachen.de" target="_blank">alvaro.frank@rwth-aachen.de</a>]<br>
<b>Sent:</b> Monday, July 28, 2014 6:03 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:genabel-devel@lists.r-forge.r-project.org" target="_blank">
genabel-devel@lists.r-forge.r-project.org</a><br>
<b>Subject:</b> [GenABEL-dev] databel float type<br>
</font><br>
</div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi all,<br>
<br>
what is wrong with this? R:<br>
---------------------------------------------------------------------------------------------<br>
<br>
<br>
library(DatABEL)<br>
<br>
n = 100 # number of individuals<br>
l = 2    # number of covariates<br>
m = 10 # number of snps<br>
t = 5  # number of traits<br>
<br>
set.seed(1001)<br>
runif(3)<br>
<br>
XL <- matrix(rnorm((l+1)*n),ncol=(l+1)) # first column should be ones (intercept)<br>
for(i in 1:n*l){ if(sample(1:10,1) > 5) XL[i]=0/0}<br>
<br>
colnames(XL) <- c("intercept", paste("cov",1:l,sep=""))<br>
rownames(XL) <- paste("ind",1:n,sep="")<br>
XL_db <- matrix2databel(XL,filename="XL",type="FLOAT")<br>
<br>
<br>
<br>
---------------------------------------------------------------------------------------------<br>
The error that I get is this:<br>
<br>
file contains data of unknown type 5<br>
Error in !.Call("assignDoubleMatrix", x@data, newi, newj, as.double(value),  : <br>
  invalid argument type<br>
<br>
I cannot create any more databel flaot files....<br>
<br>
<br>
A Frank<br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank"></fieldset> <br>
<pre>_______________________________________________
genabel-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:genabel-devel@lists.r-forge.r-project.org" target="_blank">genabel-devel@lists.r-forge.r-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel</a></pre>
</blockquote>
<br>
</div>
</div>
</div>
</body>
</html>