Re: [R] png to html

2008-01-24 Thread Prof Brian Ripley
On Thu, 24 Jan 2008, elyakhlifi mustapha wrote: > hello, > to display my histogram from a png file to a html file I use this syntax > >> myplot2 <- png(file=file.path(directory,"myplot2.png"), bg="transparent") Please re-read ?png: myplot2 will be NULL. >> plot(1:10) >> rect(1, 5, 3, 7, col="whi

[R] png to html

2008-01-24 Thread elyakhlifi mustapha
hello, to display my histogram from a png file to a html file I use this syntax > myplot2 <- png(file=file.path(directory,"myplot2.png"), bg="transparent") > plot(1:10) > rect(1, 5, 3, 7, col="white") > dev.off() png:C:/Documents and Settings/melyakhlifi/Bureau/myplot.png