Displaying 3 results from an estimated 3 matches for "fam_mast".
Did you mean:
fam_master
2005 Jul 08
2
Sweave resource leak: leftover temp files (PR#7999)
...to the number of rows in the data frame.
list <- unique(wide$stuid)
master = "master.tex"
for (i in list){
tmp1 <- subset(wide, stuid==i)
tmp2 <- paste(i, "tex", sep=".")
Sweave("fam_template.Rnw", output=tmp2)
file.append("fam_master.tex", tmp2)
}
If I follow correctly, I would need to place these commands inside the
loop as follows:
list <- unique(wide$stuid)
master = "master.tex"
for (i in list){
tmp1 <- subset(wide, stuid==i)
tmp2 <- paste(i, "tex", sep=".")
ke...
2005 Jul 08
0
Sweave resource leak: leftover temp files
....
>
> list <- unique(wide$stuid)
> master = "master.tex"
> for (i in list){
> tmp1 <- subset(wide, stuid==i)
> tmp2 <- paste(i, "tex", sep=".")
> Sweave("fam_template.Rnw", output=tmp2)
> file.append("fam_master.tex", tmp2)
> }
>
> If I follow correctly, I would need to place these commands inside the
> loop as follows:
>
> list <- unique(wide$stuid)
> master = "master.tex"
> for (i in list){
> tmp1 <- subset(wide, stuid==i)
> tmp2 <- pa...
2005 Jul 06
4
Tempfile error
Dear List:
I am encountering an error that I can't resolve. I'm looping through
rows of a dataframe to generate individual tex files using Sweave. At
random points along the way, I encounter the following error
Error in file() : cannot find unused tempfile name
At which point Sweave halts. There isn't a logical pattern that I can
identify in terms of why the program stops at