×
  • Select the area you would like to search.
  • ACTIVE INVESTIGATIONS Search for current projects using the investigator's name, institution, or keywords.
  • EXPERTS KNOWLEDGE BASE Enter keywords to search a list of questions and answers received and processed by the ADNI team.
  • ADNI PDFS Search any ADNI publication pdf by author, keyword, or PMID. Use an asterisk only to view all pdfs.

Question

Question Posted 03/27/18:
Hi, I get an error message when using ADNIMERGE variable in R, even calling adnimerger() function to regenerate the data:
> adni <- adnimerger()
Error: `x` and `labels` must be same type

Is there any reason for that?
Thanks
Response posted 03/27/18 by Mike D:
This is a Hmisc/tidyverse clash that should be fixed in current version of tidyverse.

https://github.com/tidyverse/haven/issues/86

Try,

R prompt > install.packages(c('tidyverse', 'Hmisc'))
Response posted 03/28/18 by Florent:
Unfortunately it does not fix the issue: all packages are up to date.
It looks like the bug is still open:
https://github.com/harrelfe/Hmisc/issues/87

Do you hae any workaround to fix it?
Go back to list of topics >