search for: year66

Displaying 2 results from an estimated 2 matches for "year66".

Did you mean: year60
2009 Feb 11
0
More help with Binary Files
...s anyone else have any insights to this issue: Henrick, thank you for your very quick response. I've examined the readBin help file with respect to endian and I'm still not sure I'm getting this correct. Here is what I'm coding: con <- file(file.choose(), open="rb") Year66 <- readBin(con, what=integer(), signed = TRUE, size = 2, endian="little", n = 40374840) # define endian= "little" length(Year66) close(con) # convert millimeters to inches Year66.in <- Year66 * 0.039370 describe(Year66.in) Year66.in n missing unique...
2009 Feb 11
1
Reading Binary Files
...records, for a total of 37 years. The file size is therefore 419(rows) * 264(columns) * 365(days) * 37(years) long. The product of these dimensions is 1493869080 records. I'm using the following code to read these into R (windows 2.8.1 ) con <- file(file.choose(), open="rb") Year66 <- readBin(con, integer, signed=TRUE, n = 40374840) close(con) length(Year66) returns 2046396 I'm betting that I'm defining the "what" incorrectly, but after numerous attempts with different choices I'm wondering if readBin can handle "short" values? Any help...