Page 1 of 1

"Rappdirs" error when using System R from Jamovi

Posted: Wed Aug 10, 2022 8:44 am
by caminoodle
Hi,

I've been trying to use Rj to run analyses not yet included in jamovi (careless package). I'm following the instructions here https://blog.jamovi.org/2018/07/30/rj.html and have installed jmvconnect.
"
But when I try to run anything in Jamovi from the system R it comes up with the error message "there is no package called rappdirs". I've installed rappdirs in the system R, but it doesn't go away and I can't seem to be able to run anything still.

As an alternative approach, I've tried accessing my jamovi dataset from R using jmvconnect, but that returns the error message "Error in dataset$title : object of type 'externalptr' is not subsettable". (the title of my dataset is all lower case letters and numbers - what does subsettable mean then?)

Ideally I'd want to access R from Jamovi so as not to lose the information in the dataset, but either option would work. Does anyone have any idea of how to solve this?
Thank you!

Re: "Rappdirs" error when using System R from Jamovi

Posted: Wed Aug 10, 2022 11:57 pm
by jonathon
yeah, the challenge with using system R is that there's a lot of quirks and peculiarities of people's individual systems which can be difficult to work out.

an easy work around might be to use the jmvReadWrite package.

https://cran.r-project.org/package=jmvReadWrite

cheers

jonathon

Re: "Rappdirs" error when using System R from Jamovi

Posted: Thu Aug 11, 2022 8:35 am
by caminoodle
That worked, thanks Jonathon!

Re: "Rappdirs" error when using System R from Jamovi

Posted: Thu Feb 16, 2023 8:52 pm
by MelWK
Hi,
I have the same error as the previous posts mention : when I try to run anything in Jamovi from the system R it comes up with the error message "there is no package called rappdirs". I've installed rappdirs in the system R, but it doesn't go away and I can't seem to be able to run anything still.

I tried installing the jmvReadWrite package but it still returns the same error "there is no package called rappdirs".

I saw in an older post that you mentioned that international symbols in the username may be a problem. That is my case :
‘C:/Users/Mélanie/AppData/Local/R/win-library/4.2’ but I don't know if and how that can be changed.

I also tried writing .libPaths('C:/Users/Mélanie/AppData/Local/R/win-library/4.2') in Rj in Jamovi but that doesn''t seem to help.

Is there another workaround?

Many thanks.