search for: deskdir

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

2009 Sep 21
3
Create directory and copy files in R
...fn [1] "C:/Documents and Settings/lma/Desktop/FamilyAEntrepreneurs/Entrepreneurs/Juha/book_log-20041210T095019.txt" > dpath [1] "C:/Documents and Settings/lma/My Documents/Juha/book" I want to make a function "cyfun" to copy all files in "dir" to "deskdir" but I always got the following problem: Error in file.exists(to) : invalid 'file' argument. Whats the problem?? cyfun<-function(fn,dpath){ dir<-dirname(fn) fn<-basename(fn) deskdir<-dir.create(dpath) file.copy(fn, deskfile) } Thanks! Tammy _______________________...
2011 May 24
2
plotting single variables common to multiple data frames
Hello all, I have files (see attached) which are created daily. I want to load about a weeks worth of them (7 daily files) and plot a weeks worth of one variable together. So one variable name is delta_D_H. I would like to plot this variable from all 7 days on one plot. I'm having trouble figure out how to do this. I've loaded them all up using this time=Sys.time() t1<-