Displaying 20 results from an estimated 400 matches similar to: "Append to files in loop"
2012 Mar 24
1
Append to file in loop
My files are on disk and they are regular text files named
file_1 file_2 file_3 file_4 and file_5 with extension .saam
The separator is sep='' (ie, white space)
I want to append 'XFile' at the end of those files. XFile is also on disk.
file.append("file_1.saam", "XFile.saam"); file.append("file_2.saam",
"XFile.saam")...
works but it
2012 Mar 28
2
Data extraction
Dear ReXperts,
I have the below text file output. I need to extract the T, QC, QO, QO-QC
and WT columns for
the data between T = 10 and T=150.
Any ideas?
Thanks in advance.
========================================================================================
1 D C ---CAT-- T THETA QC QO
QO-QC QC/QO WT FSD
8 1 0 1.0000E+01
2005 Jun 06
2
UNC mapping for the homes section
Hi!
Is there any way for the "HOMES" share to be mapped to
\\server\whatever\%USERNAME% instead of \\server\%USERNAME% .
I think that DFS still don't work fine for linux CIFS mounting. So, if
I could do this kind of mapping, this would let me give users now the
final UNCs and introduce DFS in a future time (when DFS mounting will be
fully supported) without having to disturb
2003 Mar 26
1
Samba versus WindowsXP
Hi all,
We have a problem between samba 2.2.2 (Linux RedHat) and WindowsXP with all
patchs and updates.
When logon my workstation in Samba 2.2.2 return message:
"Your password expire today. you need change."
Why?
Best Regards
Charles Galindo
VISUELLES Inform?tica Ltda
charles@visuelles.com.br
<http://www.visuelles.com.br/> www.visuelles.com.br
2004 Nov 30
1
Problem with static WINS entries
Hi!
I need to add static entries to my Samba 3.0.9 WINS server but I can't.
Let's explain:
The "Samba Collection Howto" chapter "Network Browsing" , section
"Static WINS Entries" tells that I can edit my "wins.dat" file
(/opt/samba/var/locks/wins.dat) to set the TTL of some entries to 0 . No
matter if I edit the TTL of some existing entries
2004 May 11
1
ldapsam - Failed to open group mapping database
Hi!
I've been trying to install Samba 3.0.2a + ldapSam (Stand-Alone, not
PDC) on a RedHat Enterprise Edition 3.0 as a fileserver. It works fine
but I still get some errors about groups and I can't find the answers in
the mailing list log:
Let's explain the error: When I connect with a W2k client it works
fine, but then if I try to add extra permissions to a file it complains
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
2007 Oct 09
5
Playing with ReadFileScatter()
Hi all,
Looking at the IO.readlines source in io.c, it looks to me like they
grab 8k chunks, split on the input record separator, and buffer accordingly.
Since it looks like ReadFileScatter() does some of that work
automatically (in page file sized chunks), I thought I''d give it a try.
Here''s what I''ve got, but it doesn''t work. I have an incorrect parameter
2010 Dec 23
5
Writing a single output file
Dear R helpers!
Let me first wish all of you "Merry Christmas and Very Happy New year 2011"
"Christmas day is a day of Joy and Charity,
May God make you rich in both" - Phillips Brooks
## ----------------------------------------------------------------------------------------------------------------------------
I have a process which generates number of outputs. The R code
2002 Mar 20
2
transferring individual files question, pull vs. push
Can't seem to find the answer anywhere...
I'm currently using an rsync script on the source box to transfer some
individual files to the destination box...all works well. The script:
rsync -e ssh \
/var/qmail/control/file1 \
/var/qmail/control/file2 \
/var/qmail/control/file3 \
/var/qmail/control/file4 \
destination-box.xxxxx.com:/var/qmail/control
Now, instead of "pushing"
2005 Feb 08
6
help with xargs and mv
I am trying to move a group of sendmail queue files into a special
area and am developing s script to assist. The manual steps are:
# Identify which messages to move
mailq -qR<domain> > file1
# Select only lines with message ID strings
grep '^[[:alpha:]][[:alnum:]]\{13\}' file1 > file2
# extract only the messages ID
cut -b -14 file2 > file3
# prepend '*' to
2010 Apr 09
5
Ranking correlation with R
Hey Everyone,
Im fresh new in R, and Im supposed to write a code to give me a correlation
between two rankings. So I have two ranking lists, which contain file names,
e.g.:
Ranking list 1:
file1.java
file3.java
file2.java
Ranking list 2:
fiile2.java
file4.java
file1.java
I need to see how much are these two ranking lists are alike, get a
correlation between them. I dont even know where to
2005 Jun 05
2
Problem in the path for executables...
Hi,
I have a windows executable which I am trying to run in Linux using wine.
When I execute the command :
wine {ABSOLUTE_PATH}/file1.exe,
file1.exe runs many other executables internally, like file2.exe, file3.exe
and file4.exe.
Now when file1.exe is trying to run the other executables, it is not able to
get the path of the executables. I have the "PATH" enironment variable set
2008 May 06
3
Files over 4GB not listing properly. Cannot get CIFSworking.
Put this in the wrong thread, sorry!
UPDATE: I've realized that this seems to be an issue with the compiler flags used to build samba.
I've realized that i need to define _LARGEFILE_SOURCE, _LARGEFILE64_SOURCE, and _FILE_OFFSET_BITS=64.
I've done this, but still have no luck reading files larger than 4GB. Anyone have suggestions?
Thanks,
Matt
> Hi guys,
>
> I'm
2004 Jul 08
4
read.frame
Hello group,
I am learning R and I am new to many concepts.I face
the following errors when I am trying to execute the
following. I have 4 text files with protein accession
numbers. I wanted to represent them in a venn diagram
and for that I using intersect and setdiff functions.
My data looks like this:
file1.txt (c):
NP_000005
NP_000020
NP_000030
NP_000053
file2.txt(e):
NP_000005
NP_000020
2013 Jul 26
4
filesystem accessmode='passthrough'
Hello.
I am trying to 'passthrough' the part of host filesystem to kvm guest.
libvirt xml:
<filesystem type='mount' accessmode='passthrough'>
<source dir='/var/guests/mail-var'/>
<target dir='mail-var'/>
</filesystem>
kvm is started from root.
After mounting in guest
mount -t 9p mail-var /mnt -o
2010 Jul 12
2
cbind in for loops
I have 30 files in the current directories, i would like to perform the
cbind(fil1,file2,file3,file4....file30)
how could i do this in a for loop:
such as:
file2 <- list.files(pattern=".out3$")
for (j in file2) {
cbind(j).......how to implement cbind here
}
Thanks.
--
View this message in context:
2003 May 09
3
rsync of symbolic links bug
I am seeing a problem with the way the rsync of symbolic links
is done. Here is a simple example to duplicate this issue:
prompt> # Create a test case to show rsync of symbolic link problem
prompt> mkdir foo bar
prompt> touch foo/file1 bar/file2
prompt> ln -s bar/file2 file
prompt> rsync -av . ../duplicate
building file list ... done
created directory ../duplicate
./
bar/
2011 Jan 13
1
What does the shell() command do?
Dear R community,
I am trying to understand what the shell() function does.
An example is:
xfile <- shell(paste("dir/b ",
paste(directory.folder,"file.name",sep="")),intern=T)
I'm afraid I wasn't able to completely understand the explanation under the
Help files.
Thanks for your help!
Leanne.
--
View this message in context:
2007 Oct 29
12
Boolean expressions
I''m trying to write a wrapper definition for the file type to make it a
bit smarter. I have a basic version working fairly well:
define xfile($owner = root, $group = root, $mode = 644, $source,
$backup = main, $recurse = false, $ensure = file) {
file { $name:
mode => $mode,
owner => $owner,
group => $group,
backup => $backup,
recurse