for my Statistical analyses, I need to use the Packages ggplot2 and lmerTest.
While installing lmerTest I updated R and was able to use the function. But after this update, I was not able to use ggplot2 anymore. So I downgraded it.
If I want to install lmerTest now it shows the Error:
install.packages("lmerTest")
Warning in install.packages :
installation of package ‘lmerTest’ had non-zero exit status
---- there is no package called ‘lmerTest’
When I Google that problem I just find the answer to update R, but then ggplot2 won't work. I cant use lme4 instead because here is missing the p-value.
Is there no way to use both, ggplot2 and lmerTest, with Ubuntu??
I'm definitely no expert. Thanks for any help, sincerely
Maria
Related
Is anyone able to help with the following error code or knows a different way to install the vegan package?
Tried both codes below... Need to do some MDS plots!
Code:
install.packages('vegan')
install.packages('vegan', dependencies=TRUE, repos='http://cran.rstudio.com/')
Error Message:
Warning in install.packages :
package ‘vegan’ is not available (for R version 3.3.2)"
You are simply using a (very!) old version of R. Update to the latest version and everything should work fine.
I am trying to run sentiment analysis in R. I have installed tidytext and it is in the correct library with all other packages.
However, when I run
get_sentiments("afinn")
I get the following error:
Error in loadNamespace(name) : there is no package called ‘textdata’
Any suggestions on how to fix?
This means that the package is missing from your libraries. You need to install it with install.packages("textdata").
Im a bit new to R and need to use/adapt someone else code in R.
My supervisor uses R version 3.2.2 with the dplyr package version 0.4.3 (to overcome errors and problems with the original code).
I tried to install the older dplyr package with different methods:
- installed devtools package and then used the url devtools::install_url("http://cran.r-project.org/src/contrib/Archive/dplyr/dplyr_0.1.2.tar.gz")
- manual installation (where I downloaded the file and tried to install it.) Installation seemed to have worked but when I run the code it gives a fatal error massage
Every way I've tried so far either gives a lot of error messages or a fatal error and shutdown.
When using help ?dplyr it gives a pop-up that there is an error. Does anybody have any other ideas to install this package?
Thanks!
I just installed R on my new computer and want to install some packages. But im running into some strange errors when doing this.
When I do this:
install.packages(iris)
I get the following error:
Installing package into ‘C:/Users/Marc/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
Warning message:
ackage ‘iris’ is not available (for R version 3.2.2)
I especially dont get the unspecified lib part as I just set it (.libPaths("C:/Users/Marc/Desktop/R/Library"))
Any thoughts on what is causing this error?
Because there is no iris package (as #etienne said). If you do ?iris (or google for it) it tells you that iris dataset comes with datasets package.
I thought datasets package came bundled with R.
(If it doesn't, or if yours got corrupted somehow, install.packages('datasets', ...)
Title says the core of it. I've been wanting to learn R and I thought that swirl sounded nice. I can't get swirl to install, so just as an experiment I tried another package. I get the same error message. I'm getting this in both R and R Studio.
My input and error message are here:
install.packages("swirl")
## package ‘swirl’ is available as a source package but not as a binary
## Warning message:
## package ‘swirl’ is not available (for R Under development)
The first time I tried it I did get to chose a CRAN mirror, but otherwise I've been just spinning my gears.
I'm on a Mac and running OS X Yosemite, I tried looking for any issues similar to this and I am stuck. Any help is appreciated.
It looks like you're using a bleeding edge version of R ("R Under development").
Downgrade to the latest stable version and you should be fine.