Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 5 years ago.
Improve this question
I am running RStudio on Ubuntu 16.04. In attempting to load the tidyverse package with library(tidyverse), I get the following error:
Error: package or namespace load failed for ‘tidyverse’:
.onAttach failed in attachNamespace() for 'tidyverse', details:
call: NULL
error: Function getThemeInfo not found in RStudio
getThemeInfo is a function in the rstudioapi package. Besides re-installing the tidyverse and rstudioapi packages, I've tried deleting my .rstudio-desktop folder, as well as re-installing both R and RStudio. Nothing has worked. I can still load the component tidyverse packages separately so it's not fatal, but it is annoying.
Any help would be much appreciated.
Related
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 3 years ago.
Improve this question
I'm trying to create a heatmap using gplots, but can't install RColourBrewer.
I think I'm using the latest version of R. Do I have to uninstall it and reinstall an older version of R that is compatible with RColourBrewer?
install.packages("RColourBrewer")
Installing package into ‘C:/Users/Melissa/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Warning message:
package ‘RColourBrewer’ is not available (for R version 3.6.1)
Warning message:
package ‘RColourBrewer’ is not available (for R version 3.6.1)
>
RColorBrewer not RColourBrewer
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 5 years ago.
Improve this question
I am using R 3.4.3 and am unable to install the caret package (Error in install.packages(caret) : object 'caret' not found). I have tried other repositories and CRAN mirrors. I have tried installing github and remotes and devtools with no luck. Any ideas on how I can install this package? I have tried install.packages("caret") with the following error message: Warning in install.packages("caret") :
'lib = "C:/Program Files/R/R-3.4.3/library"' is not writable
Error in install.packages("caret") : unable to install packages. I have internet connectivity and have tried installing from the menu without luck.
You need " quotes
install.packages("caret")
and to use it
library(caret)
Because you missed the quotes around "caret"
install.packages("caret") # RIGHT - use a string name
install.packages(caret) # WRONG - it thinks caret is some string variable containing the name of the actual package
OLD ANSWER
- Installing from CRAN from command-line or GUI should work, but if for whatever reason it doesn't (might be your intranet, or connectivity, or network security), you can...
- Download the tarball (with wget/ browser/ ftp) then proceed as per Install R Packages without internet
- See also How should I deal with “package 'xxx' is not available (for R version x.y.z)” warning?
for fallbacks (compile from source, use older version, etc).
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 years ago.
Improve this question
I have installed R on my Linux machine. Whenever I type
> library(ps)
I get
Error in library(ps) : there is no package called ‘ps’
How can I check if sp package (R software) is installed on my Linux and how can I install it?
You can check if the package is installed in R with (require(ps)).
To install the package use install.packages("ps")
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 7 years ago.
Improve this question
I am trying to install xlsx via CRAN for R.
install.packages("xslx")
# Warning message:
# package 'xlsx' is not available (for R version 3.1.2)
Does this mean I need to get an older version of R?
OS X Yosemite 10.10
R 3.1.2 GUI 1.65 Mavericks build
Thanks!
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
I'm beginner for R. when i download twitterR package
I got a error message like
Installing package into ‘/home/xxx/R/x86_64-pc-linux-gnu-library/3.1’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘twitterR’ is not available (for R version 3.1.0)
Perhaps it is because you have spelled the name wrong?
install.packages("twitteR") # not twitterR