milton ruser
2010-Jul-07 00:50 UTC
[R] xls.getshlib() error in xlsReadWrite package under W7
Dear all, I installed xlsReadWrite package under Windows 7, and got error when trying to run xls.getshlib(). Please, see the errors below:> require(xlsReadWrite)Loading required package: xlsReadWrite xlsReadWrite version (cran shlib) Copyright (C) 2010 Hans-Peter Suter, Treetron, Switzerland. !! Your installation contains the cran placeholder shlib (dll/so). Please get the regular shlib (420 KB) by executing the following command: xls.getshlib() Info, forum, issue tracker and manual download at http://www.swissr.org. BACKGROUND: Our own xlsReadWrite code is free, but we also use proprietary code (Flexcel, tmssoftware.com) which can only be distributed legally in precompiled, i.e. binary form. As CRAN 'generally does not accept submissions of precompiled binaries due to security reasons' we only provide a placeholder and you can download the binary shlib separately. NO GUARANTEES: We have done thorough tests initially and there are integrity checks, but we do _not_ give any guarantees. You can check/clone the source code at http://github.com/swissr/xlsreadwrite , in case of any issues we are happy to hear about them (bug tracker/forum/email).> xls.getshlib()Loading required package: tools --- xls.getshlib running... --- - zipped shlib has been downloaded from ' http://dl.dropbox.com/u/2602516/swissrpkg/bin/win32/shlib/xlsReadWrite_1.5.1_dll.zip' to 'C:\Users\Miltinho\AppData\Local\Temp\Rtmp2cUZxb/xlsReadWrite.zip' - md5 hash value has been read from ' http://dl.dropbox.com/u/2602516/swissrpkg/bin/win32/shlib/xlsReadWrite_1.5.1_dll.zip.md5.txt' - zipped shlib has correct md5 hash - zipped shlib has been extracted to'C:\Users\Miltinho\AppData\Local\Temp\Rtmp2cUZxb/xlsReadWrite.dll' - try to unload existing shlib 'C:\Users\Miltinho\Documents/R/win-library/2.11/xlsReadWrite/libs/xlsReadWrite.dll' - try to unload existing shlib 'C:/PROGRA~2/R/R-211~1.0/library/xlsReadWrite/libs/xlsReadWrite.dll' Error in file.rename(fp, fp.backup) : 'source' must be a single string In addition: Warning messages: 1: In if (!file.exists(fp)) stop("existing (cran) shlib could not be found at '", : the condition has length > 1 and only the first element will be used 2: In if (file.exists(fp.backup)) file.remove(fp.backup) : the condition has length > 1 and only the first element will be used> sessionInfo()R version 2.11.0 (2010-04-22) i386-pc-mingw32 locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C LC_TIME=English_United States.1252 attached base packages: [1] tools stats graphics grDevices utils datasets methods base other attached packages: [1] xlsReadWrite_1.5.1 Cheers milton [[alternative HTML version deleted]]
Gabor Grothendieck
2010-Jul-07 03:15 UTC
[R] xls.getshlib() error in xlsReadWrite package under W7
On Tue, Jul 6, 2010 at 8:50 PM, milton ruser <milton.ruser at gmail.com> wrote:> Dear all, > > I installed xlsReadWrite package under Windows 7, and got error when trying > to run xls.getshlib(). > Please, see the errors below: > >> require(xlsReadWrite) > Loading required package: xlsReadWrite > xlsReadWrite version (cran shlib) > Copyright (C) 2010 Hans-Peter Suter, Treetron, Switzerland. > > !! Your installation contains the cran placeholder shlib (dll/so). > Please get the regular shlib (420 KB) by executing the following command: > > ? xls.getshlib() >See the workarounds listed on this page in the xlsReadWrite section: http://rwiki.sciviews.org/doku.php?id=tips:data-io:ms_windows&s=excel