Displaying 2 results from an estimated 2 matches for "outcon".
Did you mean:
outconn
2008 Nov 05
1
Using RGDAL to "copy" header information...
..., the input file "elev" can be
any image file GDAL supports -- the code below just "copies" the image
one line at a time:
###
library(rgdal)
infile='elev'
outfile_base='testout'
outfile_ext='.bil'
outfile=paste(outfile_base,outfile_ext,sep='')
outcon <- file(outfile, "wb")
infile_info=GDALinfo(infile)
nl=infile_info[[1]]
ns=infile_info[[2]]
for (row in 1:nl) {
templine <- readGDAL(infile,region.dim=c(1,ns),offset=c(row-1,0))
writeBin(templine[[1]], outcon,size=4)
}
close(outcon)
# Below doesn't work
# writeGDAL(tem...
2009 Aug 27
1
R 2.10.0 devel package check error
...-o Rcmdr.dll tmp.def ismdi.o -lRgraphapp
-Lc:/R/R-2.10.0dev/bin -lR
... done
** R
** inst
** help
*** installing help indices
Error in cat("\n<h2><a name=\"", f, "\">-- ", f, " --</a></h2>\n\n", sep =
"", :
object 'outcon' not found
* removing 'C:/eclipse/Rcmdr.Rcheck/Rcmdr'
------------- snip -----------
The package does in fact install properly on this system, including the help
files, and I've been unable to track down the source of the problem.
Version and system information:
------------- sn...