search for: fileline

Displaying 6 results from an estimated 6 matches for "fileline".

Did you mean: filelink
2009 Dec 30
1
seg-fault... but on what
...uot;embryoni3") fileList <- list.files(pattern = "[[:upper:]]{2,}", all.files = FALSE, full.names = FALSE, recursive = FALSE, ignore.case = FALSE) for (x in 1:length(fileList)){ string <- strsplit(fileList[x], "_", fixed = TRUE) string <- string[[1]][1] fileLines <- read.csv(fileList[x],header = FALSE,row.names = NULL ) for ( j in 1:length(fileLines[,1])){ sql <- paste("insert into endOfDayData (date,market,symbol,open,high,low,close,volume) values ('", fileLines[j,2],"','",string,"','",a...
2009 Dec 28
4
Accessing members
Consider the following.... > fileLines V1 V2 V3 V4 V5 V6 V7 V8 1 AB 20091224 156.0 156.0 154.00 154.00 55 1198 2 AB.C 20091224 156.0 156.0 156.00 156.00 0 0 3 ABF10 20091224 156.0 156.0 156.00 156.00 55 444 4 ABH10 20091224 156.0 156.0 156.00 156.00 0 749 5 ABH11 2009...
2009 Dec 28
1
accessing members of a data.frame
I have the following code fileList <-list.files(path = ".", pattern = "[^a-z].txt$", all.files = FALSE, full.names = FALSE, recursive = FALSE, ignore.case = FALSE) for (x in 1:length(fileList)){ fileLines <- data.frame(read.table(fileList[x])) print(string) } the lines of the file all have the following format... AB,20091224,156,156,154,154,55,1198 Can I access the comma separated values directly via indexes on fileLines? e.g. I want to be able to do something like this... >date <-...
2007 Dec 20
1
auto named savings (pngs & data-frames)
...r print(ueber) list(ueber) x <- ncol(ueber) print(x) y <- nrow(ueber) print(y) #{# for (i in 1:x) # {fileseq <- (unlist(strsplit((a[i]), " "))[-1]) # print(zeilen <- list(fileseq)) # zeilen[i]<- zeilen # print(fileseq)} # for (j in 1:17) # {fileline <- as.logical(unlist((zeilen), " ")) # fileline[j] <- list(fileline) # print(fileline[j])} #} # # # #list(ueber) #fix(ueber) #dim(ueber) #names(ueber) #ausgabe der userdaten in R #ueber$Sephal.Length #ueber$Sepal.Width #ausgabe der userdaten in einem ?bersichtpopup #anza...
1996 Dec 16
0
Re: vixie-crontab for redhat linux (Fix)
...tricting the length a posteriori closes this particular problem: diff -ru vixie-cron-3.0.1~/env.c vixie-cron-3.0.1/env.c --- vixie-cron-3.0.1~/env.c Mon Dec 16 22:42:55 1996 +++ vixie-cron-3.0.1/env.c Mon Dec 16 22:55:52 1996 @@ -115,8 +115,9 @@ { long filepos; int fileline; - char name[MAX_TEMPSTR], val[MAX_ENVSTR]; + char name[MAX_ENVSTR], val[MAX_ENVSTR]; int fields; + int Error = 0; filepos = ftell(f); fileline = LineNumber; @@ -128,8 +129,14 @@ name[0] = val[0] = ''\0''; fie...
2013 Sep 12
10
[PATCH] xen/build: Remove hacked up version of figlet
...in the font. - Called near beginning of main(). - -****************************************************************************/ - -void readfont() -{ -#define MAXFIRSTLINELEN 1000 - int i,row,numsread; - inchr theord; - int maxlen,cmtlines,ffright2left; - int smush,smush2; - char *fontpath,*fileline,magicnum[5]; - ZFILE *fontfile; - int namelen; - - namelen = MYSTRLEN(fontdirname); - fontpath = (char*)myalloc(sizeof(char) - *(namelen+MYSTRLEN(fontname)+FSUFFIXLEN+2)); - fontfile = NULL; - if (!hasdirsep(fontname)) { - strcpy(fontpath,fontdirname); - fontpath[namelen] = DIRSEP; -...