I was/am trying to install some packages and keep getting errors.
at first I was trying the "Install packages" from the tools menu as I always do, and got the error
install.packages("partykit") Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘partykit’ These will not be installed
Which brought me to suggestions like this: How do I install an R package from source?
so I tried downloading package and this code, no idea what I am doing wrong, any help?:
install.packages("C:\\Users\\sandera\\Downloads\\partykit_1.0-4.tar.gz",repos=NULL,type="source")
> install.packages("C:\\Users\\sandera\\Downloads\\partykit_1.0-4.tar.gz",repos=NULL,type="source")
* installing *source* package 'partykit' ...
** package 'partykit' successfully unpacked and MD5 sums checked
** libs
*** arch - i386
Warning: running command 'make -f "C:/Users/sandera/DOCUME~1/R/R-32~1.2/etc/i386/Makeconf" -f "C:/Users/sandera/DOCUME~1/R/R-32~1.2/share/make/winshlib.mk" SHLIB="partykit.dll" OBJECTS="ctreecall.o ctreelinstat.o ctreesplit.o ctreeteststat.o ctreeutils.o"' had status 127
ERROR: compilation failed for package 'partykit'
* removing 'C:/Users/sandera/Documents/R/R-3.2.2/library/partykit'
Warning in install.packages :
running command '"C:/Users/sandera/DOCUME~1/R/R-32~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\sandera\Documents\R\R-3.2.2\library" "C:/Users/sandera/Downloads/partykit_1.0-4.tar.gz"' had status 1
Warning in install.packages :
installation of package ‘C:/Users/sandera/Downloads/partykit_1.0-4.tar.gz’ had non-zero exit status