[GenABEL-dev] databel float type
Maksim Struchalin
m.v.struchalin at mail.ru
Mon Jul 28 18:29:53 CEST 2014
Dear Frank,
Try to install the latest version of DatABEL from
https://app.box.com/s/4rngaf6dp9rkn18i29e2 and run your script again.
This version was submited on CRAN today and will be publically available
soon.
Sorry for that your break was so small :-).
Maksim
On 28/07/2014 23:12, Frank, Alvaro Jesus wrote:
> So yes, it seems utterly broken.
> I am gonna take a small break until it is fixed.
>
> -A Frank
>
> ------------------------------------------------------------------------
> *From:* genabel-devel-bounces at lists.r-forge.r-project.org
> [genabel-devel-bounces at lists.r-forge.r-project.org] on behalf of
> Frank, Alvaro Jesus [alvaro.frank at rwth-aachen.de]
> *Sent:* Monday, July 28, 2014 6:03 PM
> *To:* genabel-devel at lists.r-forge.r-project.org
> *Subject:* [GenABEL-dev] databel float type
>
> Hi all,
>
> what is wrong with this? R:
> ---------------------------------------------------------------------------------------------
>
>
> library(DatABEL)
>
> n = 100 # number of individuals
> l = 2 # number of covariates
> m = 10 # number of snps
> t = 5 # number of traits
>
> set.seed(1001)
> runif(3)
>
> XL <- matrix(rnorm((l+1)*n),ncol=(l+1)) # first column should be ones
> (intercept)
> for(i in 1:n*l){ if(sample(1:10,1) > 5) XL[i]=0/0}
>
> colnames(XL) <- c("intercept", paste("cov",1:l,sep=""))
> rownames(XL) <- paste("ind",1:n,sep="")
> XL_db <- matrix2databel(XL,filename="XL",type="FLOAT")
>
>
>
> ---------------------------------------------------------------------------------------------
> The error that I get is this:
>
> file contains data of unknown type 5
> Error in !.Call("assignDoubleMatrix", x at data, newi, newj,
> as.double(value), :
> invalid argument type
>
> I cannot create any more databel flaot files....
>
>
> A Frank
>
>
> _______________________________________________
> genabel-devel mailing list
> genabel-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/genabel-devel/attachments/20140728/9ebec2e7/attachment-0001.html>
More information about the genabel-devel
mailing list