[R] awkward behavior with densityplot function

2008-08-26 Thread John Sanabria
Hi, I have the following script: t.R --- grafica <- function() { v <- read.csv('preprocessed/komolongma.ece.uprm.edu.active',sep=',') x <- as.ts(v$active) bitmap(file="output.png") densityplot(~x,col='blue',main='Density Plot') dev.off() } grafica() t.R --- When I "sourced" i

[R] no output when run densityplot...

2008-08-26 Thread John Sanabria
Hi, I have downloaded a R script from http://www.wessa.net/rwasp_edauni.wasp#output. This script produces a densityplot graphic, amongst others, when is executed from the web page. However, when I run it in my machine the *densityplot* function produces any output, I mean a blank graphic. But,