[R] Save R2HTML as an object instead of file

Joel joda2457 at student.uu.se
Wed Dec 1 10:03:33 CET 2010


Or is there any kind of File buffer that dossent save a file on the
harddrive?

coz this gives me the thing I want but it still saves the file on the HD 

> .HTML.file=(temp<-file("era.html","w+"))
> HTML("NANALALA")
> HTML(diag(3))


Then I can just use

readLines(temp) to get the result

but as I said I dont want it to save the HTML on the HD just in an object.
-- 
View this message in context: http://r.789695.n4.nabble.com/Save-R2HTML-as-an-object-instead-of-file-tp3066776p3066845.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list