similar to: labels returned by cut() when include.lowest=T (PR#1263)

Displaying 20 results from an estimated 1000 matches similar to: "labels returned by cut() when include.lowest=T (PR#1263)"

2000 Jul 06
1
R 1.1.0 dev.print()
Hi, I just upgraded to 1.1.0 from 1.0.1 this morning on my OSF/1 machine. I now have problems with the following code: %E /tmp 43% R --vanilla Version 1.1.0 (June 15, 2000) ... > test2 <- function () { plot(runif(30)) ofile <- "/tmp/newfile.ps" dev.print(file = ofile) } + + + + + > > test2() Error in device(...) : Object "ofile" not found However, if
2005 Sep 01
1
R CMD BATCH on scripts without trailing newline
If the last line of an R script does not have a trailing newline, a small errror is produced at the end of the script. Small example. If file eg.r contains one line: getwd() and there is no newline after the closing paren $ R CMD BATCH eg.r produces an error: $ cat eg.r.Rout R : Copyright 2005, The R Foundation for Statistical Computing Version 2.1.1 Patched (2005-09-01), ISBN 3-900051-07-0
2002 Jan 05
1
abline and log plots (PR#1243)
Full_Name: Stephen Eglen Version: 1.4 OS: Redhat Linux 7.1 Submission from: (NULL) (128.252.204.36) abline() produces a spurious line in addition to the correct line, at least with the X11 driver. The postscript file generated also has nan values in it, which causes an error under ghostscript. xs <- c(0, 150, 300) ys <- c(75, 40, 23) par(mfrow=c(1,2)) plot(xs,ys, log="")
2000 Jun 08
7
R Equivalent to matlab's find() command?
hi, Just a very simple question: is there an R equivalent to the matlab command find(X) which returns the indices of vector X that store non-zero elements? e.g. > find( [1 0 0 1 0]) ans = 1 4 so, in R, how do I do: ans <- rfind( c(1,0,0,1,0)) so that ans is the vector c(1,4) thanks, stephen -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help
2000 Aug 02
1
Re: [R] problem clipping R postscript plots within latex (PR#623)
Martin Maechler <maechler@stat.math.ethz.ch> writes: > (from R-help) > PD> Stephen Eglen <stephen@cogsci.ed.ac.uk> writes: > > > > > generated by R into a latex document. Specifically, the latex package > > > > graphicsx allow you to specify the bounding box of the postscript > > > > file, so that you can just show
2000 Aug 01
1
problem clipping R postscript plots within latex
hi, I've noticed a small problem trying to include postscript plots generated by R into a latex document. Specifically, the latex package graphicsx allow you to specify the bounding box of the postscript file, so that you can just show _part_ of the postscript file if you tell it to also clip the area outside of the bounding box. I've previously used this LaTeX feature without problems
2000 Jul 06
0
Re: [R] R 1.1.0 dev.print() & dev.copy2eps -- bug{let} (PR#596)
>>>>> "StEgl" == Stephen Eglen <stephen@cogsci.ed.ac.uk> writes: StEgl> Hi, I just upgraded to 1.1.0 from 1.0.1 this morning on my OSF/1 StEgl> machine. I now have problems with the following code: StEgl> %E /tmp 43% R --vanilla StEgl> Version 1.1.0 (June 15, 2000) StEgl> ... >> test2 <- function () {
2012 Jun 16
2
aligning axis labels in a colorkey from levelplot
R does a great job with the fine details regarding plots. e.g in the following: library(lattice) y <- -4:4/10 xyplot(y~1, las=1) the y axis is labelled with numbers -0.4, -0.2, 0.0, 0.2, 0.4 with the numbers aligned on the decimal point. How do I get the same behaviour in the colorkey of a levelplot? e.g. levelplot(matrix(y,3,3)) the numbers in the colorkey seem left-aligned, and
2002 Nov 11
2
R 1.6.1: help with debugging error in RunGenCollect(), R_gc_internal
Hi, [System info: R 1.6.1 compiled from source (no args to configure) on Redhat 7.1 Linux i/386] I have some spatial statistics programs that recently (since R 1.6.1) have generated SIGSEGV. These R programs use the splancs library as well as some C code of my own for Voronoi analysis. The program has a big loop to fit various model parameters against a spatial distribution of biological
2012 Jun 16
2
Adding title to colorkey
A recent paper on visualisation (in Neuron, a leading neuroscience journal) surveyed how well previous articles in this journal labelled their graphs (e.g. axis labelling and describing their error bars). Of particular interest is that (only) 40% of plots labelled what their colorkey was showing (variable and units). The paper is at http://dx.doi.org/10.1016/j.neuron.2012.05.001 R is not yet
2004 Jan 30
0
savehistory() for ESS {was "ess and debug package"}
>>>>> "StEgl" == Stephen Eglen <stephen@inf.ed.ac.uk> >>>>> on Fri, 30 Jan 2004 12:56:48 +0000 writes: >> I was trying to use the new debug package from within emacs, I get the >> following error: >> >library(debug) >> Loading required package: mvbutils >> MVBUTILS: no "tasks" vector
2001 May 31
1
documentation for image(): zlim update (PR#962)
Full_Name: Stephen Eglen Version: 1.2.3 OS: Linux Submission from: (NULL) (128.252.204.186) The help file for image() currently says: The way in which `zlim' is divided into colours will be changed for the next major release (1.1.0) to divide the range into equal-length intervals. According to NEWS, this was indeed changed in 1.1.0, so perhaps it can now be removed from the
2001 Jun 18
1
typos in doc for write.table (PR#984)
Full_Name: Stephen Eglen Version: 1.2.3 OS: Linux (Redhat 6.1) Submission from: (NULL) (128.252.204.186) Hi, two small typos in `?write.table' (R 1.2.3) In the doc of the append parameter: append: logical. If true, the output is appended to targshe file. that should be "... to the file". and in the Details section, a full-stop is missing after names: Normally there is no
2000 May 30
2
Documentatio: typo in Writing R Extensions (PR#557)
Full_Name: stephen eglen Version: 1.0.0 OS: Unix (OSF/1) Submission from: (NULL) (129.215.238.26) Hi, in the documentation `Writing R Extensions', the section 3.6.1 (handling the effects of garbage collection) has the following typo: Protecting a SEXP pointer protexts ... Should that be `protects'? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2004 Oct 29
3
R-exts.texi: suggestion for small change to Vignette section (PR#7323)
I recently wrote a vignette, with the following at the top of the .Rnw file: %%\VignetteIndexEntry{How to use look up tables for h() functions} %%\VignetteDepends{sjedmin, spatstat} Using vExplorer() on this function, I got an error from this part of getVigInfo(): lines <- grep("^%[[:space:]]*\\\\Vignette", file) if (length(lines) == 0) stop("File ", vig,
2002 Feb 28
1
How to turn off the beep made by locator()?
Hi, [I'm Using redhat linux 7.1 with R-1.4.1 rpms.] Last summer, Henrik Bengtsson wrote to R-help: > Is there a way to turn of the (annoying) beep that occurs when one calls the > locator() command and clicks the mouse. Try > > plot(0) > locator(n=10) > > I am running Rterm on WindowsMe/Cygwin bash and I don't know if this is the > case on other platforms.
2003 Mar 04
1
suggestion for addition to R-lang.texi
Small suggestion for the documentation: Should the = operator for assignments, described on http://developer.r-project.org/equalAssign.html, now be included in the operator table in doc/manual/R-lang.texi? If so, one possibility could be after lines 1096/7: @item @code{<-} @tab Left assignment, binary @item @code{=} @tab Left assignment, binary Also, where is the best place to send
2007 Apr 30
2
Rscript.Rd example (PR#9644)
One of the examples in Rscript.Rd seems mis-formatted, in that the format statement is incomplete: ## Not run: Rscript -e 'date()' -e 'format(Sys.time(), " Both Rscript.Rd in R 2.5.0 and the version at: https://svn.r-project.org/R/trunk/src/library/utils/man/Rscript.Rd have Rscript -e 'date()' -e 'format(Sys.time(), "%a %b %d %X %Y")' Do
2000 Dec 07
0
plot of a cut
I have made a cut of a numeric vector and try to plot it. However only half of the x-axis annotations (the labels) appear on the plot, apparently because of the font size. I have tried cex.lab, cex.axis (what is the difference?) etc. The x labels are never printed whatever value I use from 0.0005 to 20. I can't obtain a way to make all the labels appear correctly. Between the short help
2003 May 29
4
Postscript query: plotting long vectors
Hi, I have a query about the maximum length of vector that can be plotted in one go in a postscript driver. Try the following code (in 1.7.0; version details below): t <- seq(from=0, to=4*pi, length=200000) y <- sin(t) postscript(file="o.ps") plot(t, y, type="l") dev.off() If I view the postscript file o.ps in "gv", it takes many seconds before eventually