search for: file3

Displaying 20 results from an estimated 167 matches for "file3".

Did you mean: file
2013 Jul 01
1
[PATCH v2] xfstests: btrfs/316: cross-subvolume sparse copy
...>> $seqres.full + cd / + rm -f $tmp.* +} + +# get standard environment, filters and checks +. ./common/rc +. ./common/filter + +# real QA test starts here +_supported_fs btrfs +_supported_os Linux + +_require_scratch +_require_cp_reflink + +_checksum_files() { + for F in file1 file2 file3 + do + for D in $TESTDIR1 $SCRATCH_MNT $SUBVOL2 + do + md5sum $D/$F | _filter_test_dir | _filter_scratch + done + done +} + +TESTDIR1=$TEST_DIR/test-$seq-1 +TESTDIR2=$TEST_DIR/test-$seq-2 +SUBVOL1=$TEST_DIR/subvol-$seq-1 +SUBVOL2=$TEST_DIR/subvol-$seq-2 + +_scr...
2010 Jan 29
2
[LLVMdev] Redefining function
...problem is: how can I redefine a function that's been called already by some other function? Suppose I have 3 files, all compiled to bytecode through llvm-gcc (I think it could be clang instead). File1.c: void do_print() { print(); } File2.c: void print() { printf("File2.c\n"); } File3.c: void print() { printf("File3.c\n"); } Then, I have the main file compiled to executable like this: int main() { // initialize and get context (not shown) Module *file1(LoadFile("file1.bc",Context)); Module *file2(LoadFile("file2.bc",Context)); Module *file3...
2008 Jan 22
1
error bar position setting
Hi, I am using R on Windows XP. I am using 'arrows' funtion to plot the variance as error bar, BUT error bar goes only one side of the data point, I need to plot the error bar on both side of the data point (plot is attached), I am using following commands to plot, plot(file3$lat,file3$STotwoKm,pch=21,cex=2.5,ylim=c(-0.2,2.5),xlim=c(-50,50),xlab=NA,ylab=NA, col=1, xaxs="i",yaxs="i") arrows(file3$lat, file3$var1, file3$lat,file3$STotwoKm, col=1, code=3, angle=90, length=0.1) Here: lat=latitte (x-axis) STotwoKm = Data values (y-axis)...
2007 Dec 01
1
rsync --delete problems
...last 2 days I have found out that rsync is not removing old files from destination - directories renamed or removed from source. In this example I want to sync files on my Debian Linux server to a NAS drive. NAS drive is mounted using smbmount. Using "-avhzn" dry-run it indicate f3 and file3 to be removed. ==> Method SMBFS mount ==> smbmount <diskstation> /mnt/NAS.20071201.204045 -o username=root,password=xxx ==> rsync -avhzn --delete --progress /mnt/6/tst /mnt/NAS.20071201.204045/Archive building file list ... 4 files to consider tst/f3/file3*deleting tst/f3/*deleting...
2008 Apr 23
3
[LLVMdev] Compile units in debugging intrinsics / globals
...k at the (llvm) compile unit records but this only works when all are defined in the same source file. If data or a function is defined in an included file then they appear to be in a different compile unit. Suppose I have the following source: file1: #include "file2" #include "file3" int fn1(void) ... file2: int a; file3: int fn2(void) ... then fn1, along with all the base types etc appear to be in compile unit "file1", the variable a appears to be in compile unit "file2" (and there are no basic types in file2, so int is not defined), and fn...
2015 Sep 03
1
Doubts on incremental backup and command repetition
Hi, I am trying to use rsync for incremental backup and I am facing some issues. I would like to ask your help to understand what is going on and have the proper command line. 1) my goal is I the following folders: ./dest: file3.txt ./orig: file1.txt   file10.txt  file2.txt   file20.txt And I would like to have as incremental backup ./dest: backup      file1.txt     file2.txt  file3.txt ./dest/backup:file1.txt   file10.txt  file2.txt   file20.txt ./orig: file1.txt   file10.txt  file2.txt   file20.txt However, I got th...
2008 Apr 24
0
[LLVMdev] Compile units in debugging intrinsics / globals
Hi, > Suppose I have the following source: > > file1: > #include "file2" > #include "file3" > int fn1(void) ... > > file2: > int a; > > file3: > int fn2(void) ... > > then fn1, along with all the base types etc appear to be in compile unit > "file1", the variable a appears to be in compile unit "file2" (and there are >...
2010 Jan 30
0
[LLVMdev] Redefining function
...e other function? why do you want to do this? > Suppose I have 3 files, all compiled to bytecode through llvm-gcc (I > think it could be clang instead). > > File1.c: > void do_print() { print(); } > > File2.c: > void print() { printf("File2.c\n"); } > > File3.c: > void print() { printf("File3.c\n"); } The solution in C is to give the version in File2 a weak linkage type, for example using gcc's "weak" attribute. You then link all three files together, and the weak print in File2 will be magically replaced with the non-weak p...
2008 Jun 09
2
readLines fails to read entire file
Colleagues I have just encountered an interesting problem with readLines in R 2.7.0 in Windows Vista. I am trying to read a line that is created in the following manner: 1. Intel Fortran (ifort) 10.1 creates two text files. 2. The OS concatenates these files with: copy FILE1 +FILE2 FILE3 From R, I execute: readLines("FILE3") Only the first portion of the file (the original FILE1) is read - the remainder is ignored and there is no error message. When I open FILE3 with Notepad, it shows all the text; however, between the material originating from FILE1 and FILE2, ther...
2005 Jun 13
0
[Bug 2793] New: xattr support fails with multiples attributes
...5 100% 0.00kB/s 0:00:00 (1, 0.0% of 17608) logs_test/ sent 559013 bytes received 78 bytes 58851.68 bytes/sec total size is 5611168219 speedup is 10036.23 ...but the attribute value and name is not ever kept in the other side : [root@Chakra test_pierre]# getfattr -n user.test4 test.file3 # file: test.file3 user.test4="testval4" [root@Chakra data]# rsync -AavX -P -W --numeric-ids --delete --force test_pierre/ gargamel:/data/test_pierre/ building file list ... 17608 files to consider test.file3 5 100% 0.00kB/s 0:00:00 (1, 0.0% of 17608) logs_test/ sent...
2013 Jul 02
6
[PATCH v3] xfstests: btrfs/316: cross-subvolume sparse copy
...>> $seqres.full + cd / + rm -f $tmp.* +} + +# get standard environment, filters and checks +. ./common/rc +. ./common/filter + +# real QA test starts here +_supported_fs btrfs +_supported_os Linux + +_require_scratch +_require_cp_reflink + +_checksum_files() { + for F in file1 file2 file3 + do + for D in $TESTDIR1 $SCRATCH_MNT $SUBVOL2 + do + md5sum $D/$F | _filter_test_dir | _filter_scratch + done + done +} + +TESTDIR1=$TEST_DIR/test-$seq-1 +TESTDIR2=$TEST_DIR/test-$seq-2 +SUBVOL1=$TEST_DIR/subvol-$seq-1 +SUBVOL2=$TEST_DIR/subvol-$seq-2 + +_scr...
2009 Nov 13
1
Utility function to rotate log files?
I am wondering if there is a CRAN package that includes a utility function that will "rotate" file names, in the same sense that operating systems sometimes rotate log files. Or maybe there's something in base R. That is, we have a set of file names, say file1, file2, file3, and when the function is called, file3 is deleted, file2 is renamed file3, file1 is renamed file2, and the name of file1 is returned to the user's script, which then writes to file1. I've done some searching (RSiteSearch) but haven't found anything. Thanks -Don -- ---------------...
2011 Jun 19
1
save and load in R
I have a list of txt files that I want to convert into .rdata R data object. filenames 1. "./file1.txt" 2. "./file2.txt" 3. "./file3.txt" 4. "./file4.txt" 5. "./file5.txt" 6. "./file6.txt" 7. "./file7.txt" 8. "./file8.txt" 9. "./file9.txt" 10. "./file10.txt" I saved these files as for ( i in 1:10) { dataFile = read.table(filenames[i], header=TRUE, sep=&...
2013 Jan 08
2
rsync in conjunction with the --link-dest option does not output deleted files
...e " --> 1st backup of this dir with rsync (without --link-dest option)" echo -e " --> the output of rsync shows the 2 created files\n" mkdir source touch source/file1 touch source/file2 rsync -av --delete ./source/. ./backup echo -e "\n --> creating a new file (file3) in source dir" touch source/file3 echo -e " --> 2nd backup of this dir with rsync (without --link-dest option)" echo -e " --> the output of rsync shows the new created file (file3)\n" rsync -av --delete ./source/. ./backup echo -e "\n --> deleting file1...
2012 Aug 15
2
to remove columns and rows
...0 1 file2 1 1 1 1 1 1 2 2 2 1 1 1 0 0 2 1 1 0 After I need to know which ones names of columns are remove = 1, 2,3,4,5 ,6 and 10. Similarly this is I need to check for rows in file2. To remove rows and identify all that elements equal. The final dataframe is: file3 0 0 2 1 1 0 row names removed = 1,2,3 and Thanks and Regards [[alternative HTML version deleted]]
2016 Jun 05
4
Deletion of destination files
...ding all the content of /home/rodolfo from machine1 to /home/rodolfo in machine2: $ rsync --dry-run -vrtul --delete --exclude='/.*' . 192.168.0.2:/home/rodolfo , and --delete works perfectly. Instead, in this other example: $ rsync --dry-run -vrt --delete --modify-window=1 file1 file2 file3 ... /mnt/pendrive/rodolfo I'm copying various files and directories from different places of my home directory to a directory named `rodolfo' which is on the pendrive. I want that all the files that are not listed among `file1 file2 file3 ...' in the above command were deleted in the...
2007 Jun 29
2
\include-mechanism in Sweave?
Dear HelpeRs, I'm very fond of Sweave and I use it as often as possible. It'a a pity I can't use it for larger projects or can I? For instance suppose I have three files file1.rnw, file2.rnw and file3.rnw with Sweave code. Working on file2.rnw I whould like to exclude file1.rnw and file3.rnw temporarily and joining all of them later. This amounts to a mechanism similar to using LaTeX's \include command. *Is* there a way to achieve that? Thank you in advance. D. Trenkler...
2012 Jan 17
2
How to loop on file names
Dear all, I need to do the same procedure on several files. But I don't know how to refer to the file name. Here is an example of what I am trying to do. List of files: file1(A,B,C, D1...Dn), file2(A,B,C,E1,...,En), file3(A,B,C,F1,...,Fn) Procedure I want to apply on each file: dft <- melt(df,id=c('A','B','C')) dft$X <- substr(dft$variable,1,3) dft$Y <- substr(dft$variable,4,8) dft1 <- cast(dft, A+B+C+X ~ Y,value="response") As you see all the files contains the same...
2007 Feb 28
1
incremental plots with pdf and dev.copy
...print devices plot(1:10) # first plot dev.copy(pdf,file="file2.pdf") # create the second plot dev.control(displaylist='enable') dev.off(dev.prev()) # close the first plot points(2,3) # add to the second plot dev.copy(pdf,file="file3.pdf") # create the third plot dev.off(dev.prev()) # close the second plot points(3,2) # add to the third plot dev.off() The problem is this works only for the first two plots. For the third I get an error at "dev.copy(pdf,file="file3.pdf")" E...
2016 Jun 07
2
for loop example
...ut > > [root at centos67 loop]# for line1 in $(cat file1 ); do for line2 in $(cat > file2 ); do echo "$line1" "$line2";done;done; > firstname1 lastname1 > firstname1 lastname2 > firstname2 lastname1 > firstname2 lastname2 > > > And also, I created a file3 like this > > [root at centos67 loop]# cat file3 > firstname1 lastname1 > firstname2 lastname2 > > How can I get the same OUTPUT ? > > > *firstname1 lastname1firstname2 lastname2* > > > if I try below command, i get the below output. > > [root at centos67 l...