Displaying 20 results from an estimated 100 matches similar to: "Error in grDevices"
2013 Aug 19
2
Problemas con ggsave(paste('img/',plotName,'.png', sep='')
Estimados usuarios de R:
Soy nuevo en R, le ruego disculpa por mi *Ignorancia*.
Estoy corriendo la siguiente instruccion,
ggsave(paste('img/',plotName,'.png', sep='')
y resulta el error:
ggsave(paste('img/',plotName,'.png', sep='')
Saving 7.32 x 4.87 in image
Error in grDevices::png(..., width = width, height = height, res = dpi, :
2013 Aug 26
0
Problemas con ggsave(paste('img/', plotName, '.png', sep='')
Estimado Linis,
Si estás bajo Windows y no has cambiado las rutas (también dentro de las
funciones) es posible que no funcionen bien. Por ejemplo la sentencia
paste('img/',plotName,'.png', sep='')
deberías cambiarla por:
paste('img\',plotName,'.png', sep='')
o incluso por
paste('img\\',plotName,'.png', sep='')
2013 Aug 23
0
Problemas con ggsave(...). Estadística Espacial
Estimados usuarios de R:
Estoy corriendo el código de aqui:
http://www.r-bloggers.com/visualizing-baltimore-2-vacant-property-and-some-more-crime/
y correr la siguiente instruccion:
saveKde2Plot(burgDens, 'BurglaryKde2d', 'Burglary\n Density')
Esta función incluye el comando ggsave( ... ), que genera el
siguiente error:
Saving 7.32 x 4.87 in imageError in
2014 May 29
0
How to make the tests pass in an elegant way? Ruby on Rails
I am writing a rails app with my colleague who wrote a lot of the tests.
He had to take a leave of absence due to a death in his family, and I am
needing helps with changing the model so that the tests will pass in our
spec file.
Here is the model:
class Worker < ActiveRecord::Base
attr_accessible :first_name, :last_name
has_many :writings
end
Here is the spec:
2015 Dec 09
4
Problemas de instalación
Buenos días,
He cambiado la versión de R como siempre a través de:
install.packages("installr")
library(installr)
updateR()
En esta ocasión trabajando bajo windows 10. La versión 3.2.2 me ofrece
menos mirror, pero mi principal problema es que no soy capaz de trabajar
con Rcommander (ahora lo hago con RStudio) me da la siguiente salida:
> utils:::menuInstallPkgs()
--- Please select a
2011 Jul 08
1
Referencing a vector of data labels in ggplot function
Hi,
I really feel I've looked everywhere, although I know this can't be a hard
problem. I'd like to be able to call the graph below as a function, but I
can't get the function to recognize variables beyond 'dframe'. I've read
through many papers on writing functions in R, but I can't get this to work.
data <- data.frame('date' = as.Date(rep(c(15101,
2012 Oct 07
1
Problem with national characters in main, xlab, ylab with pdf{grDevices} / postscript {grDevices}
Hello.
I'm trying to make some graphics with nationalized labels (pdf for use
in LaTeX document).
On console (displayed on screen) using all looks ok:
----------------------------------------\/
data<-rnorm(100)
hist(data,main='Rozk?ad g?sto?ci punkt?w', xlab='Warto?? na osi y',
ylab='Cz?sto?? wyst?powania')
-------------------------------------------/\
But
2006 Mar 29
0
bug in pictex() (package:grDevices)
running
pictex()
plot(1:11,(-5:5)^2, type='b', main="Simple_Example_Plot")
dev.off()
(as in the pictex example, but with underscores instead of spaces).
the TeX file contains
\put {Simple_Example_Plot} [lB] <0.00pt,0.00pt> at 124.00 275.33
the underscores have a special meaning in TeX, so they should be quoted
or converted to dashes.
--
Sam Steingold
2010 Aug 31
1
Where can I download/install grDevices
Hi folks,
Debian 504 64 bit
grDevices is NOT on Debian repo
$ apt-cache search r-cran | grep grDevices
no printout
On R
$ sudo R
> install.packages("grDevices", dependencies=TRUE))
Warning in install.packages("grDevices") :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session ---
2017 Jun 01
0
[FORGED] How to create my own grDevices using java
Hi
The 'RGraphicsDevice' package might be useful for this job.
http://www.omegahat.net/RGraphicsDevice/
Paul
On 01/06/17 07:09, Peter Cheung wrote:
> Hi All
>
> How to create my own grDevices using java, so that i can display the graphic from plot() in my java software?
>
> thanks
>
> from Peter
>
> [[alternative HTML version deleted]]
>
>
2006 Mar 29
0
bug in pictex() (package:grDevices) (PR#8727)
> * Prof Brian Ripley <evcyrl at fgngf.bk.np.hx> [2006-03-29 15:39:17 +0100]:
>
> Have you reported this to pictex()'s author?
no, I have no idea who that is.
> Remember that it is a contributed graphics device, and not one r-core
> is maintaining. You could also submit a patch yourself.
>
> There is quite a lot wrong with it, as it has not been more than
>
2008 May 23
0
rgb to cmyk conversion is wrong in src/library/grDevices/src/devPS.c (PR#11509)
The conversion of RGB to CMYK takes place in PostScriptSetCol() starting at
line 2900 of R-2.7.0/src/library/grDevices/src/devPS.c
if(strcmp(mm, "cmyk") == 0) {
double c = 1.0-r, m=1.0-g, y=1.0-b, k=c;
k = fmin2(k, m);
k = fmin2(k, y);
if(k == 1.0) c = m = y = 0.0;
else {c /= (1.-k); m /= (1.-k); y /= (1.-k);}
r, g, and b have already been normalized to the
2010 Jul 26
1
HowTo get callback on destroy of grDevices::windows()
I'm build with the usage of the tcltk/tcltk2 package a gui which is
started with rscript.exe. At this gui the user is able to open and close
plot windows.
Now I'm looking for a way that a r function is called when a
grDevices::windows window is closed.
Is there a way to attach a callback function or so, which would be
triggert if the user click at close of the grDevices::window?
My
2015 Jan 11
0
Shouldn't grDevices::quartz() give an error instead of a warning when not available?
Compare:
> quartz(); cat("Should this have generated an error instead?\n")
Warning message:
In quartz() : Quartz device is not available on this platform
Should this have generated an error instead?
to:
> x11()
Error in .External2(C_X11, d$display, d$width, d$height, d$pointsize, :
unable to start device X11cairo
In addition: Warning message:
In x11() : unable to open
2015 Jul 18
0
Use cairo fallback resolution greater than 72dpi in cairo_pdf and cairo_ps in grDevices
The 'at a minimum' information requested by the posting guide is missing.
According to their documentation the cairo default fallback resolution
is now 300dpi, and when I run your example on Fedora 21 that is what the
emitted postscript says it is.
You can easily alter the R code to set it to something different: see
http://cairographics.org/manual/cairo-cairo-surface-t.html for the
2016 Jan 27
0
symbol name conflict in grDevices on linux
It appears that grDevices (and perhaps other R libraries) is built
without passing C_VISIBILITY to PKG_CFLAGS (-fvisibility=hidden),
while other libraries (e.g. utils) do use the flag.
This results in potential crashes on linux in situations like using
embedded R in another application that happens to export a symbol
named similarly to one defined in R's library, since the runtime
linker
2019 Apr 02
2
New grDevices::hcl.colors()
Hi Z
I think supporting HCL color spaces more, is a *very* good idea.
However, I doubt many R users, understand the motivation for HCL color
spaces.
I've reproduced Ross Ihaka's notes on color, on my personal website:
https://sites.google.com/site/spurdlea/exts/ihaka_r_stats_787_10_color.pdf
(This has been reproduced with permission).
Another good article is:
2020 Oct 19
1
usage of #import in grDevices/src/qdCocoa.h
I happened to notice that this header file uses
#import <Cocoa/Cocoa.h>
This is the first time I came across the preprocessor directive #import;
the first thing I found about it is this Q&A suggesting it's not portable
nor standard C:
https://stackoverflow.com/q/39280248/3576984
On the other hand, this exact invocation seems pretty common on GitHub
2010 Jul 26
2
HowTo get callback on destroy of grDevices::windows()
I'm build with the usage of the tcltk/tcltk2 package a gui which is
started with rscript.exe. At this gui the user is able to open and close
plot windows.
Now I'm looking for a way that a r function is called when a
grDevices::windows window is closed.
Is there a way to attach a callback function or so, which would be
triggert if the user click at close of the grDevices::window?
My
2023 Feb 23
1
Palettes {grDevices} - wrong number of colors returned?
On 23/02/2023 6:09 a.m., Achim Zeileis wrote:
> Duncan,
>
> thanks for your feedback. I just received your response after sending out
> mine. You came to the same conclusion. Should I prepare a patch and send
> it to you so that you can also have a look? Or view Bugzilla?
Copying Sigbert's message to Bugzilla is a good idea so it can be
referred to from the NEWS entry. If