Displaying 2 results from an estimated 2 matches for "asl11".
Did you mean:
dsl11
2011 Nov 12
2
dev.new() within a loop
...ll windows come out blank whereas if I execute each file outside of a loop then I can see the plots properly. What's wrong here?
Thanks in advance,
Best regards,
Giovanni
# given a directory name, it will iterate all files that match the given pattern
#basedir <- "/Users/bravegag/code/asl11/data/2k-r1-test-20111111_data/"
basedir <- "/Users/bravegag/code/asl11/data/nclients_2_128-20111110_data/"
pattern <- paste("logs.*cl\\-.*mw\\-.*db\\-.*\\-client\\.dat",sep="")
all_files <- dir(path=basedir, pattern=pattern)
throughput <- NULL
respons...
2011 Oct 23
0
code review: is it too much to ask?
...# use doBy library
# =========================================================================================
# ETL Step
# =========================================================================================
data_file <- file("/Users/bravegag/code/asl11/trunk/report/experiment.dat")
df <- read.table(data_file) # reads the data as data frame
class(df) # show the class to be 'list'
names(df)...