Issue Running GGIR - Variable datadir is not specified

37 views
Skip to first unread message

Lujain Alharbi

unread,
Mar 20, 2025, 9:32:57 AM3/20/25
to R package GGIR
Hello   GGIR community and Vincent van Hees  ,

I am working on analyzing data using GGIR in R, but I keep encountering the following error when running my code:
Error in GGIR(weekday_params) : Variable datadir is not specified
Does anyone have an idea about the cause of this issue or how to fix it?
I would really appreciate any help!

Thanks in advance!

GGIR code afer reviewing.docx

Vincent van Hees

unread,
Mar 21, 2025, 5:00:10 AM3/21/25
to Lujain Alharbi, R package GGIR
Hello Lujain,

Page 1 looks correct but pages are not correct. GGIR itself already offers functionality to aggregate per week- and weekend days, please use that functionality.

Providing the GGIR() call with non-existing input parameters is not in line with the documentation. Please see https://wadpac.github.io/GGIR/articles/GGIRParameters.html 
for a list of parameters that can be provided to GGIR.

If the week- and weekend aggregation by GGIR does not work then let me know with a reproducible example.

Thanks

Vincent
--
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, visit https://groups.google.com/d/msgid/RpackageGGIR/d456c3b5-7e08-46bc-bb67-49c5ab0946c5n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages