Displaying 4 results from an estimated 4 matches for "klimet".
Did you mean:
klimek
2002 Jan 22
1
creation of objects
Hi there,
I'm a new R user and I've got a little problem:
I would like to read several files at once (which works) and create R
objects for each individual file (which doesen't work) within a loop:
this is the way I've tried to program this:
fn<-list.files(path =
"/home/klimet/patrick/LAEGEREN/NEBEL/FOGEVENT2000/", pattern=NULL,
all.files=FALSE, full.names=FALSE)
for(i in seq(1,nfn,1)){
fin<-paste("/home/klimet/patrick/LAEGEREN/NEBEL/FOGEVENT2000/",fn[i],sep="")
fi <- as.matrix(read.table(fin,skip=1))
}
The i in fin and fi should cre...
2002 Jan 22
3
assigning NA's
I've had a question a few moments ago about how to create multiple
objects from multiple files within a loop. Thanks for the quick answers,
it worked with "assign", like this:
for(i in seq(1,nfn,1)){
fin<-paste("/home/klimet/patrick/LAEGEREN/NEBEL/FOGEVENT2000/",fn[i],sep="")
assign(paste("f", i, sep = ""), as.matrix(read.table(fin,skip=1)))
}
I've tried to use the same command for assigning NA's to missing values
(=-999) in each object created with above loop, like this:...
2004 Aug 02
0
New package: RNetCDF
...ing the development process of this package and This
Rutishauser for testing the package from the user's perspective.
------------------------------------------------------------------------
Pavel Michna (PhD Student) Tel: +41 (0)31 631 85 42
Climatology and Meteorology (KLIMET) Fax: +41 (0)31 631 85 11
Institute of Geography E-Mail: michna at giub.unibe.ch
University of Bern
Hallerstrasse 12
CH-3012 Bern/Switzerland
_______________________________________________
R-packages mailing list
R-packages at stat.math.ethz.ch
https://www.stat.mat...
2004 Aug 02
0
New package: RNetCDF
...ing the development process of this package and This
Rutishauser for testing the package from the user's perspective.
------------------------------------------------------------------------
Pavel Michna (PhD Student) Tel: +41 (0)31 631 85 42
Climatology and Meteorology (KLIMET) Fax: +41 (0)31 631 85 11
Institute of Geography E-Mail: michna at giub.unibe.ch
University of Bern
Hallerstrasse 12
CH-3012 Bern/Switzerland
_______________________________________________
R-packages mailing list
R-packages at stat.math.ethz.ch
https://www.stat.mat...