Liechi 结果是这样的:
install.packages("C:/Users/sx11y/Downloads/quadprog_1.5-8.tar.gz", repos = NULL, type = "source")
- installing source package 'quadprog' ...
** package 'quadprog' successfully unpacked and MD5 sums checked
** using staged installation
** libs
*** arch - i386
C:/Rtools/mingw_32/bin/gfortran -O2 -msse2 -mfpmath=sse -O3 -mtune=generic -c aind.f -o aind.o
C:/Rtools/mingw_32/bin/gcc -I"C:/PROGRA1/R/R-361.2/include" -DNDEBUG -O3 -Wall -std=gnu99 -mtune=generic -c init.c -o init.o
C:/Rtools/mingw_32/bin/gfortran -O2 -msse2 -mfpmath=sse -O3 -mtune=generic -c solve.QP.compact.f -o solve.QP.compact.o
C:/Rtools/mingw_32/bin/gfortran -O2 -msse2 -mfpmath=sse -O3 -mtune=generic -c solve.QP.f -o solve.QP.o
C:/Rtools/mingw_32/bin/gfortran -O2 -msse2 -mfpmath=sse -O3 -mtune=generic -c util.f -o util.o
C:/Rtools/mingw_32/bin/gcc -shared -s -static-libgcc -o quadprog.dll quadprog-win.def aind.o init.o solve.QP.compact.o solve.QP.o util.o -LC:/PROGRA1/R/R-361.2/bin/i386 -lRblas -lgfortran -lm -lquadmath -lgfortran -lm -lquadmath -LC:/PROGRA1/R/R-361.2/bin/i386 -lR
installing to C:/Program Files/R/R-3.6.2/library/00LOCK-quadprog/00new/quadprog/libs/i386
*** arch - x64
C:/Rtools/mingw_64/bin/gfortran -O2 -msse2 -mfpmath=sse -O2 -mtune=generic -c aind.f -o aind.o
C:/Rtools/mingw_64/bin/gcc -I"C:/PROGRA1/R/R-361.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mtune=generic -c init.c -o init.o
C:/Rtools/mingw_64/bin/gfortran -O2 -msse2 -mfpmath=sse -O2 -mtune=generic -c solve.QP.compact.f -o solve.QP.compact.o
C:/Rtools/mingw_64/bin/gfortran -O2 -msse2 -mfpmath=sse -O2 -mtune=generic -c solve.QP.f -o solve.QP.o
C:/Rtools/mingw_64/bin/gfortran -O2 -msse2 -mfpmath=sse -O2 -mtune=generic -c util.f -o util.o
C:/Rtools/mingw_64/bin/gcc -shared -s -static-libgcc -o quadprog.dll quadprog-win.def aind.o init.o solve.QP.compact.o solve.QP.o util.o -LC:/PROGRA1/R/R-361.2/bin/x64 -lRblas -lgfortran -lm -lquadmath -lgfortran -lm -lquadmath -LC:/PROGRA1/R/R-361.2/bin/x64 -lR
installing to C:/Program Files/R/R-3.6.2/library/00LOCK-quadprog/00new/quadprog/libs/x64
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'quadprog'
finding HTML links ... done
solve.QP html
solve.QP.compact html
** building package indices
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
感觉是安装成功了的,但是运行包里的函数还是失败了。
大神可以解释一下为什么要下载这个格式吗?