Displaying 20 results from an estimated 6000 matches similar to: "Windows/7706 (PR#7889)"
2005 Apr 20
3
if(foo == TRUE) .. etc
Martin Maechler wrote:
> More generally, please, please, everyone :
>
> Replace
> if (something == TRUE)
> with if (something)
> and
> if (something.or.other == FALSE)
> with if (!something.or.other)
Amen! And right on! And you tell 'em! And a few other
exclamations, several of which are not suitable for a family
program.
That sort of syntax,
2005 Mar 22
1
Segfault with savePlot
I get a segfault when using savePlot("foo","pdf"). FWIW, I don't have a
problem using the canonical
pdf("foo.pdf")
plot(something)
dev.off()
Best,
Jim
> R.Version()
$platform
[1] "i386-pc-mingw32"
$arch
[1] "i386"
$os
[1] "mingw32"
$system
[1] "i386, mingw32"
$status
[1] "Under development (unstable)"
2009 Dec 07
3
savePlot for Mac and / or Linux?
Hi all,
In the package rtlu, I use the function savePlot. It is convenient since
it let the user decide in which graphic format he wants his graph to be
export.
But when I run R CMD check, I get the following message :
> rtlu(V1,fileOutput="First.tex",textBefore="\\section{Variable 1 to
3}",graphName="V1")
Error in savePlot(filename = nomBarplot, type = type)
2005 Aug 22
1
cbind and rbind
Hi, I have been trying for a while to use cbind and rbind to add a row and column to the same table but seem to be able only to add one OR the other???
Any help would be most welcome,
Tony Evans
Australia
[[alternative HTML version deleted]]
2005 Feb 07
1
THANK YOU:-)
Thank you all for your help :-) Much Much Aprreciated........
I tried with the "jitter" command and it worked :-)
Cheers,
Latha
> -----Original Message-----
> From: Latha Raja
> Sent: Monday, February 07, 2005 3:21 PM
> To: 'r-help at stat.math.ethz.ch'
> Subject: Need your help with my R plot
> Importance: High
>
> Hi,
>
> I am using R to
2005 Apr 29
2
congratulations to the JGR developers
Just want to offer my congratulations to the JGR developers as the recepient
of the 2005 Chambers Award. Great job, guys!!
http://stats.math.uni-augsburg.de/JGR/
[Now, could JGR be updated to work with 2.1.0 (or be made R version
independent, please... 8-)]
Best,
Andy
2006 Mar 10
1
add trend line to each group of data in: xyplot(y1+y2 ~ x | grp...
Although this should be trivial, I'm having a spot of trouble.
I want to make a lattice plot of the format y1+y2 ~ x | grp but then fit a
lm to each y variable and add an abline of those models in different colors.
If the xyplot followed y~x|grp I would write a panel function as below, but
I'm unsure of how to do that with y1 and y2 without reshaping the data
before hand. Thoughts
2003 Aug 04
7
^ operation much slower in R 1.7.1 than in R 1.7.0 ???
I do not understand what happens here (under Win XP):
a <- abs(matrix(rnorm(800*800)/2, ncol=800, nrow=800))
system.time(b <- a^1000)[3]
took about 1 sec on my computer with R 1.7.0 and it takes now 4.59 sec with
R 1.7.1
Similarly,
phi <- 1.6180339887498949
a <- floor(runif(750000)*1000)
system.time(b <- (phi^a - (-phi)^(-a))/sqrt(5))[3]
took about 0.9 sec with R 1.7.0, and it
2003 Aug 04
7
^ operation much slower in R 1.7.1 than in R 1.7.0 ???
I do not understand what happens here (under Win XP):
a <- abs(matrix(rnorm(800*800)/2, ncol=800, nrow=800))
system.time(b <- a^1000)[3]
took about 1 sec on my computer with R 1.7.0 and it takes now 4.59 sec with
R 1.7.1
Similarly,
phi <- 1.6180339887498949
a <- floor(runif(750000)*1000)
system.time(b <- (phi^a - (-phi)^(-a))/sqrt(5))[3]
took about 0.9 sec with R 1.7.0, and it
2006 Apr 07
3
finding common elements in a list
Suppose I have a list where I want to extract only the elements that occur
in every component. For instance in the list foo I want to know that the
numbers 2 and 3 occur in every component. The solution I have seems
unnecessarily clunky. TIA, Andy
foo <- list(x = 1:10, y=2:11, z=1:3)
bar <-unlist(foo)
bartab <- table(bar)
as.numeric(names(bartab)[bartab==length(foo)])
2004 Nov 11
6
scan or source a text file into a list
I've ported somebody else's rather cumbersome Matlab model to R for
colleagues that want a free build of the model with the same type of I/O.
The Matlab model reads a text file with the initial parameters specified as:
C:\Data\Carluc\Rport>more Params.R
# Number of years to simulate
nYears = 50;
# Initial year for graphing purposes
year0 = 1970;
# NPP/GPP ratio (cpp0 unitless)
fnr =
2004 Nov 17
4
summary.lme() vs. anova.lme()
Dear R list:
I modelled changes in a variable (mconc) over time (d) for individuals
(replicate) given one of three treatments (treatment) using:
mconc.lme <- lme(mconc~treatment*poly(d,2), random=~poly(d,2)|replicate,
data=my.data)
summary(mconc.lme) shows that the linear coefficient of one of the
treatments is significantly different to zero, viz.
Value Std.Error
2005 Nov 10
2
ltext - adding text to each panel from a matrix
Hi all (really probably just Deepayan):
In the plot below I want to add text on either side of each violin plot that
indicates the number of observations that are either positive or negative.
I'm trying to do this with ltext() and I've also monkeyed about with
panel.text(). The code below is generally what I want but my calls to
ltext() are wrong and I'm not sure how to fix them.
2003 Aug 06
3
How to copy and paste a R plot onto Word (or Power Point)
All,
Anybody can tell how to export a R plot onto Word (or Power Point)?
Many thanks in advance.
-MY
2005 Dec 14
2
R for Windows server
Hi,
I need to run a burdensome simulation. I'm using a Dell PowerEdge 2850, 3.8 Ghz CPU, 2 Gb RAM, Windows server 2003, 32 bit. The task manager indicates that Rgui.exe is using 25% of the CPU speed. There is no other process that is slowing down R.
Does anyone know if it's a limitation of R? If so, can I set up the program for the CPU usage like I do for the memory usage? Is there a
2004 Oct 16
3
Lazy loading... advices
Hello,
I am looking for more information about lazy loading introduced in R 2.0.0.
Doing
?lazyLoad
I got some and there is a 'see also' section that points to
'makeLazyLoading'... But I cannot reach this page.
My problem is: I recompiled a library that uses a lot of functions from
other libraries (of course I can give details if needed). I load it in my
computer: library(svGUI),
2009 Mar 01
1
probleme with savePlot (to eps)
Hi the list,
I used savePlot to export some eps graph but it seems that the graph
file hold a bug. I include the graph.eps in a LaTeX file. Running latex
is ok. But the dvi file contain some mistake, the graph overprint on
some text and hide it. Then, when I try to convert it to another format,
I get :
Ignoring remaining special text following unkown PS operator: "SDict"
Remainder
2006 Jan 20
3
function for rowMedian?
Hi
is anybody aware of a function to calculate a the median for specified
columns in a dataframe or matrix - so analogous to rowMeans?
Thanks
Max
--
2005 Jul 05
1
Invalid device number in savePlot
Hi,
I recently encountered an error using the command "savePlot" when trying to
save the third of 3 open graph windows. After successfully saving and
closing the first two windows I receive an "Invalid device number in
savePlot" error. The following is copied and pasted from an example session
to illustrate the behaviour:
> windows()
> hist(rnorm(100))
> windows()
2004 Nov 18
2
[R-gui] RE: The hidden costs of GPL software?
John W. Eaton wrote:
> On 17-Nov-2004, Philippe Grosjean <phgrosjean at sciviews.org> wrote:
>
> | - There is no possibility to make a commercial GUI for R (thanks to
> | the GPL),
>
> This is false. Please don't confuse "commercial" (Red Hat
> and SuSE GNU/Linux distributions are commercial software)
> with "proprietary".
>
> jwe