similar to: Create *png or *.jpeg plot under Linux

Displaying 20 results from an estimated 1400 matches similar to: "Create *png or *.jpeg plot under Linux"

2008 Jul 03
2
PCA on image data
Dear R users, i would like to apply a PCA on image data for data reduction. The image data is available as three matrices for the RGB values. At the moment i use x <- data.frame(R,G,B)#convert image data to data frame pca<-princomp(x,retx = TRUE) This is working so far. >From this results then i want to create a new matrix from the first (second..) principal component. Here i stuck.
2008 Mar 27
4
Execute R with *.RData argument
Dear R developers, i would like to start R with a *.RData argument under Linux. Something like R -f /home/user/workspace.RData Is this possible? Thanks in advance for any answers. -- View this message in context: http://www.nabble.com/Execute-R-with-*.RData-argument-tp16323374p16323374.html Sent from the R help mailing list archive at Nabble.com.
2018 Jun 19
3
Paquete dismo, cálculo coeficiente de variación
Estimados erreros, Estoy intentando entender como calcula el paquete dismo ( https://cran.r-project.org/web/packages/dismo/index.html) un coeficiente de variación. Os pongo un ejemplo: tmin <- c(10,12,14,16,18,20,22,21,19,17,15,12) # temperatura mínima media mensual de un año tmax <- tmin + 5 # temperatura máxima media mensual de un año prec <- c(0,2,10,30,80,160,80,20,40,60,20,0)
2010 Apr 29
1
Fidelity of lattice graphics captured to jpeg or png
I am generating images via lattice from Frank Harrell's RMS package. These images are characterized by coloured lines and grey-scale confidence intervals. I need to port them to Openoffice/etc, and have tried both png and jpeg (at high quality), but in neither format can I subsequently see the the grey scale confidence intervals. Other than moving to LaTex, does anyone have other
2008 Oct 17
0
beta symbol cut off in y axis label using jpeg/png/tiff
I am having trouble showing the Greek symbol "beta" correctly in the y-axis label of bitmap plots. Specifically, on my system the top of the "beta" symbol is cut off using the following example: file.jpg <- paste(tempfile(), ".jpg", sep = "") jpeg(file.jpg, h = 3, w = 3, units = "in", res = 300, type = "Xlib") boxplot(rnorm(10),
2003 Jun 12
1
Problems for runing R in BATCH to generate PNG/JPEG files
Hello all: After I compile the R-1.7 with the follows in Linux7.3: configure --with-x --with-jpeglib --with-libpng --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib and make and make install. The R is able to generate PNG/JPEG files from the command line. However, when I put the same commands in a batch file and run: R --gui BATCH R.Batch.file It gave me a error in the
2004 Nov 24
1
R 2.0.1 jpeg() png() pdf() Mac OSX 10.3.5 - empty files being created
Hi everyone, I've been opening up R 2.0.1 from the dock and then starting the Mac OSX X11 server. After that I call >jpeg("test.jpg",plot(rnorm(10))) and r pops up a quartz window with the appropriate graph in it and puts a file called test.jpg into the HOME which is 0kb in size and is completely empty. There is no error message. I've tried >png("test.png",
2006 Mar 01
0
Problems to get a ctree plot in a file via jpeg/png
Hello All, I am using library "party" and I have found a curious/strange behaviour when trying to save the output of a ctree in a file via jpeg/png command. If you use: ################ library(party) airq <- subset(airquality, !is.na(Ozone)) airct <- ctree(Ozone ~ ., data = airq) plot(airct, terminal_panel = node_boxplot, drop_terminal = FALSE) ############### you get a
2007 Feb 08
1
Impossible to get jpeg or png output
Hi, When I want to output a png file, I have the following error message : Error dans X11(paste("jpeg::", quality, ":", filename, sep = ""), width, : inpossible de d?marrer le p?riph?rique JPEG De plus : Warning message: impossible d'ouvrir le fichier JPEG 'Test.jpeg' or in english Error in X11(paste("jpeg::", quality, ":",
2009 Nov 18
1
converting a vector of bytes to a PNG/JPEG image
Hi, I have some code that uses rJava. One of the Java side methods returns a byte[] representing the bytes from a PNG image. What I'd like to do is to be able to bring up the PNG on the R side (I can bring up a Swing window to show the PNG but I want to avoid that). I have looked at the pixmap and rimage packages but don't seem to be able to work out how I'd go about this (or if
2009 Jun 17
1
Unable to use jpeg(), png() etc.....
Hello, I 've just re-installed R 2.9.0 on ubuntu 9.04. I do not understand why I am unable to use simple device function such as jpeg(), png()... > png() Error in X11(paste("png::", filename, sep = ""), width, height, pointsize, : unable to start device PNG In addition: Warning message: In png() : no png support in this version of R > capabilities() jpeg
2006 Mar 01
1
Problems to get a ctree plot (library party) in a file via jpeg/png
Hello All, I am using library "party" and I have found a curious/strange behaviour when trying to save the output of a ctree in a file via jpeg/png command. If you use: ################ library(party) airq <- subset(airquality, !is.na(Ozone)) airct <- ctree(Ozone ~ ., data = airq) plot(airct, terminal_panel = node_boxplot, drop_terminal = FALSE) ############### you get a
2006 Dec 20
1
jpeg() and png() in R-2.4.x (PR#9423)
I have tried to install R-2.4.x on my computer (linux - mandriva 2007 - 64bits), with tar file for R-4.2.1 and rpm file for R-2.4.0, and function capabilities() says to me that JPG, PNG and TCLTK are not available. However, with the version R-2.3.x with whicc I work , they are available. May be it's a bug, or may be my mandriva 2007 distribution are not all required libraries ? But I have
2009 Mar 03
1
dotplot() lattice charts return blank image (jpeg, bmp, png) file
Thanks in advance for the help. Trying to run a basic dotplot in lattice from R command line. When the file is created, in Fedora, it is blank image (jpeg, bmp, png). Image produces correctly in Windows environment. Libraries lattice and latticeExtra are loaded. Code: ----------------- jpeg(file = "/tmp/img/temp31.jpg", width = 768, height=768) xy <- dotplot(1:10) print(xy)
2003 Dec 30
2
split.screen problem with jpeg/png device (PR#6223)
Full_Name: Steve Koehler Version: 1.8.1 OS: Solaris and Windows Submission from: (NULL) (192.55.214.50) In the following program, if output is sent to X11, you get all four graphs, but if output is sent to .jpeg, you only get the C and D graphs. A workaround is to do all the screen splitting at the top, before using any screens. This also fails with .png output. jpeg ("test.jpeg")
2007 Apr 02
3
Device drivers - png()/jpeg()
Hallo R-experts, I produced a R graphic with the help of the following commands: plot(0:4,0:4, type = "n", xlab = "X-Werte", ylab = "Y-Werte") points(rnorm(100), rnorm(100), col = "black") locator(2, type= "l") locator(2, type = "l", col = "red") I could display this graphic by using windows() before entering those commands.
2003 Jan 31
2
png()/jpeg()
When I execute the following code, it works just like I want it to: three pages of nine (or fewer) plots. However, when I execute the code with the first and last lines uncommented, I get three pages (files), but the 2nd & 3rd pages have overlapping plots. It's like a new page wasn't created. I'm pretty sure I've either misplaced or left out a crucial call to some
2000 Sep 14
2
Background color with jpeg and png devices
If I change the background color of a plot, with par(bg="red") for example, I get a plot with a red background when I use the postscript or X11 devices. With the png or jpeg devices, the background is white. Is this the intended behavior, or a bug? Is there anyway to get a non-white background with the png device? I'm using R-1.1.0 on Linux.
2008 Jun 16
1
tiff(), jpeg(), and png() in R 2.7.0: problems if 'units = "in"' but default height and width
I love the new tiff(), jpeg(), and png() in R 2.7.0 but found an issue that I didn't see reported. When specifying 'units = "in"' but forgetting to change the default height and width (so the figure is unintentionally going to be 480 inches by 480 inches) I run into problems. Here's the reproducible example: tiff("a.tiff", units = "in", res = 1200,
2005 Dec 14
2
X11 png jpeg cledit false when running from script
Hello, When launching R from a script, when queried it reports the following capabilities as false: jpeg, png, x11 and cledit. When R is run from a terminal session, all of these capabilities are reported true. R is running on FC4. As the purpose of this script is to output the png file to a browser, it is unable to complete because of this. Any ideas are appreciated. We have an identical