similar to: jpeg() saving blank files?

Displaying 20 results from an estimated 9000 matches similar to: "jpeg() saving blank files?"

2012 Apr 20
1
R CMD check: Sys.getenv("R_GSCMD") cannot contain full pathname (contrary to docs)
Hi, in help("R_GSCMD") it says "R_GSCMD: Optional. The path to Ghostscript, used by dev2bitmap, bitmap and embedFonts. Consulted when those functions are invoked.". However, if 'R_GSCMD' contains a full pathname to the Ghostscript executable (as above "path" indicates), e.g. > Sys.getenv("R_GSCMD") [1] "C:\\Program
2007 Mar 31
1
Too long pathname in bitmap() crashes R on WinXP
Hi, using too long pathnames for bitmap() crash R on WinXP. I've verified that this is the case with R version 2.4.1 Patched (2007-03-25 r40958) and R version 2.5.0 alpha (2007-03-30 r40957). I cannot reproduce it on Linux. REPRODUCIBLE EXAMPLE: % Rterm --vanilla # Tell R where Ghostscript is gsexe <- "C:/gs/gs8.54/bin/gswin32c.exe"; gsexe <- "C:/Program
2004 Aug 23
2
R on windows problem
Hi, I've installed several versions of R on a number of Window systems. I get the following error message (which I don't get on linux) > dev2bitmap(file="test.jpeg",type="jpeg") Error in system(paste(gsexe, "-help"), intern = TRUE, invisible = TRUE) : gswin32c.exe not found Any idea how to fix this? It seems common to all windows systems
2009 Aug 10
4
Saving plots to file
Appologies if this has been addressed before, but I can't seem to find it in the help archives. I'm looking to do something like the following but it looks like save.plot is deprecated. save.plot(plot(glm1$residuals,gain,main = "Hist of residuals and gain"),file="Desktop/hist1.png") Thanks in advance, Sean Session Info: R version 2.9.1 (2009-06-26)
2011 Mar 27
1
grImport/ghostscript problems
Hi All: I've been struggling for a while trying to get grImport up and running. I'm on a Windows 7 (home premium 64 bit) machine running R-2.12.2 along with GPL Ghostscript 9.01. I've set my Windows PATH variable to point to the Ghostscript \bin and \lib directories, and I've created the R_GSCMD environment variable pointing to gswin32c.exe. I don't have any experience with
2010 Mar 23
2
Adding matrix rows that have the same name?
Does anyone know if there is an R function that will take a matrix like this jim 1 0 0 0 0 0 jim 0 1 0 0 0 0 jim 0 0 1 0 0 0 bob 1 0 0 0 0 0 bob 0 0 1 0 0 0 harry 0 0 1 0 0 0 harry 0 0 0 1 0 0 harry 0 0 0 0 1 0 harry 0 0 0 0 0 1 and make it like this? (that is, add together rows that have the same name?) jim 1 1 1 0 0 0 bob
2011 Jan 14
1
How to point R toward Ghostscript on a Windows XP system
A colleague designed a script for a bar plot, which I'd like to export to my directory via the barplot command: bitmap(file="barplot.tif", type="tifflzw", height=4, width=6.5, res=1250) Unfortunately, this command produces the following error message: Error in system(paste(gsexe, "-help"), intern = TRUE, invisible = TRUE) : 'gswin32c.exe' not found
2011 Aug 09
1
embedFonts() does not embed fonts?
Dear helpers, I'm trying out the embedFonts() to embed fonts into my pdf files. However, when I inspect the new pdf with a program designed to look for embedded fonts, I see that the fonts have in fact not been embedded. Below are my calls. R version 2.13.1 (2011-07-08) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit)
2006 Sep 06
2
JPEG struct mismatch on Intel Macs (PR#9209)
Full_Name: Phil Spector Version: 2.3.1 OS: Mac OS X (Tiger) Submission from: (NULL) (128.32.135.22) Trying to close a jpeg() device on an Intel Mac causes the following: > jpeg('out.jpg') > plot(1:10) > dev.off() JPEG parameter struct mismatch: library thinks size is 372, caller expects 376 null device 1 > An empty jpg file is produced in 'out.jpg'
2008 Sep 03
1
how to reduce stress value in isoMDS?
I apply isoMDS to my data, but the result turns out to be bad as the stress value stays around 31! Yeah, 31 ,not 3.1... I don't know if I ignore something before recall isoMDS. My code as follow: m <- read.table("e:/tsdata.txt",header=T,sep=",") article_number <- ts(m, start = 2004,end=2008, frequency = 1 ,names=colnames(m))
2010 Aug 19
1
error with bitmap, please help
Hi All I still have a problem with ?bitmap? function in R, I have downloaded ghostscript 8.71 and added the path to the executable to the path environment variable, by going to the control panel , system, advanced system settings, added C:\Program Files(x86)\gs\gs8.71\bin to the path variable. I have also added the R executable path to the path variable. I have a 64 bit computer with windows 7
2007 Jan 12
7
Making TIFF images with rtiff
Many medical journals and publishers require that images, whether photographs or line art, be submitted as high resolution .TIFF images. One option for R users is to produce an image in one format and to convert it to a .TIFF file using a second software program. My experience has been that this option often results in images of poorer quality, often with blurry contours, and a loss of
2009 Dec 23
5
iid.test
I downloaded the iid.test, but I can't run it. I get the following message: Error: could not find function "iid.test" Where am I supposed to save this package in order that it works? Thanks, EZ [[alternative HTML version deleted]]
2008 Jun 23
5
Need ideas on how to show spikes in my data and how to code it in R
Hi I have recently been analyzing birthweight data from a clinic. The data has obvious defects in that there is digit preference on certain weights making them overrepresented. This shows as spikes in the histogram on certain well rounded weights like 2, 2.5, 3, etc. I would like to show this to government officials but can't figure out how I should present the finding in an easy to
2006 Nov 22
3
saving graphics in jpeg format
Dear R users, I need to save a graph in jpeg format. After plotting the graph, when the graphics window is active, in the File menu, the Save as / Jpeg / 100% quality correctly saves the graph in jpeg format. But I would like to know, how could I control the resolution (in dpi) of the saved jpeg file? I need to produce a jpeg at 1200 dpi. I have tried also the jpeg function in the package
2010 Apr 07
1
Customizing ordination plots using symbols for factors
Hi, I could use a hand solving a fairly straightforward ordination plot problem: I am conducing NMDS on some community data for roughly 300 localities and 650 species. I have a community matrix, a species attribute matrix, and an environmental attributes matrix. After running metaMDS {vegan} on the community matrix, I can successfully use either of the other two matrices to draw hulls around
2007 Apr 18
1
Changing axis lable text size in plots?
Dear list I'm plotting ( boxplot() and plot() ) some data for a publication. The editor would like the text labels on the plots in a larger font. I'm doing something like this: <snip> jpeg( filename = "D:/Martin/Work/CleanPath/RAF1%03d.jpg", width = 1000, height = 600, pointsize = 12, quality = 100, bg = "white", res = 96, restoreConsole = TRUE )
2008 Aug 14
1
error in passing an argument to do.call when do.call is in a for statement
Dear R-users, I am having a problem with passing an argument to a function in a do.call function which itself is in a for statement. I am building a function to upload question pools to the blackboard learning environment. This function which transforms questions to XML style output should be generic and allow for any function to generate questions. Therefore I use do.call in this function.
2008 Jul 21
1
dev2bitmap error, 'gs' cannot be found
Dear List, I am using the bioconductor package Category to do some gene enrichment analysis, and usually save my KEGGmnplot's using a dev2bitmap command. This has worked just fine, until suddenly earlier today I got this error-message: > dev2bitmap("04610_080721.jpg",type="jpeg", height = 10, width = 10, res = 200) Error in dev2bitmap("04610_CSF080721.jpg",
2008 Jun 03
5
savePlot() no longer automatically adds an extension to the filename.
Plaintive squeak: Why the change? Some OS's and desktops use the extension, so forgetting it causes trouble. The new default filename keeps a filetype (as before) but the user now has to type a filetype twice (once as the type, once as extension) to get the same effect fo rtheir own filenames. And the extension isn't then checked for consistency with valid file types, so it can be