R Programming - Error - r

I am unable to execute any instruction in R. Getting below error.
Error in library("colorout") : there is no package called "colorout"
Also trying to execute: Rscript.exe -e ".libPaths()"
Warning message:
package 'plyr' was built under R version 3.5.1 Error
in sys.source(".my_custom_functions.r", envir = custom_env) :
'.my_custom_functions.r' is not an existing file

Related

Installing a CRAN package for R language

I would like to install the following package for R,
https://thlfi.github.io/read.gt3x/index.html
When I run this command on the R command line, I get the following message,
remotes::install_github("THLfi/read.gt3x")
Error in loadNamespace(name) : there is no package called ‘remotes’

error message while installing R Markdown on R version 4.0.1 on Windows

I am new to R and trying to install R Markdown on RStudio but it keeps giving me error messages eg
Warning in install.packages :
package ‘(tools)’ is not available (for R version 4.0.1)
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/4.0:
cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/PACKAGES'
Are you sure you have internet? try install.packages("Rmarkdown", dep = TRUE) you may also need to install latex for your system

Error installing tensorflow in R: /Users/emmeran/.virtualenvs/r-reticulate/bin/pip: No such file or directory

After installing the tensorflow package for R from Github, and loading with library(tensorflow), when doing install_tensorflow(), I get the error message below. I don't know how to get it to find the file or where I can even know where the file is. Thanks
install_tensorflow()
Using virtual environment '~/.virtualenvs/r-reticulate' ...
sh: /Users/emmeran/.virtualenvs/r-reticulate/bin/pip: No such file or directory
Error: Error installing package(s): 'pip'
In addition: Warning message:
In system2(pip, args) : error in running command

Error installing R package forecast

Im trying to install the "forecast" package in R and I keep getting the following error
Error in install.packages : Found continuation line starting ' <link rel="s ...' at begin of record.
I'm running R 3.2.2 Windows 64 bit
I've tried these, I get the same error
install.packages("https://cran.r-project.org/src/contrib/forecast_7.1.tar.gz ",repos=NULL, dependencies = TRUE)
install.packages("forecast", dep = T, lib="C:/Projects/Consumption curves/Rpackages")
install.packages("forecast", type="source")

Error on R studio startup

I get the following error message in the console when opening Rstudio :
Error installing package: Error: ERROR: no packages specified
The filename, directory name, or volume label syntax is incorrect.
My R version is 3.1.1
This is the error you get from calling install.packages with no package specified.
> install.packages()
Error in install.packages() : no packages were specified
You might want to check whether something like that is included in your Rprofile.site file.

Resources