[R-sig-Geo] excel to ascii
Tomislav Hengl
hengl at spatial-analyst.net
Sun Oct 7 11:15:59 CEST 2012
I use the read.xls command from the gdata package
[http://cran.r-project.org/web/packages/gdata/] to read XLS files to R.
Works without a problem, but you need to get and locate Perl on your OS.
Here is an example:
> library(gdata)
## perl <- gdata:::findPerl("perl")
## Did not work :(
> perl = "C:/Perl64/bin/perl.exe"
> prof <- read.xls("prof.xls", perl=perl)
On 05/10/2012 14:34, alemante zd wrote:
> Dear all,
>
> Is here anyway, (perhaps outside R) to convert an excel file into an
> ascii one? I was trying to read one into R but I could not.
> many thanks
> minti
>
More information about the R-sig-Geo
mailing list