Displaying 20 results from an estimated 20000 matches similar to: "No subject"
2002 May 16
3
building packages on windows
Has anyone had success building a package on a windows machine?
I am trying the following command with no luck (perhaps my flags are
incorrect?). At this point I am stuck. Any help greatly appreciated.
Niels Waller
(BTW - I have no idea why it cannot find sh.exe since I have it is a
directory that is specified in a path statement)
H:\R\bin>rcmd build --binary --use-zip h:\taxon2
* checking
2010 Sep 10
1
Greek letter included in a character vector
Hello,
In the past I have used "expression" to include greek letters in axis labels,
but this time I need to include the greek letter as part of a legend. Basically,
I need to create the following vector to rename the levels of a factor:
c("Interferon-gamma", "IL-10", "IL-5"), where "gamma" obviously needs to be
printed as the greek letter
2001 Sep 10
3
inter tick distance
R colleagues,
I am stumped. I would like the inter-tick distances to be the same on the x
and y axes but cannot determine how to do so when the lower half of the y
axis is not printed. Thanks for any and all suggestions. (btw, setting
par(pty="s") does not solve my problem)
Niels Waller
M<-matrix(c(2,1,
-1,3),2,2,byrow=TRUE)
2002 Jun 14
3
calling an editor on MAC and Linux
I have written an R function that writes output to an external file using
the sink function. I assume that `sink' is not operating system dependent.
At the end of the function I have additional code that opens the newly
created file using notepad on a Windows system. Obviously, this part of the
code will not work on a Mac or Linux box. Since I do not have a machine
with Linux or the Mac OS
2003 Dec 17
1
Building packages in XP
R users,
I recently upgraded (?) to Windows XP from 2000. I am trying to build an R
package. I have done this many times on my old system and I am not sure why
it is not working in XP.
To build the package I call a bat file that specifies all the necessary
paths -- but the "build" file (which appears to be a perl script) is looking
for a "src" subdirectory in the src
2001 Mar 01
1
SOM code
The (slow) SOM code can be found on my web page (towards the bottom)
http://peabody.vanderbilt.edu/depts/psych_and_hd/faculty/wallern/
On Thu, 1 Mar 2001, John Aitchison wrote:
>
> Is there an implementation of the SOM ('Self Organizing Map') procedure in
> R ?
>
> I am aware of the implementations of Sammon mapping, multidimensional
> scaling and, somewhat
2012 Feb 09
1
complex subscript/superscript on axis labels
Hi All,
I am having trouble getting a complex subscript to work. I'm sure it's
possible. Here is what I have:
ylab=expression(paste("log ",L[peak]," [erg ",s^{-1},"]")),
I would like to have the subscript read "peak,gamma" where the gamma
would be the greek symbol. I do want the comma to show as well.
Thanks,
EM
2004 Jan 07
1
Sweave and X11 on OSX 10.3
Hi -
I'm running R 1.8.1 (compiled from source) on Mac OS X 10.3 (Panther). I
find that, if Apple's X11 application is not running, Sweave gives an
error when it wants to create a pdf or eps figure. E.g., in the package's
own example-1.Snw file a boxplot is created at chunk 2:
<<fig=TRUE,echo=FALSE>>=
boxplot(Ozone ~ Month, data = airquality)
@
Normally this will create
2004 Dec 22
2
Creating packages in windoze: *** [indices] Error 1
Dear R community,
I am running R 2.0.1 on a Windoze XP OS. I recently upgraded from R 1.9x to
2.0.1 and I am currently
upgrading a my personal function packages. My other packages compiled
without
a hitch but I am having a difficult time with my largest package.
Can someone please help me with the following error message
"Error in parse(file, n, text, prompt) : syntax error on line
2007 Oct 18
1
R-graphics printing greeks
I have tried to print a table of greek alphabet names and symbols
without success. I can print one character at a time but can't seem to
find a way to automate an entire list of the symbols. Some of the code I
have tried is below. I have searched on help, worked the examples in the
December 2002 R Help Desk article and plotmath but have not been able
to find a way to accomplish the
2006 Dec 14
1
legend/plotmath/substitute problem
Dear R Experts,
I am trying to produce a legend for a series of plots which are
generated in a loop. The legend is supposed to look like this:
2000: gamma=1.8
where gamma is replaced by the greek letter and both the year and the
value of gamma are stored in variables.
Everything works fine as long as I have only one data series:
year = 2001
g = 1.9
plot(1)
legend('top',
2008 Jan 29
1
Convert string for expression in plot
Hi,
Although I understand how to use expression and paste to add
superscripts and symbols to my graphs, I have a problem with adding
superscripts to an existing string.
For example, I read in the following from a separate file:
25Mg(p,g)
I want to convert that to superscripts etc. (in LaTex format):
$^{25}$Mg(p,$\gamma$)
This needs to then be put into a graph title.
Any ideas? I know that I
2010 Oct 08
2
font question on pdf device
Hi,
I wonder if this is something on my machine locally or R in general.
When I do the following:
> plot(c(0,1),c(0,1),main=expression(paste(symbol("D"),"D",sep="")))
I get a plot with a title having uppercase delta followed by "D". But in
the following
> pdf(file="deltaTest.pdf")
>
2002 Jun 19
3
unexpected results
Is R behaving correctly in this example? I do not understand why column 2
has any 2s in it (and why column 3 has any 1s)
> x<-matrix(0,10,3)
> x[seq(1,10,by=2),2:3]<-c(1,2)
> x
[,1] [,2] [,3]
[1,] 0 1 2
[2,] 0 0 0
[3,] 0 2 1
[4,] 0 0 0
[5,] 0 1 2
[6,] 0 0 0
[7,] 0 2 1
[8,] 0 0 0
[9,] 0 1
2007 Jun 19
3
Controlling text and strip arrangement in xyplot
I've searched the archives and read the xyplot help but can't figure
out the 2 lattice questions below?
Consider:
library(lattice)
DF <- data.frame(x=rnorm(20), y=rnorm(20), g1=rep(letters[1:2], 10),
g2=rep(LETTERS[1:2], each=10),
g3=rep(rep(letters[3:4],each=5),2))
xyplot(y ~ x | g1 + g2, groups=g3, data=DF)
1) Is there a way to get one strip per row and column
1998 Nov 28
1
No subject
Dear Friends,
Yesterday I posed a question to the list concerning the possibility of doing
animation examples in R. Here is an example S-Plus (4.5 for Windows ) that
I wrote to illustrate my problem. If I try this in R (comment out the
graphsheet and guilocator calls) I don't see my results until after the
function has iterated through the 100 trials. I would like to plot each
iteration.
2002 Apr 15
3
Greek in text()
I have gone over the examples and can't figure this out:
rho<-.77
text(x=.05,y=.5,paste(expression(rho),rho))
I was hoping to get this to print a Greek rho with 0.77 beside it.
Instead I get: rho 0.77 (i.e. Roman lettering)
The help on expression() is quite opaque so I don't understand how it
works.
Thanks for any help.
Bill Simpson
2005 Feb 22
6
Run Sweave and LaTeX directly from command line
Hello!
Those of you, who use Sweave a lot, will probably find my shell script
usable. You can get it at:
http://www.bfro.uni-lj.si/MR/ggorjan/programs/shell/Sweave.sh
No warranty, however don't hesitate to contact me if you find an error or
have a patch!
--
Lep pozdrav / With regards,
Gregor GORJANC
---------------------------------------------------------------
University of
2002 Jul 10
2
incorrect URL (PR#1764)
Hi -
a tiny bug report:
the list of mirror sites given at www.r-project.org/
mentions
http://cran.mirror.aarnet.edu.au/
This domain does not exist (well, from Western Australia
netscape says the domain doesn't exist) but I found
the mirror at
http://mirror.aarnet.edu.au/pub/CRAN/
regards
Adrian Baddeley
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2002 Jul 10
2
incorrect URL (PR#1764)
Hi -
a tiny bug report:
the list of mirror sites given at www.r-project.org/
mentions
http://cran.mirror.aarnet.edu.au/
This domain does not exist (well, from Western Australia
netscape says the domain doesn't exist) but I found
the mirror at
http://mirror.aarnet.edu.au/pub/CRAN/
regards
Adrian Baddeley
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-