Displaying 20 results from an estimated 3000 matches similar to: "Cross-platforms solution to export R graphs"
2009 Jul 07
2
Tex fonts in R plots
Hello, R users.
I would like to display the font of Math Mode of MikTex 2.3, WinEdt 5.4
in R plots, e.g. in xlab, ylab or legend.
How can I do that?
Thank you in advance.
[R-pkgs] New package: `lavaan' for latent variable analysis (including structural equation modeling)
2010 May 24
2
[R-pkgs] New package: `lavaan' for latent variable analysis (including structural equation modeling)
Hi Yves
lavaan looks like a very nice package. From the tutorial introduction
I see you create path diagrams for some of the models you describe.
How did you do this? I don't see a function for this in the package.
I know there is a path.diagram function in the sem package that uses
dot to draw the diagram, but I've always found the layouts from dot
somewhat strange for path diagrams
2009 Jun 25
3
grid.polygon() + color gradient
Hi,
I wonder whether there is a way to generate a polygon (a triangle in
my case) with color gradient using grid.polygon() in package grid?
I tried something like
library(grid)
grid.polygon(x=c(0, 0.5, 1), y=c(0.5, 1, 0.5), gp=gpar(col=NA,
fill=colorRampPalette(c("green", "lightgray"),
space="Lab")(200)))
But am only
2011 Oct 14
1
pgfSweave-example not compiling
I'm trying to get pgfSweave up and running. Hopefully I can get it
working from within LyX, but first I'm just trying to get the simplest
possible thing (compiling one of the example files in the pgfSweave
package) to work. I'm using the example that comes in the pgfSweave
package unmodified, but for reference I copied it to:
http://pastebin.com/tW4RL6fs
Configuration:
R version
2009 Dec 15
2
R GUI editor window - help field does not return the help topic (PR#14146)
Full_Name: Yan Alperovych
Version: R 2.10.1, GUI 1.31
OS: Mac OS 10.6.2
Submission from: (NULL) (139.165.27.244)
Hello everyone,
I am not sure if I am at the right place to put this question, so don't hesitate
to redirect me to the correct mailing list. My question is about the editor
window under the R GUI on Mac OS 10.6.2. Before the upgrade to R 2.10.1 with GUI
1.31, I was able to call
2011 Sep 30
2
Understanding the workflow between sweave, R and Latex
Let's say I have written the following tiny .Rnw file:
_________________________________________
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{Sweave}
\usepackage{tikz}
\usepackage{pgf}
\begin{document}
<<>>=
sessionInfo()
@
\end{document}
_________________________________________
I then can go to R and use sweave to translate the .Rnw file into a .tex
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
2002 Dec 29
3
lowess + turnpoints = doubling integers?
Happy New Year, r-helpers!
I am using lowess to smooth a scatter plot,
xx<-lowess(xinput,f=.04) #defaults for other args
followed by
turnpoints(xx$y) #defaults for other args
I plot the smoothed result as well as turnpoints (using yy$tppos) on top of raw
data plot.
Result is exactly as expected, graphically.
For another purpose, I calcuate the difference between turnpoints (representing
2003 Nov 20
3
nls, nlrq, and box-cox transformation
Dear r-help members
I posted this message already yesterday, but don't know whether it
reached you since I joined the group only yesterday.
I would like to estimate the boxcox transformed model
(y^t - 1)/t ~ b0 + b1 * x.
Unfortunately, R returns with an error message when I try to
perform this with the call
nls( I((y^t - 1)/t) ~ I(b0 + b1*x),
start = c(t=1,b0=0,b1=0), data = mydataframe)
2006 Mar 29
7
S-PLUS 8 beta program [repost]
[Sorry about the duplicate posting; this one comes from the correct address.
Please respond to me with any questions about this -- David.]
Dear R-help readers,
As Insightful announced at the DSC2005 meeting in Seattle, the next
release of S-PLUS will introduce a new package system. Our goal is to provide
package authors the means to create cutting-edge statistical methods
currently available
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),
2003 Apr 22
2
Handling of upper/lowercase in package names (PR#2816)
Hi,
This is (presumably?) a bug in R 1.7.0 under Windows. I have not tested it
on other systems. Attachment of packages is case sensitive but not
library(), resulting in multiple loadings of the same package if the library
name is spelled differently. The following example loads the `tools'
package, once as `tools' and once as `Tools'. This behavior is the same with
all packages and
2006 Jul 17
7
R and DDE (Dynamic Data Exchange)
R and DDE (Dynamic Data Exchange)
Dear Rusers,
I run an application (not mine) which acts as a DDE server.
I would like to use R to get data from this application,
say once per minute, and do some processing on it.
I didn't find much info on the R DDE abilities, apart the tcltk2
package in which I will try to go deeper.
I would be very thankful for any info, pointer or advice about the
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
2008 May 13
3
R benchmarking program
Hi All,
I've just rebuild the latest R with the Goto BLAS on our new Intel quad core machines. I did a few basic matrix calculations, and I was very impressed by the performance I saw. I wonder if anyone has a more rigorous benchmarking program for R. I downloaded a old R test/benchmarking program (see below), and this didn't work with the current R, and so I wondered if anyone could
2010 Aug 15
2
as.logical(factor) behaviour
Hello,
According to ?as.logical:
"as.logical attempts to coerce its argument to be of logical type. For
factors, this uses the levels (labels)."
However,
> as.logical(factor(c("FALSE", "TRUE")))
[1] TRUE TRUE
Shouldn't it be the same as:
> as.logical(levels(factor(c("FALSE", "TRUE"))))
[1] FALSE TRUE
according to the
2003 Jun 26
1
assignment in lists
Hello,
I do not understand the following behaviour. Could someone explain me what
happens?
> a <- NULL
> a$item <- 1:3
> a$item
[1] 1 2 3
> rm(a)
> a <- NULL
> a[["item"]] <- 1:3
Error: more elements supplied than there are to replace
Why do I get an error message using list[["item"]], and not using list$item?
Best,
Philippe Grosjean
2010 Jan 19
5
OT: Software for specific visualisation of data...ideas?
Dear List,
A student in the Department where I work would like to produce a graphic
similar to this one:
http://image.guardian.co.uk/sys-files/Guardian/documents/2009/09/16/Public_spending_160909.pdf
Does anyone know if the figure in the pdf can be generated in a specific
software application for example? Any suggestions would be most
gratefully received by the student concerned.
Many thanks,
2003 Nov 12
1
Power (^) 10x slower in R since version 1.7.1... What next?
OK, I have made a little search about this "problem" that apparently occurs
only on Windows platform... (but I am sure most of you are already aware of
it): the slow down is due to the adoption of a different algorithm for pow
in mingw 3.x. This is motivated by some other changes in mingw. Here is a
quote of Danny Smith that did this change:
>When mingw changed default FPU settings