我正在尝试安装旧版本的Readxl( readxl_0.1.1.tar.gz ),同时具有以下两个选项:
# Try Number 1
packageurl <-
"http://cran.rproject.org/src/contrib/Archive/readxl/readxl_0.1.1.tar.gz"
install.packages(packageurl, repos=NULL, type="source")
#Try number 2
install.packages("C:/Users/.../readxl_0.1.1.tar.gz", repos = NULL, type =
"source")
这两个选项给我以下错误:
Warning: comando ejecutado 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-
34~1.2/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-34~1.2/share/make/winshlib.mk"
SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)'
SHLIB="readxl.dll" OBJECTS="RcppExports.o XlsWorkBook.o XlsWorkSheet.o
XlsxWorkBook.o XlsxWorkSheet.o benchmarks.o endian.o ole.o xls.o xlstool.o
zip.o"' tiene estatus 127
ERROR: compilation failed for package 'readxl'
我的R版本是:
$platform
[1] "x86_64-w64-mingw32"
$arch
[1] "x86_64"
$os
[1] "mingw32"
$system
[1] "x86_64, mingw32"
$status
[1] ""
$major
[1] "3"
$minor
[1] "4.2"
$year
[1] "2017"
$month
[1] "09"
$day
[1] "28"
$`svn rev`
[1] "73368"
$language
[1] "R"
$version.string
[1] "R version 3.4.2 (2017-09-28)"
$nickname
[1] "Short Summer"