Displaying 20 results from an estimated 7000 matches similar to: "Graphics-Device-Size vs. Window-Size: R design flaw"
2000 Nov 08
1
Graphics-Device-Size vs. Window-Size
I want to layout on screen a graphic bigger than the screen (width=16.53543,
height=11.69291) but strwidth() and strheight() give wrong results.
> x11(width=42/2.54, height=29.7/2.54, pointsize=12)
> plot(1,1, type="n", xlim=c(0, 1), ylim=c(-1, 0), xlab="", ylab="",
axes=FALSE)
> strwidth("Whatever")
[1] 0.08471151
> # Now resize the window and
2000 Nov 08
1
Graphics-Device-Size vs. Window-Size
I want to layout on screen a graphic bigger than the screen (width=16.53543,
height=11.69291) but strwidth() and strheight() give wrong results.
> x11(width=42/2.54, height=29.7/2.54, pointsize=12)
> plot(1,1, type="n", xlim=c(0, 1), ylim=c(-1, 0), xlab="", ylab="",
axes=FALSE)
> strwidth("Whatever")
[1] 0.08471151
> # Now resize the window and
2000 Dec 28
1
some (may be related) problems with windows(rescale=) (PR#794)
###############################################################################
Before reporting 4 problems with windows(rescale=) I want to congrat on R1.2 and to thank r-developers for quickly adding the rescale workaround to the windows version.
Happy New Year
Jens Oehlschlaegel
###############################################################################
2004 Jul 16
3
Email eller vedhæftet fil blokeret
Email eller vedhæftet fil afsendt fra din adresse (eller med din adresse som afsender) er blevet afvist fra Allerød Kommune.
Spam og virus bliver typisk sendt under dække af andre afsendere og den blokerede email behøver derfor ikke oprinde direkte fra dig. (Husk dog altid at have et opdateret antivirusprogram på din computer.)
Du kan evt. scanne din computer med det gratis' værktøj
2008 Jul 18
1
par("din") vs dev.size()
Hello,
I was messing around with graphics, and noted an odd behavior of par("din"). If
the x11 device is empty, par("din") does not return the correct size
if the device
has been resized manually. dev.size() works correctly.
R version 2.7.1; Fedora 8
# case 1 - empty device
> x11()
> dev.size()
[1] 6.995263 6.994187
> par("din")
[1] 6.995263 6.994187
#
2010 Sep 20
1
ERROR: Object not found
Dear All,
I am trying to use ode solver "rk4" to solve an ODE system, however, it
keeps saying: Error in eval(expr, envir, enclos) : object "dIN" not found.
The sample codes are enclosed as follows, please help me. Thank you very
much!
rm(list=ls())
library(odesolve)
# The ODE system
ode <- function(t,x,p){
with(as.list(c(x,p)),{
2010 Sep 20
1
Ask for help with Error: Object not found
Dear All,
I am trying to use ode solver "rk4" to solve an ODE system, however, it
keeps saying: Error in eval(expr, envir, enclos) : object "dIN" not found.
The sample codes are enclosed as follows, please help me. Thank you very
much!
rm(list=ls())
library(odesolve)
# The ODE system
ode <- function(t,x,p){
with(as.list(c(x,p)),{
2006 Apr 11
1
Graphics device size
Dear All,
When working with composite plots many times I have to manually adjust the
graphics display window size to get the best results (in Windows XP). I can
then find the size of the adjusted window in inches using par("din").
Now I would like to export the adjusted graphs as png's and have them look
as close to the original display as possible. The problem is that the png
2009 Mar 19
1
Difference in client vs. server graphics defaults
Hello,
I am having trouble with the difference between default graphic settings on
my client machine and the instance of R on our company's server. I created a
script locally that output graphs, but when I run it on the server the
output graphs have titles running past the margins, legends improperly
placed, etc. I checked the default par() settings and found differences
between my machine
2007 Jun 15
1
interpretation of F-statistics in GAMs
dear listers,
I use gam (from mgcv) for evaluation of shape and strength of relationships
between a response variable and several predictors.
How can I interpret the 'F' values viven in the GAM summary? Is it
appropriate to treat them in a similar manner as the T-statistics in a
linear model, i.e. larger values mean that this variable has a stronger
impact than a variable with smaller F?
2002 Jul 02
2
Samba 2.2.5 Printing problem with HP Designjets
Hello,
I sent this request already last week, but got no answer (maybe I did
not use a good subject).
My problem is the following:
I use server side drivers with samba 2.2.5 and cups. I add them usually
with cupsaddsmb. This works quite well, but I have trouble with printers
with really large papersizes. I have some HP Designjet in our Network,
we need for our mechanical engineers, as well as
2015 Jul 03
1
dual-booting <- Re: installing Cents os server 7.0
On 7/2/2015 5:22 PM, Warren Young wrote:
> If your car has a DIN 7736 bay, you can easily replace the existing head unit without redesigning the car. This is directly equivalent to repartitioning and installing CentOS alongside Windows.
how many modern cars have DIN mount stereos anymore? almost all have
some weird custom shaped dashboard specific stereo insert. sure, you can
get DIN
2012 Nov 01
3
Duda gráfico DIN A-4
Hola,
¿Alguien me puede indicar cómo conseguir que un gráfico se adapte al formato DIN-A4, con su correspondiente verticalidad?. ¿Hay que hacerlo "manualmente" o existe algún parámetro/función que lo controle?.
Gracias.
Eva
[[alternative HTML version deleted]]
2006 Oct 14
2
error in lme4 for R 2.4.0 (PR#9297)
Full_Name: Din Chen
Version: 2.4.0
OS: Windows XP
Submission from: (NULL) (66.17.122.18)
I just updated the R.2.4.0. and got the error message for random effect
modelling, which was working on R.2.3.1.
library(lme4)
mmod <- lmer(bright ~ 1+(1|operator), pulp)
summary(mmod)
Then when I tried to extract the residuals and random effect using:
resid(mmodr)
ranef(mmodr)
I got error message:
2000 Jul 27
3
R under Win2000?
Dear all,
Will R run under Win2000 or is it safer to stay with NT4.0 for a while?
Regards
--
Dr. Jens Oehlschl?gel
Analyse
BBDO InterOne
Gr?nstr. 15
40212 D?sseldorf
Tel.: +49 (0)211 1379-187
Fax.: +49 (0)211 1379-461
http://www.bbdo-interone.de
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2000 Nov 20
0
Graphic window
I just recently started using R-Plus and find it excellent. However, I
have come up against something I want to change in the graphics window but
can't.
I am using R 1.1.1 on Windows NT4 PC. I have drawn two graphs - one on top
of the other - but I want them to use the whole page. I checked the values
of din, and these are set to din[1]=6.8 and din[2]=6.79. How can I change
these to
2007 Jan 26
1
Inferring dimensions on bitmap device from par()
Hi,
I am trying to infer the dimension of an opened bitmap (png, jpeg,
bitmap device...) from par() parmeters. From the help on par(), I
found that:
> dim <- c(400, 200)
> png("foo.png", width=dim[1], height=dim[2])
> dim2 <- par("din") * par("cra") / par("cin")
> dev.off()
> dim2
[1] 399.9999 199.9999
I've tried the above on
2012 Mar 03
4
Sliding a Window in R
Dear all,
I am having a vector of around 300.000 elements and I Want to slide fast a window from the first element until the last-Windowsize
what I have so far is the following for statement:
for (i in 1:(length(data[,1]) - windowSize)) {
out[i] <- mean(data[i:(i + windowSize - 1), ])
elements[i]<-length(i:(i + windowSize - 1))
}
but this of course takes ages to
2012 Mar 03
1
Sliding Window in R (solved)
Dear all,
you can find below my solution for sliding a window. Please find below the code for the two alternatives and the benchmarks.
install.packages('caTools')
require(caTools)
do_sliding_for_a_window_duty_cycle <- function(DataToAnalyse, windowSize) {
data<-DataToAnalyse
out <- numeric()
elements<- numeric()
if (length(data[,1]) >= windowSize){
for
2001 Jan 15
1
Memory problem 2 (PR#815)
Dear R-developer,
Just some more details on the problem I reported several minutes ago.
On an NT machine (4.0 SP6) I got the following for the same task:
> version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 2.0
year 2000
month