Re: [R] googleVis plot and knitr/sweave

2012-11-30 Thread Filoche
Thank everyone for the answers. I looked into ggmap but could not find how to plot a map that would like this: http://www.google.ca/trends/explore#q=flu I looked into get_map but it can only be of this type: maptype = c("terrain", "satellite", "roadmap", "hybrid", "toner", "watercolor") Any su

Re: [R] googleVis plot and knitr/sweave

2012-11-30 Thread Filoche
Thank you Michael. I'll try that. Maybe I can find a solution to convert the HTML file into a let's say SVG file. Regards, Phil -- View this message in context: http://r.789695.n4.nabble.com/googleVis-plot-and-knitr-sweave-tp4651341p4651463.html Sent from the R help mailing list archive at Na

Re: [R] googleVis plot and knitr/sweave

2012-11-30 Thread Michael Friendly
On 11/29/2012 2:53 PM, Filoche wrote: Dear R users. I'm currently making a report with knitr (RStudio) where I would like to plot a googleVis map. However, the map generated is an HTML file which I don't know how to integrate it in my report. So my question is how to include a map generated wit

Re: [R] googleVis plot and knitr/sweave

2012-11-30 Thread Gergely Daróczi
Just a lame question: is there any chance to generate SVG maps with googleVis and import that in LaTeX? Best, Gergely On Fri, Nov 30, 2012 at 2:02 AM, Yihui Xie wrote: > Then you can take a look at the ggmap (on CRAN) or snippets package > (on Simon's RFroge: http://rforge.net/snippets/), which

Re: [R] googleVis plot and knitr/sweave

2012-11-29 Thread Yihui Xie
Then you can take a look at the ggmap (on CRAN) or snippets package (on Simon's RFroge: http://rforge.net/snippets/), which supports OpenStreet Map; googleVis is HTML/SVG based. Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University

Re: [R] googleVis plot and knitr/sweave

2012-11-29 Thread Filoche
Hi and thank you for your answer. In fact, I don't really need the interactive part of googleVis map. So if there's a way to plot a static version of the map it would be perfect for me. Regards, Phil -- View this message in context: http://r.789695.n4.nabble.com/googleVis-plot-and-knitr-swea

Re: [R] googleVis plot and knitr/sweave

2012-11-29 Thread Yihui Xie
I'm not aware of the possibility of embedding google vis in PDF: https://developers.google.com/chart/interactive/docs/gallery I do not think everything has to live in PDF, otherwise what is the point of HTML/JS and web browsers? Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.na

[R] googleVis plot and knitr/sweave

2012-11-29 Thread Filoche
Dear R users. I'm currently making a report with knitr (RStudio) where I would like to plot a googleVis map. However, the map generated is an HTML file which I don't know how to integrate it in my report. So my question is how to include a map generated with googleVis in a PDF created with knitr