Gdata package perl issue

后端 未结 10 2335
无人及你
无人及你 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:47

    Make sure your path variable is NOT named "perl". I renamed it to prl and success!

    This did NOT work:

    perl <- "C:/Strawberry/perl/bin/perl.exe"
    excel_gdata <- read.xls(url_xls, perl)
    
    Error in findPerl(verbose = verbose) : 
      perl executable not found. Use perl= argument to specify the correct path.
    Error in file.exists(tfn) : invalid 'file' argument
    

    This works!

    prl <- "C:/Strawberry/perl/bin/perl.exe"
    excel_gdata <- read.xls(url_xls, prl)
    

提交回复
热议问题