Page 1 of 1

Rj System R - Rcpp_precious_preserve

Posted: Fri Feb 25, 2022 2:13 pm
by MaximeB
Hello,

I've been transitioning from RStudio to Jamovi (seriously, the platform is so smooth!). My advisor would like to run repeated measure correlations, which to my knowledge are not currently supported. I would like to import my R script in Jamovi using the Rj module. However, whenever I select the option System R to access my own library, I get the error function Rcpp_precious_preserve not provided by package 'Rcpp' even before I run any code.

I couldn't find anything on the forum to help me solve my issue (or maybe I just searched with my eyes closed :upside_down_face: ). Are there any leads on how to fix this?

Thanks in advance!

Image

Re: Rj System R - Rcpp_precious_preserve

Posted: Sat Feb 26, 2022 12:53 am
by jonathon
can you tell me what version of jamovi you're using ... what OS (windows, macos) ... and what version of Rj?

with thanks

Re: Rj System R - Rcpp_precious_preserve

Posted: Sun Feb 27, 2022 4:15 pm
by MaximeB
Hello jonathon,

OS: Windows 11 (10.0.22000 Build 22000)
Jamovi: 2.2.5
Rj: 1.1.0
RStudio: Version 1.3.959
R Version: 4.0.2

Please, let me know if you need more information.

Re: Rj System R - Rcpp_precious_preserve

Posted: Sun Feb 27, 2022 11:57 pm
by jonathon
try reinstalling the Rcpp package in R:

install.packages('Rcpp')

and see if that changes things.

cheers

Re: Rj System R - Rcpp_precious_preserve

Posted: Thu Mar 03, 2022 9:33 pm
by MaximeB
Hello,
I don't know why I didn't think of that sooner, but it worked. Thank you!