Displaying 20 results from an estimated 700 matches similar to: "plot region too large"
2005 Jan 06
1
Using the Rprofile file to automatically plot data on Sta rtup of R version 2.0.1.
Dear John,
I belive your problem has to do with the sequence of startup. I think that
.Rprofile is called before the required libraries are attached.
You might like to try putting your code into a .First() function and run it
that way.
Cheers,
Andreas
Dr Andreas Kiermeier
Statistician
SARDI FOOD SAFETY PROGRAM
33 Flemington Street
Glenside SA 5065
Phone: +61 8 8207 7884
Fax: +61 8
2005 Oct 18
2
Lattice graphics strip labels for shingles
Dear all,
back in 2002 Martin Henry H. Stevens wrote
(https://stat.ethz.ch/pipermail/r-help/2002-May/019851.html)
> How do I control the text in strips? Specifically, I want to put in the
> ranges generated in shingle(x) where x is continuous.
with an answer from Deepyan Sarkar (see strip.new towards the end of this
message). I assume that the answer worked back then, but I've tried
2005 Feb 23
1
package check - empty line at end of .R file
Dear R-devel members,
I'm in the process of building a package (akmisc) for my own use (Win XP, R
2.0.1 Patched - see details at end).
As I was adding functions (and hence more source .R files) to my package it
got to the point were "R CMD check" failed with the following error (output
has been cut).
* checking S3 generic/method consistency ... WARNING
Error in .try_quietly({ :
2007 Aug 30
3
piecewise linear approximation
Dear list,
I have a series of data points which I want to approximate with exactly two
linear functions. I would like to choose the intervals so that the total
deviation from my fitted lines is minimal. How do I best do this?
Thanks!
Kamila
The information transmitted in this electronic communication...{{dropped}}
2006 Aug 07
1
Running out of memory when using lapply
Hi all!
I'm afraid I programmed something totally non-sensical and inefficient,
but I can't figure out how to do it better.
I have a list of ~ 40 000 characters. I want to take each element at a
time, map it to a large data frame with
hit=which(data.frame$column==elementFromList), then compute some
statistic on data.frame[hit,] and return a result that consists of
either 1) a list
2011 Nov 01
2
drawing ellipses in R
Hello,
I have been following the thread dated Monday, October 9, 2006 when Kamila Naxerova asked a question about plotting elliptical shapes. Can you explain the equations for X and Y. I believe they used the parametric form of x and y (x=r cos(theta), y=r sin(theta). I don't know what r is here ? Can you explain 1)the origin of these equations and 2) what is r?
Sincerely,
Mary A. Marion
2006 Oct 09
2
Add ellipse to plot
Is there a way to plot elliptical shapes? symbols() only provides circles...
Thanks!
Kamila
2006 Apr 18
1
Different results under Windows and Linux
Hi everyone,
disturbingly, a PCA yields different results when I run the analysis
under Windows and Linux.
I open the same workspace (which is on an independent partition) and
perform the exact same function (by using the history file).
Interestingly, PC1 is the same, but PC2 comes out totally different.
Thanks!
Kamila
Windows:
platform i386-pc-mingw32
arch i386
os
2007 Nov 08
1
Installing the Matrix package
Hi all,
is the Matrix package no longer available for download via install.packages?
When I try to install it (from any mirror), I get the following error message:
install.packages("Matrix",lib="/home/kn52/R-2.5.0/library")
Warning message:
package 'Matrix' is not available in
install.packages("Matrix",lib="/home/kn52/R-2.5.0/library")
Other
2005 Jan 06
0
Rprofile file to automatically plot data, tried using the .First command.
No. You put the _whole_ thing into .First(), not just the plot statement.
One possibility is to have the code in a script file (say myscript.R) and
define .First as follows:
.First <- function() source("myscript.R")
Haven't try it myself, though.
Andy
> From: John Fisler
>
> Dear Dr. Andreas Kiermeier and the R help Community,
>
> Thank you for your idea on
2001 Nov 29
3
Reset trellis plot backgroud color
Hello,
I run R on Windows 2000. When I load lattice library and plot some lme class
objects, the graphic window displays a dark-green color. Graphics look ok on
the screen, but lines and points become invisible whem I send the plot to a
printer because of the background color. Are there ways to reset the
background color? Both par(bg=) and windows() do not work. Any ideas?
Richard
2006 May 19
4
Cross correlation/ bivariate/ mantel
> Background:
> OS: Linux Ubuntu Dapper
> release: R 2.3.0
> editor: GNU Emacs 21.4.1
> front-end: ESS 5.2.3
> -----------------------------
> Colleagues
>
I have two spatial datasets (latitude, longitude, fish eggs) and (latitude, longitude, fish larvae) at the same 280 stations (i.e. 280 cases). I want to determine if the 2 datasets are spatially correlated. In other
2002 Mar 21
5
repeating rows or columns within a matrix
Hello
Spse I have a matrix, say
1 2 3
4 5 6
7 8 9
and I would like to expand it by repeating rows within the matrix, to
get, if the repeating factor is 2, say:
123
123
456
456
789
789
(or columnwise as well) . There must be a smart way of doing that?
Many thanks
Juhana Vartiainen
juhana.vartiainen at labour.fi
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2005 Jul 28
2
lattice/ grid.layout/ multiple graphs per page
Background:
OS: Linux Mandrake 10.1
release: R 2.0.0
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
---------------------------------
Colleagues
I have a set of lattice plots, and want to plot 4 of them on the page.
I am having trouble with the layout.
grid.newpage()
pushViewport(viewport(layout = grid.layout(2,2)))
pushviewport(viewport(layout.pos.col = 1, layout.pos.row = 1))
working trellis
2005 Aug 15
4
return unique values from date/time class object
Background:
OS: Linux Mandrake 10.1
release: R 2.0.0
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
---------------------------------
Colleagues
I have a wind speed time series with a normal frequency distribution and a
spike in the 5 metres/second bin. The most likely explanation is that the
instrument was returning duplicate values at this speed. To check this, I
want to extract all the unique
2005 May 13
4
Encryption
Hi All,
I am using rsync to backup our office server to our Internet server (RHE).
As an association for doctors we are looking at providing a backup service
for their practices using rsync. As it would be patient data it would need
to be encrypted. I have found a few options, namely
esync
wurt
rsyncrypto
Does anyone have experience with the above and perhaps like to recommend
one? On the
2005 Jun 21
3
R-help
Background:
OS: Linux Mandrake 10.1
release: R 2.0.0
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
---------------------------------
Colleagues
Is there a function in R that is an equivalent of zoom in matlab? This is
very useful for being able to magnify details in a plot.
I have searched the help for "zoom", "interactive zooming", and "magnify".
The R search
2005 Sep 13
1
R CMD INSTALL -l /path/to/library packagename
Background:
OS: Linux Mandrake 10.1
release: R 2.1.1
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
Colleagues
Since I upgraded to R 2.1.1, I am getting a an error message from R CMD
INSTALL packagename that says
R_HOME ('/usr/local/lib/R') not found.
That's not too surprising, since R is now in /usr/lib/R, but what is
confusing me is that
R CMD INSTALL -l /path/to/library
2005 Mar 14
1
initialising trellis device {lattice}/ postscript
Background:
OS: Linux Mandrake 10.1
release: R 2.0.0
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
---------------------------------
Colleagues
I am using:
trellis.device(postscript, file="../figures/name.ps")
.....code to generate the trellis display here ....
graphics.off()
to create a postscript from a working xyplot display.
The problem is that the postscript file appears to be
2005 Jan 19
1
looking for a basic spatial diff function
Background:
OS: Linux Mandrake 10.1
release: R 2.0.0
editor: GNU Emacs 21.3.2
front-end: ESS 5.2.3
---------------------------------
Colleagues
Is there a function to calculate distances between adjacent latitude/
longitude pairs in a matrix? It is basically a spatial diff() function that
I have in mind.
Data:
long1, lat1
long2, lat2
long3, lat3
looking for: diff(data$long, data$lat)