This question already has answers here:
Rcpp package doesn't include Rcpp_precious_remove
(2 answers)
Closed 1 year ago.
I recently updated Amelia to the most recent version 1.8.0, built: 2021-05-26.
Now, when I try to use the amelia() function, I get the error
Error in emarch(x.stacked$x, p2s = p2s, thetaold = NULL, tolerance = tolerance, :
function 'Rcpp_precious_remove' not provided by package 'Rcpp'
I updated Rcpp, but it was not solved.
Any help please?
It seems that I first had to uninstall and reinstall (rather than update) the Rcpp package.
Problem solved now!
Related
This question already has answers here:
Rcpp package doesn't include Rcpp_precious_remove
(2 answers)
Closed 1 year ago.
I am trying to read a file into r and I keep getting this error. All of my libraries are installed and loaded. It is a spreadsheet with 2 sheets and I only want data from the second sheet.
read.xlsx(dataUrl, sheet = 2)
Error in getChildlessNode(xml = workbookRelsXML, tag = "Relationship") :
function 'Rcpp_precious_remove' not provided by package 'Rcpp'
You have to install the Rcpp package first:
install.packages('Rcpp')
library('Rcpp')
read.xlsx(dataUrl, sheet = 2)
This question already has answers here:
Error: could not find function ... in R
(10 answers)
Closed 1 year ago.
I want to use spread function from tidyr package but my RStudio says
"Error in spread(., nama_event, created_at) :
could not find function spread"
Therefore, I want to install tidyr package but it doesn't exist in RStudio 1.4.1.
Instead of using spread you should use pivot_longer.
https://tidyr.tidyverse.org/articles/pivot.html
To install a package, you shoud use install.packages.
This question already has answers here:
Error: could not find function ... in R
(10 answers)
Closed 2 years ago.
What's wrong with my code?
Here is my code:
paths_allowed("https://collections.ed.ac.uk/art)")
Here is the error message:
Error in paths_allowed("https://collections.ed.ac.uk/art)") :
could not find function "paths_allowed"
paths_allowed is a function of the package robotstxt.
To use the function, you need to install the package first.
Then, after loading the package with library, you will be able to use your function.
install.packages("robotstxt")
library(robotstxt)
paths_allowed("https://collections.ed.ac.uk/art)")
If you don't want to load the package you can alternatively call the function with :: operator in this way:
robotstxt::paths_allowed("https://collections.ed.ac.uk/art)")
This question already has answers here:
Error: could not find function ... in R
(10 answers)
Error: could not find function "%>%"
(5 answers)
Closed 3 years ago.
I am trying to run a line of code in R using the dplyr package. dplyr is installed and the package appears to have loaded correctly, but does not recognise the %>% function.
The code I am attempting to run is -
reptiledata2 = reptiledata %>% filter (START_YEAR>=1980)
This leads to the error:
Error in reptiledata %>% filter(START_YEAR >= 1980) : could not find function "%>%"
This code has previously worked for me before, but for some reason is not working today. Have also tried to load magrittr package but this does not solve the issue either.
Install or reinstall dplyr package.
install.packages("dplyr")
If does not work, try to remove it and reinstall.
This question already has answers here:
How should I deal with "package 'xxx' is not available (for R version x.y.z)" warning?
(18 answers)
Closed 2 years ago.
How can I install R package GWASpoly. I have been trying from last week with bundle of different methods. but all went useless. Always showing this msg:
package ‘GWASpoly’ is not available (for R version 3.3.3)
Can any body help me out in this?
i) Go to this website: http://potatobreeding.cals.wisc.edu/software/
ii) Download the package
iii) In R, install using the following command: install.packages("~/Downloads/GWASpoly_1.3.tar.gz", repos = NULL, type = "source")