search for: nfichiers

Displaying 3 results from an estimated 3 matches for "nfichiers".

Did you mean: fichiers
2007 Dec 17
2
Must be obvious but not to me : problem with regular expression
Hi, I have a vector called nfichiers of 138 names of file whose extension is .P0 or P1 ... to P8. The script is not the same when the extension is P0 or P(1 to 8). Examples of file names : [128] "Output0.P0" [129] "Output0.P1" [130] "Output0.P2" [131] "Output01102007.P0" [1...
2007 Aug 27
4
Problem with save or/and if (I think but maybe not ...)
...st want to copy the new data in a database in MySQL (which already contains the previous data). So the first task is to compare the list of the files in the directory (object : rfichiers) to the list of the files already saved (object : tfichiers). The list containing the new files is then given by nfichiers<-setdiff(rfichiers, tfichiers). It sounds easy ... ... but it doesn't work !!! Up to now, I'm am able to connect to MySQL and, if the file "tfichiers.r" doesn't exist, I can copy data files to the MySQL database. But if "tfichiers.r" already exists and there is...
2007 Aug 27
0
how to write nicely a condition on a loop "for" (that is, not like I did)
...that I solved my main problem. And it is true. I also wrote that there was still another problem, which I managed to solve. But I think there must be another way to solve it taking advantages of the R language (which I don't master at all), that is with less "if" tests. To sum up : nfichiers is a list of files (with .P0 or .Px (x>0) extension) I have to copy to a database. nfichiers can also be "0" if there is no file to copy p0fichiers is the list of files having the .P0 extension if there are such files to copy And p0fichiers can also be "0" if there are only ....