Original message by them: "We are trying to analyze the *.bin data from Geneactiv and we obtain the following error when importing the file
[1] "File name: 5754__031468_2017-02-22 11-58-39.bin"
Error in array(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x), :
'data' must be of a vector type, was 'NULL'
The bin file was obtained directly from the Geneactiv device and is 715 Mb (15 days). We tried reading it using g.meta but it does not work. Do we also need to upload GENEAread?
I attach the code. Do you have any idea why it is not working? We are running it on a Windows 7 professional environment, 24Gb RAM, and we run the code using Rstudio Version 0.99.879 and R version 3.2.3."
Final solution:
Reinstall the R packages on which GGIR depends, because they are probably out of date. For example, mmap, bitops, matlab...
Vincent
Following on from my previous message. Just to clarify, the depencies on which GGIR relies are all R packages listed after 'Suggests', 'Imports', and 'Depends' on https://cran.r-project.org/web/packages/GGIR/index.htmlIn R you can use the following command to install all of them in one go: install.packages("GGIR",dependencies = TRUE).At this moment this includes: MASS, signal, zoo, mmap, bitops, matlab, GENEAread,tuneR, testthat, covr, data.table, stats, utils
On 21 March 2017 at 16:14, Vincent van Hees <vincent...@gmail.com> wrote:
Please find a below a summary of a correspondence I had with Pedro Pedro-Manuel...@chuv.ch and Mike yao...@nih.gov regarding an issue they encountered and the solution to address this issue:
--You received this message because you are subscribed to the Google Groups "R package GGIR" group.To unsubscribe from this group and stop receiving emails from it, send an email to RpackageGGIR...@googlegroups.com.To view this discussion on the web, visit https://groups.google.com/d/msgid/RpackageGGIR/828f57ad-b3ba-4442-b96f-9ff237d01564%40googlegroups.com.