search for: outjunk

Displaying 7 results from an estimated 7 matches for "outjunk".

2009 Jul 17
1
Problem With Repeated Use Of Load/Save/Close Commands
...h nothing added after booting up. The problem also occurs on my Vista machine as well. The program below will induce the problem. ------------------------------------------------------------ junk = 1 PathA = tempdir() conX = paste(PathA,"junk",sep="\\") outJunk = file(conX, open="wb") save(junk, file=outJunk) close(outJunk) for(i in 1:4000){ outMIA = file(conX, open="rb") load(file=outMIA) close(outMIA) closeAllConnections() unlink(conX) rm(outMIA) rm(junk) cat(" i...
2009 Aug 06
2
Repeatable, But Time Varying R GUI Crash
...******************* # This script induces the R GUI to crash. problem2 = function(){ junk = mat.or.vec(8,40) junk[] = 1 mjunk = mat.or.vec(8,40) mjunk[] = -1 PathA = tempdir() conX = paste(PathA,"junkx",sep="\\") conY = paste(PathA,"junky",sep="\\") outJunk = file(conX, open="wb") save(junk, file=outJunk) close(outJunk) outJunkY = file(conY, open="wb") save(mjunk, file=outJunkY) close(outJunkY) sign = 1 for(i in 1:4000){ for(ii in 1:400){ sign = -sign if(sign<0){ load(file=conX) }else{ load(file=conY) } sum = junk...
2009 Jul 18
1
[R] Problem With Repeated Use Of Load/Save/Close Commands (PR#13841)
...he problem also occurs on my Vista machine as well. > > The program below will induce the problem. > ------------------------------------------------------------ > junk = 1 > PathA = tempdir() > conX = paste(PathA,"junk",sep="\\") > outJunk = file(conX, open="wb") > save(junk, file=outJunk) > close(outJunk) > for(i in 1:4000){ > outMIA = file(conX, open="rb") > load(file=outMIA) > close(outMIA) > closeAllConnections() > unlink(conX) > rm...
2009 Jul 16
1
Too many open files
...---------- Create a junk file and "save" it for use further into the program --- junk <- 1 MyPathnameA <- "C:\\Documents and Settings\\All Users\\Documents\\SIREPO\\DBFS-0150" connectionX <- paste(MyPathnameA,"junk",sep="\\") outJunk <- file(connectionX, open="wb") save(junk, file=outJunk) close(outJunk) # The next two lines are a repeat from above. They will be useful if you want to run # this script again after "junk" has been loaded. MyPathnameA <- "C:\\Documents and Settin...
2009 Aug 06
1
[R] Repeatable, But Time Varying R GUI Crash (PR#13880)
...ion(){ > > junk = mat.or.vec(8,40) > > junk[] = 1 > > mjunk = mat.or.vec(8,40) > > mjunk[] = -1 > > PathA = tempdir() > > conX = paste(PathA,"junkx",sep="\\") > > conY = paste(PathA,"junky",sep="\\") > > outJunk = file(conX, open="wb") > > save(junk, file=outJunk) > > close(outJunk) > > outJunkY = file(conY, open="wb") > > save(mjunk, file=outJunkY) > > close(outJunkY) > > sign = 1 > > for(i in 1:4000){ > > for(ii in 1:400){ >...
2009 Jul 10
0
Too many files open (PR#13818)
...------- Create a junk file and "save" it for use further into the program --- junk <- 1 MyPathnameA <- "C:\\Documents and Settings\\All Users\\Documents\\SIREPO\\DBFS-0150" connectionX <- paste(MyPathnameA,"junk",sep="\\") outJunk <- file(connectionX, open="wb") save(junk, file=outJunk) close(outJunk) # The next two lines are a repeat from above. They will be useful if you want to run # this script again after "junk" has been loaded. MyPathnameA <- &quo...
2009 Jul 18
0
[R] Problem With Repeated Use Of Load/Save/Close Commands (PR#13842)
...y Vista machine as well. >> >> The program below will induce the problem. >> ------------------------------------------------------------ >> junk = 1 >> PathA = tempdir() >> conX = paste(PathA,"junk",sep="\\") >> outJunk = file(conX, open="wb") >> save(junk, file=outJunk) >> close(outJunk) >> for(i in 1:4000){ >> outMIA = file(conX, open="rb") >> load(file=outMIA) >> close(outMIA) >> closeAllConnections() >>...