search for: my_fil

Displaying 20 results from an estimated 61 matches for "my_fil".

Did you mean: my_file
2013 Nov 26
4
how to deal with xml files within Puppet ?
hi there, I have to create a new server.xml which should be build from at least 3 or 4 another xml files. How could to copy and paste with puppet methods ? On a command line under Unix I would do cat 1.xml > my_file.xml ; cat 2.xml >> my_file.xml; cat 3.xml >> my_file.xml. I have to say, I''m pretty new to puppet and simply have no clue how to tackle this task ;=( thanks a bunch in advance Cozy Paul -- You received this message because you are subscribed to the Google Groups "Pu...
2015 Aug 25
5
sed question
I am trying to use sed to change a value in a pipe. ------------------- This is the two line script CHANGE="1234" cat my_file.txt | sed 's/CANCELID/$CHANGE/' > cancel.txt ------------------- and the my_file.txt has: <v1:notificationId>CANCELID</v1:notificationId> it gets changed to $CHANGE instead of the actual value 1234 . I tried putting a \ in front of the $ also and made no differenc...
2004 Jul 13
1
Synatx Error on start with R --no-save < myfile.R
Dear all! I wrote my R-code with an editor and loaded it with source("my_file.R"). Everything works fine as expected. When I try to start my code with: R --no-save < my_file.R I do get a synatx error half way through. The version is 1.9.0 on a Linux system. To start it with R --no-save < my_file.R works on some machines but on some it doesn't. Are the...
2011 May 24
2
escape characters in shell commands
On a Windows platform I am trying to count the number of lines in a file. In a DOS window, the following works: C:\Users\jar>findstr /R /N "^" D:\my_dir\my_file | find /C ":" 5317 (it works with double \\ also) But in R, I need to make this string up with the file name I get from file.choose(): filename = file.choose() #get the number of lines in the file # first make a command string with the filename in it cmd = paste('findstr /R /N &quot...
2013 Feb 08
2
Problem reading dates from Excel
I'm using the read.xls function from gdata package to read one Excel file, like the example below: library(gdata) my_file <- '/Users/Desktop/Project.xlsx' valores <- read.xls(my_file) The problem is: one of the columns at the Excel file holds date information like 1-Jan-13, 5-Jan-13, 25-Jan-13. At Excel these information are treated as dates. When I read the file into a dataframe the corresponding data...
2013 Feb 04
1
Problem loading hdf5 file
..., so I hope I'm posting in the right way. I need to load a hdf5 file, so I installed the hdf5 libraries ad the hdf5 R package; in downloaded a small sample file from the hdf5 website and I could correctly load it. But when I try to load my file: * require(hdf5) rm(list=ls()) ls() hdf5load("my_file.h5", verbosity=3) *I get this error message: * Errore in hdf5load("my_file.h5", verbosity = 1) : unable to open HDF file: my_file.h5 > HDF5-DIAG: Error detected in HDF5 (1.8.4-patch1) thread 0: #000: /Builds/unix/hdf5-1.8.4-patch1/src/H5F.c line 1514 in H5Fopen(): unable to...
2011 Jun 25
3
How to export to pdf in landscape orientation?
Does anybody know how to get a pdf file with landscape orientation?. pdf(file= 'my_file.pdf' ,onefile=T,paper='A4') plot(sin, -pi, 2*pi) dev.off() Thank's in advance Juan A. Hernandez Spain [[alternative HTML version deleted]]
2006 May 24
3
rsync shows poor throughput vs. scp
...ver copying from the sender, and the transfer proceeds at around 5MB/s! Why is scp /so much faster/ than rsync here? Is there anything I can do to improve the speed of these transfers? Fwiw, this is the rsync command I'm issuing: rsync -azL --whole-file --stats --progress --delete sender::my_files /test_destination and rsyncd.conf on the sender looks like: use chroot = no max connections = 10 pid file = /var/run/rsyncd.pid motd file = /etc/rsync/rsyncd.motd timeout = 300 transfer logging = yes log file = /var/log/rsyncd.log log format = %t %h (%a) %m %l %b %o %f [my_files] uid = root p...
2004 Sep 10
2
Proposed change to code that handles output_prefix
...o strcat(outfilename, flac__file_get_basename(infilename)); I did this change because I was calling flac with an input filename with a path on the front of it, and I wanted the output file to go to a different location, such as this: flac --best --output-prefix /usr/share/flac /home/akehurst/tmp/my_file.wav before the change, it was just concatenating the input filename to the output prefix. -Justin Akehurst akehurst-flac@poindextrose.org
2013 Feb 07
4
Sourcing my file does not print command outputs
I looked at the documentation of source() and summary(), and I could not find the reason why calling something like: > summary(resamps) from the command line, works (it prints the summary) whereas calling summary(resampls) from a file that I source with source("my_file.r") does not print anything. How can I get summary(resamps) to print when I source a file with this command? Thanks, James [[alternative HTML version deleted]]
2005 Oct 20
1
Problem with Excel Files and Acls
...these files... I've tried to find the cause to this problem, and it all seem to be linked to the ACL. All my users are members of 'Utilisa. du domaine', and it is their main group (as displayed by winbind) If I have this ACL, opening fails miserably (except for user marc) # file: my_file.xls # owner: GROUPESIGMA+marc # group: GROUPESIGMA+Utilisa.\040du\040domaine user::rwx group::r-x group:GROUPESIGMA+Admins\040du\040domaine:rw group:GROUPESIGMA+SIG_DAF_ACHATS:rwx group:GROUPESIGMA+DSI:rwx group:ORION+Utilisa.\040du\040domaine:r-x mask::rwx other::r-x If I change the mask...
2008 May 29
2
Making bootstraping faster
Hi. I''m learning AcriveRecord (I''m not building web apps for now, just playing with the database layer). Problem is, when I run the following code: require ''rubygems'' require ''activerecord'' puts ''hi'' It takes about 6 seconds. I''m using a slow computer. Now, it''s no fun playing when it takes so long to
2007 Nov 13
7
Exported resources & exec ?
Hi, I''m sorry if that''s a FAQ, I also know exported resources are a still experimental. So my problem might well be a design limitation of how exported resources are working. My issue: I''m trying to export a file resource that is created by an exec block. The file is exported fine and collected fine but it is always empty on the other host. The puppet snippet: class
2019 Dec 17
0
chainloading syslinux problem
...> file is not in proper format, wrong magic number or simply crash). How > to proceed? > I'm not sure how to chainload the PBR, but assuming that syslinux is in the MBR, you might be able to boot it with QEMU. in BIOS MODE: $ qemu-system-x86_64 -machine accel=kvm -m 512 -drive file=$MY_FILE,format=raw or in UEFI MODE: $ cp /usr/share/edk2/ovmf/OVMF_VARS.fd . $ qemu-system-x86_64 -machine accel=kvm -m 512 -drive if=pflash,format=raw,unit=0,file=/usr/share/edk2/ovmf/OVMF_CODE.fd,readonly=on -drive if=pflash,format=raw,unit=1,file=OVMF_VARS.fd -drive file=$MY_FILE,format=raw If syslin...
2012 Nov 06
1
how Can make function for selecting the products
...ite") con<-dbConnect(drv, "sqlite.db") lt<-dbListTables(con) myf<-data.frame(NULL) for (i in 1:length(lt)) { myfile<-dbReadTable(con,lt[i]) myfile1<-myfile[-c(14:44)] myfile1$MODEL<-gsub(" ", "", myfile1$MODEL) library(RSQLite) library(sqldf) my_file<-sqldf("SELECT * FROM myfile1 where MODEL in ('a','b','c' ,'d','e','f')") my.file.spes<-conv(my_file) myf<-rbind(myf,my.file.spes) } wd<-myf[order(myf$Product, myf$Time),] wd1<-wd[!duplicated(wd),] wd2<-as.data.fra...
2019 Dec 17
2
chainloading syslinux problem
Hi! I have bootable (USB flash) disk, that _appears_ to be using syslinux. (the word syslinux is in the PBR, in the hexdump). How can I chainload it? The payload seems to be a file that I tried load with COMBOOT, COM32 etc, but nothing works (they report that the file is not in proper format, wrong magic number or simply crash). How to proceed? is there a 100% way to confirm that it is really
2017 Jul 15
2
readLines without skipNul=TRUE causes crash
...archive::archive_extract( tf , dir = normalizePath( file_folder ) ) unzipped_files <- list.files( file_folder , recursive = TRUE , full.names = TRUE ) infile <- grep( "DADOS(.*)\\.txt$" , unzipped_files , value = TRUE ) # works R.utils::countLines( infile ) # works with warning my_file <- readLines( infile , skipNul = TRUE ) # crash my_file <- readLines( infile ) # run just before crash sessionInfo() # R version 3.4.1 (2017-06-30) # Platform: x86_64-w64-mingw32/x64 (64-bit) # Running under: Windows 10 x64 (build 15063) # Matrix products: default # locale: # [1] LC_COL...
2012 Oct 22
2
[LLVMdev] Reading IR from a std::ostream
Previously I had asked how to write then read back IR to/from a file. The write code looked like: LLVMContext ctx; SMDiagnostic diag; Module *m = ParseIRFile( "my_file", diag, ctx ); However, the code I'm trying to retrofit LLVM IR into passes me just a std::ostream&. How can I read IR from a std::ostream? I figured out how to use raw_os_ostream to adapt a std::ostream to a raw_ostream for writing a module, but there's no obvious way to adapt...
2015 Aug 25
0
sed question
On 08/25/2015 10:50 AM, Jerry Geis wrote: > cat my_file.txt | sed 's/CANCELID/$CHANGE/' > cancel.txt sed doesn't perform environment variable expansion. That is to say that when you instruct sed to substitute "$CHANGE" for "CANCELID", "$CHANGE" is a literal string that will be substituted. bash, on the...
2008 Jul 20
2
problem with read.table
Hi, Although I set check.names to FALSE in read.table, the duplicate names get modified. What should be done in this case? the text file to be read by read.table AM2      AM2     AM2     FAL 2               3             4         5 1               -1           -3        -2 t = read.table ("my_file", check.names = FALSE, header = T) > t AM2      AM2.1     AM2.2     FAL 2               3             4         5 1               -1           -3        -2 instead of AM2      AM2     AM2    FAL 2               3             4         5 1               -1           -3        -2...