I would like to install the r superheat package but I don't have access to github so I cannot use devtools.
I was looking here:
How to install a package from a download zip file
and I see to install a package from a zip file do
setwd("C:/Users/Desktop/")
unzip("rvest-master.zip")
file.rename("rvest-master", "rvest")
shell("R CMD build rvest")
install.packages("rvest_0.2.0.9000.tar.gz", repos = NULL)
so I downloaded the superheat zip file from the github page https://github.com/rlbarter/superheat and I want to do the code below BUT
I get this error:
shell("R CMD build superheat")
'\\mycompany.com\MYDOCS\My' is not recognized as an internal or external command,
operable program or batch file.
Warning messages:
1: running command 'C:\Windows\system32\cmd.exe /c R CMD build superheat' had status 1
2: In shell("R CMD build superheat") :
'R CMD build superheat' execution failed with error code 1
on this line
I think it it because the R program is in the "MY DOcuments" folder which has a space in the path. Is there a workaround?
Thank you.
these are the lines I am running
setwd("C://Users//Desktop/")
unzip("superheat-master.zip")
file.rename("superheat-master", "superheat")
shell("R CMD build superheat")
when I run this
shell("//mycompany.com/MyDocs/My Documents/R/R-3.4.0/bin/R.exe CMD build superheat")
I still get the same error