Rj System R - Rcpp_precious_preserve

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
MaximeB
Posts: 5
Joined: Fri Feb 25, 2022 1:53 pm

Rj System R - Rcpp_precious_preserve

Post 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
User avatar
jonathon
Posts: 2848
Joined: Fri Jan 27, 2017 10:04 am

Re: Rj System R - Rcpp_precious_preserve

Post by jonathon »

can you tell me what version of jamovi you're using ... what OS (windows, macos) ... and what version of Rj?

with thanks
MaximeB
Posts: 5
Joined: Fri Feb 25, 2022 1:53 pm

Re: Rj System R - Rcpp_precious_preserve

Post 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.
User avatar
jonathon
Posts: 2848
Joined: Fri Jan 27, 2017 10:04 am

Re: Rj System R - Rcpp_precious_preserve

Post by jonathon »

try reinstalling the Rcpp package in R:

install.packages('Rcpp')

and see if that changes things.

cheers
MaximeB
Posts: 5
Joined: Fri Feb 25, 2022 1:53 pm

Re: Rj System R - Rcpp_precious_preserve

Post by MaximeB »

Hello,
I don't know why I didn't think of that sooner, but it worked. Thank you!
Post Reply