Displaying 2 results from an estimated 2 matches for "getslice".
Did you mean:
bitslice
2008 Jul 06
3
Lots of huge matrices, for-loops, speed
...y ~ ", paste(xnam, collapse="+"))
rm (xnam)
# Loop through rows
for (j in 1:rows) {
getgrid <- function (j) {
print (paste ("Row",j,"/",rows),quote = F)
# Read out multi-temporal response values for one grid-row of cells
for (k in 1:times)
{
getslice <- function (k) {
values <- scan (filelist [k], what=0, na.strings = "-9999",
skip = (5 + j), nlines = 1, nmax = cols, quiet=T)
values }
out1[k,] <- getslice (k)
}
# Regression
for (l in 1:cols)
{
y <- as.vector (out1...
2000 Feb 29
2
Reading data from file made by C fwrite
Hello!
First, I must also congratulate the R core team with their accomplishment!
I have gotten to like R a lot, and I have recommended it for inclusion in
an "Astronomy for Linux"-distribution which is in use by many professional
astronomers and observatories.
I'm currently working on importing data from files created by a C program
(that I have not written myself, I have the