Page 1 of 3

[RESOLVED] Rj Editor can't detect jmvconnect

Posted: Thu Sep 27, 2018 10:24 pm
by michaelpi
Hey,
First of all, thanks for making great software!

I'm having trouble using the Rj Editor. I've install jmvconnect, but for some reason, whenever I try to switch to the system R, I get an error message telling me jmvconnect must be installed to use it.

I've reinstalled R and made sure that the registry keys were added.
I've also verified that RStudio is able to locate the system R binaries.

Is there anymore info I can provide to help troubleshooting?

Thanks!
Michael

Re: Rj Editor can't detect jmvconnect

Posted: Thu Sep 27, 2018 10:36 pm
by jonathon
so i'm guessing that jmvconnect has been installed to somewhere a bit unusual, and your R session has some configuration or similar which helps it find it, where as jamovi is a bit more strict, or doesn't have access to as much information.

what does this output:

installed.packages()['jmvconnect','LibPath']

with thanks

Re: Rj Editor can't detect jmvconnect

Posted: Sat Sep 29, 2018 10:06 pm
by michaelpi
> installed.packages()['jmvconnect','LibPath']
[1] "C:/Users/[USERNAME]/R/win-library/3.5"

Re: Rj Editor can't detect jmvconnect

Posted: Mon Oct 01, 2018 4:57 am
by jonathon
hmm, R is a bit strange. sometimes it can find these things, and sometimes it can't.

i've pushed what i think is a fix. if you uninstall Rj, and reinstall from the jamovi library, it *should* be able to find it.

let me know how you get on.

with thanks

jonathon

Re: Rj Editor can't detect jmvconnect

Posted: Mon Oct 01, 2018 9:33 pm
by michaelpi
I've removed the module, and installed it again.no luck..
I've also, just to be sure, did this again, with a restart to jamovi between the removal and re-installation. still, no luck...
The Rj version I'm seeing now is 1.0.2. (jamovi 9.4.2)

Anything else you'd like me to try?
Thanks!

Re: Rj Editor can't detect jmvconnect

Posted: Mon Oct 01, 2018 9:56 pm
by jonathon
hmm, how are you installing it? if you're installing from the library, you should be getting 1.0.3

if you're side-loading, then use this link:

https://library.jamovi.org/modules/Rj_1.0.3-win64.jmo

jonathon

Re: Rj Editor can't detect jmvconnect

Posted: Tue Oct 02, 2018 3:57 am
by michaelpi
Maybe I've stumbled upon an unrelated bug? See the incongruity in Rjs version in the 'installed' and 'available' views:
Rj versions.gif
Rj versions.gif (103.56 KiB) Viewed 13580 times
but still no dice..

Re: Rj Editor can't detect jmvconnect

Posted: Tue Oct 02, 2018 4:02 am
by jonathon
hmm. what does this command output?:

readRegistry('Software\\R-core\\R', 'HLM')

with thanks

Re: Rj Editor can't detect jmvconnect

Posted: Tue Oct 02, 2018 12:21 pm
by michaelpi
> readRegistry('Software\\R-core\\R', 'HLM')
$`Current Version`
[1] "3.5.1"

$InstallPath
[1] "C:\\Program Files\\R\\R-3.5.1"

$`3.5.1`
[1] "<subkey>"

Re: Rj Editor can't detect jmvconnect

Posted: Tue Oct 02, 2018 11:46 pm
by jonathon
your username doesn't have international characters in it, does it?

with thanks

jonathon