Displaying 20 results from an estimated 1200 matches similar to: "Using the Rprofile file to automatically plot data on Sta rtup of R version 2.0.1."
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
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({ :
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
2006 Sep 15
1
plot region too large
Hi!
I don't understand this:
layout(matrix(c(1:10),5,2),heights=c(1,rep(2,4)))
plot(1,1)
error in plot.new() : plot region too large
Why??????
Thanks!
Kamila
2005 Jan 05
1
Using the Rprofile file to automatically plot data on Startup of R version 2.0.1.
Dear R Help Members,
I have some R functions that plot semiconductor data. I would like to
automate these plots for individuals in our group such that they don't
have to know R. I have read the R help manuals and postings but have
not found this problem.
I am using R version 2.0.1 under a Windows 2000 operating system.
The following is a simplified version of what I am tring to do:
If
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
2004 Oct 19
2
Changing the Y graph scale Maximum value.
Hello,
I am new to R and have read the documents related to graphics but have
not come across a description of how to change the maximum scale on a
graph. Below is sample code that sets up a plot window with a 0 Minimum
to 10 Maximum, X and Y coordinate system:
x <- c(1,2,3,4,5,6,7,8,9,10)
y <- c(1,1.5,2,2.5,3,3.5,4,4.5,5,5.5)
plot(0:10, 0:10, type = "n" )# setting up coord.
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
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
2004 Oct 19
1
barchart fails when grouping variable has more than 7 levels (PR#7293)
Full_Name: Andreas Kiermeier
Version: 2.0.0
OS: Windows XP
Submission from: (NULL) (203.26.122.12)
I've struck a problem drawing barcharts after installing R 2.0.0. Previously
I've used the following command
print(barchart(100*result ~ sample,
groups=congener,
data=dioxin.2003.fresh.ub.p, stack=TRUE, ylim=c(0,102)))
to draw a stacked barchart of the
2004 Oct 20
1
Bug in 'rot=' of scales argument of barchart (PR#7296)
Full_Name: Andreas Kiermeier
Version: 2.0.0
OS: Windows XP
Submission from: (NULL) (203.26.136.133)
When "rot=-90" in the scales argument of barchart (and possibly other trellis
graphics) the axis label disappears behind the bars and only the last character
can be seen. For "rot=90" things work fine.
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 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
2010 Aug 01
2
[PATCHES] Smartjog PatchDump
(answering both mails in one, as they call back each other)
Michael Smith <msmith at xiph.org> writes:
> Can you file bugs and attach the patches to them in our bugtracking
> system? http://trac.xiph.org/
Sorry, I really don't feel like creating 3x tickets right now =)
> Mail dumps of patches are pretty much guaranteed to not get merged.
Understandable.
> From a very
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 Mar 14
0
fixed/ initialising trellis device {lattice}/ postscript
Thanks Andy
out<- xyplot(....)
print(out)
did the trick nicely.
Sam
----
Sam McClatchie,
Biological oceanography
South Australian Aquatic Sciences Centre
PO Box 120, Henley Beach 5022
Adelaide, South Australia
email <mcclatchie.sam at saugov.sa.gov.au>
Telephone: (61-8) 8207 5448
FAX: (61-8) 8200 2481
Research home page <http://www.members.iinet.net.au/~s.mcclatchie/>
2010 Jul 30
2
[PATCHES] Smartjog PatchDump
Le vendredi 30 juillet 2010 12:25:48, Michael Smith a ?crit :
> All that said: Icecast2 is largely unmaintained these days - I don't
> know if anyone is interested in going through these and figuring out
> which ones are mergeable, which need fixing, and which shouldn't be
> used at all.
Maybe its time to find include new contributors ?
If no one has time to review the
2011 Jun 15
2
Smartjog patchs
Hello,
I work for the company Smartjog (http://smatjog.com/) where we use a
modified version of Icecast. We would like to contribute back those patchs,
and hopefully have them merged in the official repository. I have posted
them on the patch tracker, so feel free to leave a comment on them.
Some of those patch are based on the work done by Niv Sardi (see
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