[R-sig-Geo] plotKML: kml_View adds working directory to file name
Elbers, Jan
jan.elbers at wur.nl
Thu Apr 16 12:30:38 CEST 2015
Hello,
Kml_View works fine if I use the following:
dfile <- "somefile.kml"
kml_View(file.name=dfile)
but when I do:
dfile <- file.choose(new=FALSE)
kml_View(file.name=dfile)
I get an error message saying file cannot be opened and a path[1] that has the working directory added to it.
Variable dfile is OK, it contains the path but that should be no problem. Why is the working directory path added to that in kml_View?
Cheers,
Jan
More information about the R-sig-Geo
mailing list