Displaying 10 results from an estimated 10 matches for "numfil".
Did you mean:
namfil
2003 Oct 16
2
returning dynamic variable names from function
...ippet below, especially
the "*** WHAT DO I PUT HERE ***" part!
Thanks in advance for any help!!!
-Scott
CODE SNIPPET BELOW:
loadFiles <- function()
{
fullFileNames <- choose.files(filters = c("Fluor file (*.data,*.Dat)",
"*.dat;*.Dat"))
numFiles <- length(fullFileNames)
fileNames <- basename(fullFileNames) # removes the all the paths from the
full filenames
splitNames <- strsplit(fileNames,"_") # create a "list" of strings
separated by the "_" character
dfNames <- sapply(splitNames,...
2013 Jun 18
1
hist function in a for loop
Dear all,
I need to create a for-loop in which I can compute multiple histograms
My code is the following :
#singlefile includes huge csv file
#I want to specify the binsize
#I would like to compute in the for -loop the histograms
numfiles <- length(singlefile)
for (i in 1 :51)
{
binsize <- -20 :20/2
hist(singlefile(singlefile$GVC[singlefile$new_id==i]], break=seq(), by =
binsize)))
What do I have to do ?
How can I specify the range for i ?
I am totally lost
Thanks for support
D.U
--
View this message i...
2001 Apr 10
2
clear R-objects inside a function?
...load a dataset, do some stuff with it, then erase its objects,
get an other, repeat. My friend wrote a function which tried to clear
away all the objects. At the end, it uses rm() to remove objects. This
is the same way we do it interactively, from the R prompt:
testLoadSeveralHDF <- function(numFiles) {
for (i in 0:(numFiles-1)) {
filename <- paste("trial",i,".hdf",sep="")
print(filename)
hdf5load(filename)
rm(list = ls(pat="g*"))
}
}
However, after that program runs, the g* objects are not erased, but
typing "rm(list=ls(...
2011 Jan 24
2
normality and equal variance testing
...2-way ANOVA on a series of endpoints,
but before the ANOVA is carried out I want the code to test the assumptions of
normality and equal variance and report along with each anova result in the
output file. How can I do this?
I have pasted below the code that I currently use.
library(car)
numFiles = x # <--<--<--<--<--<--<--<--<--<--<-- supply the number of files
containing the source data here
for (iIndx in 1:numFiles) {
sinkFilePath = paste("C:/AnovaData/2WayAnovaForProteins_Set", iIndx,
".txt", sep="")
sink(sinkFil...
2013 Jun 26
6
[PROGS PATCH] Import btrfs-extent-same
...rved1; /* out - number of files that got deduped */
+ uint32_t reserved2;
+ struct btrfs_ioctl_same_extent_info info[0];
+};
+
+static void usage(const char *prog)
+{
+ printf("Usage: %s len file1 loff1 file2 loff2\n", prog);
+}
+
+int main(int argc, char **argv)
+{
+ int ret, src_fd, i, numfiles;
+ char *srcf, *destf;
+ struct btrfs_ioctl_same_args *same;
+ struct btrfs_ioctl_same_extent_info *info;
+ unsigned long long bytes = 0ULL;
+
+ if (argc < 6 || (argc % 2)) {
+ usage(argv[0]);
+ return 1;
+ }
+
+ numfiles = (argc / 2) - 2;
+
+ printf("Deduping %d total files\n", nu...
2011 Jun 28
0
renaming multiple columns + interpolating temperature series
Greetings R Users,
I?m new to R but at least managed to read in multiple files:
filenames <- list.files(path=getwd())
numfiles <- length(filenames)
for (all_temp in c(1:numfiles)) {
filenames[all_temp] <- paste(filenames[all_temp],sep="")
assign(gsub("[.]ASC$","temp",filenames[all_temp]),read.delim2(filenames[all_temp],
fileEncoding="ISO-8859-15", skip = 4))
}
Now I w...
2009 Dec 30
3
rsync email notification on success and failure + Log
Hi,
I have a bash script for rsync that should tranfer all my filer from one drive to the other.
I would like to know how I can make the script sending me an email after the script is run and be able to know if it was a success or not and also if possible to include the log file.
This is my script:
!/bin/bash
rsync -av --delete --log-file=/home/duffed/RSyncLog/$(date
2000 Dec 15
2
Ports
....c
--- oggenc/oggenc.c 2000/11/30 06:04:45 1.8
+++ oggenc/oggenc.c 2000/12/15 10:05:03
@@ -90,6 +90,7 @@
/* We randomly pick a serial number. This is then incremented for each file */
srand(time(NULL));
nextserial = rand();
+ lower_priority();
for(i = 0; i < numfiles; i++)
{
Index: oggenc/platform.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/platform.c,v
retrieving revision 1.1
diff -u -r1.1 platform.c
--- oggenc/platform.c 2000/11/30 06:33:36 1.1
+++ oggenc/platform.c 2000/12/...
2012 Sep 06
5
centos email server suddenly much slower. What to do?
...396774400 0
numothersock 56 356
7999992 7999992 0
dcachesize 10775271 154640329
2147483646 2147483646 0
numfile 772 1155
23999976 23999976 0
dummy 0 0
0 0 0
dummy 0 0...
2001 Sep 30
3
UTF-8 stuff
...#include "encode.h"
@@ -50,7 +51,6 @@
{"date",1,0,'d'},
{"tracknum",1,0,'N'},
{"serial",1,0,'s'},
- {"encoding",1,0,'e'},
{NULL,0,0,0}
};
@@ -75,6 +75,8 @@
int numfiles;
int errors=0;
+ setlocale(LC_ALL, "");
+
parse_options(argc, argv, &opt);
if(optind >= argc)
@@ -320,8 +322,6 @@
" -s, --serial Specify a serial number for the stream. If encoding\n"
"...