search for: filelines

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

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,"','",as...
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 20091...
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 <- f...
2007 Dec 20
1
auto named savings (pngs & data-frames)
Hello, i only got a small problem. i try to create automatic new dataframes, or png?s. the main problem i got is: how can i create automatic a new name for a file (read out by simply "for") - i tried to use "(paste...) but theres an errormessage, about a wrong declination. R told it is as.character, but need as.Real. Should i use another method than "paste"? i tried as
1996 Dec 16
0
Re: vixie-crontab for redhat linux (Fix)
[Mod: Sent to linux-security instead of linux alert -- alex] Dave G. <daveg@ESCAPE.COM> wrote: > /* vixie crontab buffer overflow for RedHat Linux > * > * I dont think too many people know that redhat uses vixie crontab. > * I didn''t find this, just exploited it. The vulnerability involves an unguarded sscanf call in env.c. Enlarging the buffer to the largest
2013 Sep 12
10
[PATCH] xen/build: Remove hacked up version of figlet
This hacked up version of figlet contributes a supprisingly large proportion of the Coverity issues found under xen/ (and therefore attributed against Xen) Figlet can be found in all distros, so make use of it. We keep xen.flf (being the Xen figlet font) and replace the hacked up octal transform with a short python script. The Xen Makefile has been tweaked in such a way that it still prints the