Skip to content
Back to formatted view

Raw Message

Message-ID: <F904320E6997EB47A7A04A9661D6CF6D335C3CF4@UWMBX01.uw.lu.se>
Date: 2012-09-12T12:37:42Z
From: Joao Fadista
Subject: SNPRelate package error

Dear all,

I am using the R package SNPRelate but I found an error when I run the following command. Do you know what might be the problem? Thanks in advance.


> vcf.fn <- system.file("extdata", "sequence.vcf", package="SNPRelate")
> snpgdsVCF2GDS(vcf.fn, "test.gds")
Start snpgdsVCF2GDS ...
        Open C:/Users/med-jft/Documents/R/win-library/2.15/SNPRelate/extdata/sequence.vcf 
        Scanning ...
Error in createfn.gds(outfn.gds) : 
  Can not create file 'test.gds'. Access is denied. 

> sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: x86_64-pc-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=Swedish_Sweden.1252  LC_CTYPE=Swedish_Sweden.1252    LC_MONETARY=Swedish_Sweden.1252 LC_NUMERIC=C                    LC_TIME=Swedish_Sweden.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] SNPRelate_0.9.7 gdsfmt_0.9.10  

loaded via a namespace (and not attached):
[1] tools_2.15.0

Best regards,
Jo?o Fadista, Ph.D.
Post Doc

Lund University Diabetes Centre
CRC, Malm? University Hospital
Jan Waldenstr?ms gata 35, building 60, level 13
SE-205 02 Malm?, Sweden
Tel: +46 (0)40 391237
e-mail: joao.fadista at med.lu.se