search for: example_r

Displaying 9 results from an estimated 9 matches for "example_r".

Did you mean: example_
2024 Mar 11
2
evince not showing "greek" and "math" in *.pdf plots
...ions, and >> *not* a bug in R; hence I am asking for help/hints here. >> >> A very simple example: >> >> ------------------------------------------------------------------------------- >> >> (pdfil <- paste0("plotmath-example_R", >> with(R.version, paste0(major, sub("[.]", "", minor))), ".pdf")) >> ## "plomath-example_R433.pdf" >> >> pdf(pdfil) >> example(plotmath); mtext(R.version.string) >> dev.off() >>...
2024 Mar 11
1
evince not showing "greek" and "math" in *.pdf plots
...ng the fonts is probably more cross- platform/viewer friendly: You can embed the fonts if you have Ghostscript installed (I think it comes with Fedora already(?) if not then:? sudo dnf install ghostscript ) You can then use the embedFonts() function in R: (pdfil <- paste0("plotmath-example_R", with(R.version, paste0(major, sub("[.]", "", minor))), ".pdf")) pdf(pdfil) example(plotmath); mtext(R.version.string) dev.off() # Use embedFonts to embed the fonts in the PDF embedFonts(file = pdfil, outfile = paste0("embedded-example&quo...
2024 Mar 11
1
evince not showing "greek" and "math" in *.pdf plots
...in evince, the standard pdf viewer on Fedora and IIUC also quite few other Linux distributions, and *not* a bug in R; hence I am asking for help/hints here. A very simple example: ------------------------------------------------------------------------------- (pdfil <- paste0("plotmath-example_R", with(R.version, paste0(major, sub("[.]", "", minor))), ".pdf")) ## "plomath-example_R433.pdf" pdf(pdfil) example(plotmath); mtext(R.version.string) dev.off() if(interactive()) system(paste("evince", pdfil, "&&q...
2024 Mar 11
2
evince not showing "greek" and "math" in *.pdf plots
...iendly: > > > You can embed the fonts if you have Ghostscript installed (I think it > comes with Fedora already(?) if not then: > > sudo dnf install ghostscript > > ) > > > You can then use the embedFonts() function in R: > > (pdfil <- paste0("plotmath-example_R", > with(R.version, paste0(major, sub("[.]", "", minor))), > ".pdf")) > > pdf(pdfil) > example(plotmath); mtext(R.version.string) > dev.off() > > # Use embedFonts to embed the fonts in the PDF > embedFonts(file = pdfil,...
2024 Mar 11
1
evince not showing "greek" and "math" in *.pdf plots
...edora and > IIUC also quite few other Linux distributions, and > *not* a bug in R; hence I am asking for help/hints here. > > A very simple example: > > ------------------------------------------------------------------------------- > > (pdfil <- paste0("plotmath-example_R", > with(R.version, paste0(major, sub("[.]", "", minor))), ".pdf")) > ## "plomath-example_R433.pdf" > > pdf(pdfil) > example(plotmath); mtext(R.version.string) > dev.off() > > if(interactive()) > system(p...
2024 Mar 12
1
evince not showing "greek" and "math" in *.pdf plots
...ipt installed (I think > > it > > comes with Fedora already(?) if not then:? > > > > sudo dnf install ghostscript > > > > ) > > > > > > You can then use the embedFonts() function in R: > > > > (pdfil <- paste0("plotmath-example_R", > > ? ? ? ? ? ? ? ? ?with(R.version, paste0(major, sub("[.]", "", > > minor))), > > ".pdf")) > > > > pdf(pdfil) > > example(plotmath); mtext(R.version.string) > > dev.off() > > > > # Use embedFonts to embed...
2024 Mar 12
1
evince not showing "greek" and "math" in *.pdf plots
...u can embed the fonts if you have Ghostscript installed (I think it > comes with Fedora already(?) if not then: > > sudo dnf install ghostscript > > ) > > > You can then use the embedFonts() function in R: > > (pdfil <- paste0("plotmath-example_R", > ? ? ? ? ? ? ? ? ?with(R.version, paste0(major, sub("[.]", "", minor))), > ".pdf")) > > pdf(pdfil) > example(plotmath); mtext(R.version.string) > dev.off() > > # Use embedFonts to embed the fonts in the PDF &gt...
2024 Mar 13
1
evince not showing "greek" and "math" in *.pdf plots
...installed (I think it > > comes with Fedora already(?) if not then: > > > > sudo dnf install ghostscript > > > > ) > > > > > > You can then use the embedFonts() function in R: > > > > (pdfil <- paste0("plotmath-example_R", > > with(R.version, paste0(major, sub("[.]", "", > minor))), > > ".pdf")) > > > > pdf(pdfil) > > example(plotmath); mtext(R.version.string) > > dev.off() > > > > # Use e...
2011 Feb 28
3
re-arranging data to create an image (or heatmap)
...sed google, but I seem to keep going in circles. I think that the image() command fits my needs, but that my input data is not in the correct format. Attached I have an image example from R and an image example from matlab. This is how far I got using R: http://r.789695.n4.nabble.com/file/n3327986/example_R.jpg This is the result I am aiming for: http://r.789695.n4.nabble.com/file/n3327986/example_matlab.jpg -- View this message in context: http://r.789695.n4.nabble.com/re-arranging-data-to-create-an-image-or-heatmap-tp3327986p3327986.html Sent from the R help mailing list archive at Nabble.com.