Gdata package perl issue

后端 未结 10 2339
无人及你
无人及你 2021-02-07 05:03

I am attempting to follow this easy 2-minute video tutorial on importing an Excel spreadsheet into R as a data frame: http://www.screenr.com/QiN8

I followed each step, i

10条回答
  •  被撕碎了的回忆
    2021-02-07 05:40

    In my case, I got the similar message:

    Error in xls2sep(xls, sheet, verbose = verbose, ..., method = method,  : 
      Intermediate file 'C:\Users\ffffdd\AppData\Local\Temp\Rtmp6DG4Cr\file1ce018647411.csv' missing!
    In addition: Warning message:
    running command '"C:\Perl64\bin\PERL52~1.EXE" "C:/Users/ffffdd/Documents/R/win-library/3.4/gdata/perl/xls2csv.pl"  "D:/ffffdd/mlj/Results/xxxx.xlsx" "C:\Users\ffffdd\AppData\Local\Temp\Rtmp6DG4Cr\file1ce018647411.csv" "1"' had status 13 
    Error in file.exists(tfn) : invalid 'file' argument
    

    I figured out the solution by closing the Excel table, which cannot be opened by both Excel and R at the same time.

提交回复
热议问题