Displaying 4 results from an estimated 4 matches for "inname".
Did you mean:
ifname
2012 Aug 10
2
Regular Expressions + Matrices
Hi all,
My code looks like the following:
inname = read.csv("ID_error_checker.csv", as.is=TRUE)
outname = read.csv("output.csv", as.is=TRUE)
#My algorithm is the following:
#for line in inname
#if first string up to whitespace in row in inname$name = first string up
to whitespace in row + 1 in inname$name
#AND ID in inname$ID...
2010 Sep 14
1
conf checkout
...of any configuration or other file
you might be about to change or destroy.
File 1 - /usr/bin/checkout
/usr/local/bin/perl /etc/asterisk/checkout.pl $1
File 2 - /etc/asterisk/checkout.pl
#!/usr/local/bin/perl
# Author: Danny Nicholas
use File::Copy;
# assign command line parms
my $inname = $ARGV[0];
my ($sec, $min, $hr, $day, $mon, $year) = localtime(time);
$mon = $mon +1;
$mon = sprintf("%2d",$mon);
$day = sprintf("%2d",$day);
$hr = sprintf("%2d",$hr);
$min = sprintf("%2d",$min);
$mon =~ s/\s/0/;
$day =~ s/\s/0/;
$hr =~ s/\s/0/;
$m...
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 <-
2012 Sep 26
3
Reading multiple files
Hi,
I have 35 data files for reading. I would like get a program for
performing reading of 35 files at once.
All are of the type: Dados1.raw, Dados2.raw and so on.
If the files have the same number of columns, I can read with the
following commands:
rm(list=ls())
filenames = list.files(path="~/Silvano/Arq", pattern="Dados+.*raw")
names = substr(filenames, 1, 7)
for(i in