[R] help needed. Why R does not produce lattice graphics when running command 'source (file_name)'?
Косенков Кирилл Николаевич
Kosenkov.Kirill at nac.spb.ru
Wed Oct 30 20:09:48 CET 2002
Thanx a lot for help for everyone!
print(...some lattice plot...) is really works..
Thanx again
> > -----Original Message-----
> > From: Kosenkov.Kirill at nac.spb.ru [mailto:Kosenkov.Kirill at nac.spb.ru]
> > Sent: Wednesday, October 30, 2002 11:28 AM
> > To: r-help at stat.math.ethz.ch
> > Subject: [R] help needed. Why R does not produce lattice
> > graphics when running command 'source (file_name)'?
> >
> >
> > Hi!
> > I have a source file - for example 'my.R' - which uses some
> > functions from
> > 'lattice' library.
> > It looks like that:
> >
> > library(lattice)
> > pr<-xtabs(W~ff$'q1'+ff$'q2',data=ff)
> > pr<-pr/rowSums(pr)*100
> > pr<-as.data.frame(pr)
> >
> > barchart(pr[[2]]~pr[[3]]|pr[[1]], horizontal=TRUE, as.table=TRUE,
(cut)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list