Displaying 20 results from an estimated 1000 matches similar to: "Inconsistencies in device_Raster when axes are reflected"
2020 Oct 02
1
What is the threshold for `useRaster` of graphics::image()?
Hi R-help list
What is the threshold for the `useRaster` argument of graphics::image()
to decide whether a grid is "regular" or not (i.e. the usage of
useRaster=T is allowed or not). My
`dev.capabilities("rasterImage")$rasterImage` is "yes".
I could not find this information in the internet. I also could not find
the source code of the graphics::image() function (I
2005 May 18
2
R Include File Guards
R 2.1.0/src/include from 2005/04/18 download
Naming inconsistent for guards as well but that's pedantic.
Simple convention:
file <foo.h>
#ifndef R_FOO_H
file <R_ext/bar.h>
#ifndef R_EXT_BAR_H
Missing guards:
<IOStuff.h>
<Internal.h>
<Parse.h>
<R_ext/GraphicsBase.h>
<R_ext/GraphicsDevice.h>
<R_ext/GraphicsEngine.h>
2011 Feb 09
2
using rasterImage within image
Has anyone yet tried incorporating rasterImage into the base image()
function? It seems to make a *huge* difference, with
a very small number of added/changed lines of code. (Of course I have
barely tested it at all.)
Is there any reason this *shouldn't* go into the next release?
> source("image.R")
> z <- matrix(runif(1e6),nrow=1000)
> image(z)
>
2012 May 07
1
Plotting a raster image
Hello,
I have a data frame which looks like
> head(d)
a1 a2 n j col
1 1 1 88341002 11 #E7E7E7
2 1 2 25094882 11 #E7E7E7
3 1 3 16916246 11 #E7E7E7
4 1 4 14289229 11 #E7E7E7
5 1 5 11945929 11 #E7E7E7
6 1 6 8401235 11 #E7E7E7
The values in 'j' run from 1 to 11. I would like to plot the point (a1,a2)
with color given by j
I tried
mi <-
2011 Jul 21
3
R versions and PostScript files
Dear R users,
I have a desktop computer and a laptop, both of them with Ubuntu Lucid. The
former has R2.10 installed from Ubuntu repositories (this is the most recent
version in the repositories), while the latter has R2.13 from the CRAN
repositories.
I noticed that postscript files generated with R2.10 are "better" than
files generated with the latest release of R, in particular for
2013 Apr 12
1
support for POSIXct classes in image.default axes
Hello, I would like to suggest the following change to image.default in
src\library\graphics\R\image.R:
98c98
< plot(NA, NA, xlim = xlim, ylim = ylim, type = "n", xaxs = xaxs,
---
> plot(x[1], y[1], xlim = xlim, ylim = ylim, type = "n", xaxs = xaxs,
This provides all the support of axis.POSIXt that plot.default gives,
currently the default new plot in
2014 Mar 20
0
possible bug: graphics::image seems to ignore getOption("preferRaster")
the details section of ?image says:
> If useRaster is not specified, raster images are used when the
> getOption("preferRaster") is true, the grid is regular and either
> dev.capabilities("raster") is "yes" or it is "non-missing" and there
> are no missing values.
but in my experience this is never the case and
2011 Aug 03
1
one way to solve bad looking density plots in postscript
Hi,
When R generates density plots and these are exported to postscript(
a=matrix(1:100,10,10);image(a,col=rainbow(100);dev.copy2eps(file="image.eps")
)
The result often looks bad when rendered on screen. The help page states that this is because programs use anti-aliasing. That seems to be true - turning off anti-aliasing for gs (-dGraphicsAlphaBits=1) of in OSX's preview makes
2012 Jul 27
1
overlaying a set of 'grouping' lines on a plot from image()
Hi, I have a matrix that I am displaying via image. I would like to
obtain an image where the columns are 'grouped' (I have a grouping
variable). But I am not sure how how I can draw the lines to indicate
the grouping in the margin. I realize this is essentially waht heatmap
does but as I have a set of custom breaks and colors I wanted to
generate this via image. I can see that it is a
2017 Oct 19
1
overlaying points and lines on a surface3d rgl plot with axes
Hi R users and experts,
I am interested in learning more about the use of 3D plots. Specifically, I
want to add points and lines to a surface plot. And get the axes and labels
plotted also. Here is what I have tried with an example data set :
library(rgl)
vol2 <- 2*volcano # Exaggerate the relief
library(reshape)
mvol2 <- melt(vol2)
str(mvol2)
# First, persp and persp3d plots do not succeed
2006 Apr 19
2
Using Reflections to find out ActiveRecord class association
I want to find out what are the associations with another active record
class. So If my class is as below:
Class Component < ActiveRecord::Base
has_many :branches
end
class Branch < ActiveRecord::Base
belongs_to :component
end
and then I do
Component.reflections[:branches].active_record
I would expect that to be Branch but it is in fact Component.
The inspection of
2024 Jun 06
4
clarifying and adjusting the C API for R
This is an update on some current work on the C API for use in R
extensions.
The internal R implementation makes use of tens of thousands of C
entry points. On Linux and Windows, which support visibility
restrictions, most of these are visible only within the R executble or
shared library. About 1500 are not hidden and are visible to
dynamically loaded shared libraries, such as ones in packages,
FW: Graphical Limitiations of the (D)COM Server AxSTATCONNECTORCLNTLib.AxStatConnectorGraphicsDevice
2006 May 31
0
FW: Graphical Limitiations of the (D)COM Server AxSTATCONNECTORCLNTLib.AxStatConnectorGraphicsDevice
A sample picture of this issue:
http://hera.pmcl.com/DMap/BeachFX/Bug.gif
________________________________
From: Weilbacher, John
Sent: Wednesday, May 31, 2006 10:46 AM
To: 'r-help@stat.math.ethz.ch'
Subject: Graphical Limitiations of the (D)COM Server
AxSTATCONNECTORCLNTLib.AxStatConnectorGraphicsDevice
I am having issues displaying Trellis Graphs using the
2011 Sep 30
1
Odd gridding pattern when plotting
Hi, I'm no longer on the subscribing list, but was hoping to get my question posted.? Please inform if this is ok, although I am guessing you wont post with the image below.? If so, let me know and I will resend without the image.
Thanks
Hi,
I just upgraded my system and my version of R all at once.? Upon running old code for heatmaps etc, I suddenly notice that there is an odd grid pattern
2024 Jul 29
1
Minor inconsistencies in tools:::funAPI()
Hi Ivan
Can you please clarify what input files should be used with your
proposed function? I tried a few files in r-svn/src/include and one of
them gave me an error.
> getdecl("~/R/r-svn/src/include/R.h")
[1] "R_FlushConsole" "R_ProcessEvents" "R_WaitEvent"
> getdecl("~/R/r-svn/src/include/Rdefines.h")
Error in regmatches(lines,
2024 Jun 07
1
clarifying and adjusting the C API for R
Thanks for working on this Luke! We appreciate your efforts to make it
easier to tell what's in the exported API and we're very happy to work with
you on any changes needed to tidyverse/r-lib packages.
Hadley
On Thu, Jun 6, 2024 at 9:47?AM luke-tierney--- via R-devel <
r-devel at r-project.org> wrote:
> This is an update on some current work on the C API for use in R
>
2024 Jun 09
1
clarifying and adjusting the C API for R
Thanks so much for your wonderful work, Luke!
I didn't expect such a clarification to happen this soon. This is really
great.
For convenience, I created a quick web page to search the result of
tools:::funAPI().
https://yutannihilation.github.io/R-fun-API/
Hope this helps those who are too lazy to install R-devel to check.
Best,
Yutani
2024?6?6?(?) 23:47 luke-tierney--- via R-devel
2024 Jun 07
1
clarifying and adjusting the C API for R
Thanks for sharing this overview of an interesting and much-needed project.
You mention that R exports about 1500 symbols (on platforms supporting
visibility) but this subject isn't mentioned explicitly again in your note,
so I'm wondering how things tie together. Un-exported symbols cannot be
part of the API - how would people use them in this case? In a perfect
world the set of
2011 Feb 28
3
Feature: ActiveResource - Adding associations through reflections
Hello everyone,
I''m new in contributing and i saw in the contributing-guides, that i
have to write an email at this list.
I hope, that''s the right place for this. If it''s not, i''M really
sorry.. ;)
Could someone please give me feedback about this lighthouse-ticket?
2005 Apr 02
2
Building new graphic device drivers with g++
Dear Group,
I'm trying to build a set of new graphic device drivers. I use the
devNull example a a beginning point:
$ R CMD SHLIB devNull.c
gcc -shared -L/usr/local/lib -o devNull.so devNull.o
(everything works OK)
$ R CMD SHLIB devNull.cpp
g++ -shared -L/usr/local/lib -o devNull.so devNull.o
(everything works OK)
The difficulties start when trying to compile manually. I compile the