Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR WHILE RUNNING PLINKQC IN RSTUDIO ON WINDOWS #26

Closed
hkiran22 opened this issue May 30, 2020 · 4 comments
Closed

ERROR WHILE RUNNING PLINKQC IN RSTUDIO ON WINDOWS #26

hkiran22 opened this issue May 30, 2020 · 4 comments

Comments

@hkiran22
Copy link

@hkiran22 hkiran22 commented May 30, 2020

Hello,
I am trying to run plinkQC on RStudio in Windows and I am getting the error below

Identification of related individuals
Identification of individuals of divergent ancestry
Registered S3 method overwritten by 'data.table':
  method           from
  print.data.table    
Error in evaluate_check_ancestry(qcdir = qcdir, indir = indir, name = name,  :
  plink --pca output file: C:/Users/HP/AppData/Local/Temp/RtmpkhMIat/data.HapMapIII.eigenvec does not exist.

Kindly assist.

Thank you
Mariam

@twesigomwedavid
Copy link

@twesigomwedavid twesigomwedavid commented May 31, 2020

@hkiran22 @HannahVMeyer The problem seems to be on the preceding code chunk in the plinkQC tutorial:

system(paste("cp", file.path(package.dir, 'extdata/data.HapMapIII.eigenvec'),
             qcdir))

Windows OS does not seem to like that way of copying files. Perhaps using the line below instead can fix the problem?

file.copy(file.path(package.dir, 'extdata/data.HapMapIII.eigenvec'), qcdir)
@HannahVMeyer
Copy link
Member

@HannahVMeyer HannahVMeyer commented Jun 1, 2020

Mariam, did David's suggestion (thank you @twesigomwedavid) work?
I will update the examples/vignette accordingly.

If not, Mariam, please provide more context. Which version of R and plinkQC are you using?
can you please provide the output of sessionInfo().

@hkiran22
Copy link
Author

@hkiran22 hkiran22 commented Jun 1, 2020

@HannahVMeyer
Copy link
Member

@HannahVMeyer HannahVMeyer commented Jun 2, 2020

Thanks for reporting back. I am closing this issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.