Displaying 20 results from an estimated 1000 matches similar to: "More on global environment"
2002 Dec 23
1
Plot scales
I remember reading somewhere that locations on plots (in my case, arguments
x and y for legend()) can be specified in several scales besides the usual
data scale. I would like to set x and y as proportions of total plot size
or something similar. Can anyone steer me to documentation on how to do it?
--
Michael Prager, Ph.D. <Mike.Prager at noaa.gov>
NOAA Center for
2002 Aug 08
1
PR #1833 Clarification (PR#1890)
This is (correctly) filed under "non-reproducible."
The corresponding notes say "solved by re-installing Windows (private
comm)." I would like to clarify that this was solved by re-installing the
patch known as "Windows 2000 Service Pack 2," not by reinstalling Windows
itself. Perhaps my original message was not clear.
I point this out because installing the
2005 Feb 08
4
Renaming columns in data.frame, inserting/removing columns from data.frame
Hello,
I'm hoping that there is an easier way to rename columns in a data frame
other than by using the names() assignment, which requires you to type in
all the column names at once for a data.frame, in the case that I simply
want to rename a single column in a data frame.
Also, is there an easy way to move columns in a data frame around relative
to the other columns?
Thanks in
2003 Oct 18
2
Oceanographic lattice plots?
R 1.8.0 on Windows XP Professional. A huge THANK YOU to the R Team for
this marvelous software.
I am making lattice plots of oceanographic data. The usual layout does not
conform to plotting conventions that marine scientists use when depth is
the independent variable. Under those conventions, plots are made with the
origin at the upper left, depth on the vertical axis (increasing as it
2006 Feb 07
1
Reading in FORTRAN data using R
Hi There:
I was wondering if there is a way to read FORTRAN list data (similar to
IDL's readf function). I often use FORTRAN for most of my number
crunching, and use something like IDL to visualize and perform
statistical analysis on that data. Since the each file is rather large
(>100 Mb), formatting the output into columns or tables is impractical,
hence the "list"
2005 Sep 25
0
Tip: Working directory in titlebar
I hope others may find this useful. I use R in many different
directories. By adding the following line to the .Rprofile file:
utils:::setWindowTitle(paste("-",getwd()))
the titlebar of each R instance shows the directory from which it was
started. I have tested this with rterm.exe and rgui.exe under Windows
and with RECENT versions of R only.
-----
For changing directories
2004 Sep 24
5
using tcltk in R under ESS/XEmacs on Windows
Sorry for the cross-post. Not sure where the problem is...
A while back I posted an R function to R-help:
cd <- function (dir = tclvalue(tkchooseDirectory()), saveOld = FALSE,
loadNew = TRUE) {
stopifnot(require(tcltk))
if (saveOld)
save.image(compress = TRUE)
setwd(dir)
rm(list = ls(all = TRUE, envir = .GlobalEnv), envir = .GlobalEnv)
if (loadNew &&
2006 Feb 13
2
Plotting contour & filled.contour in one graph
Dear All,
I have a question on overlaying a filled.contour (e.g. on soil properties data) and contour (by elevation) in one graph. Both have the same z matrix dimension. I'm able to overlay both graph, but the plots dimension did not overlap well on the same plots. How can I have both filled.contour and contour on the same graph? The commands that I have written are as follows:
2005 Dec 14
2
Problem with dir.create (R2.2.0 Windows XP 2002 SP 2)
I've run into a problem with dir.create on R2.2.0 Windows XP 2002 SP 2.
setwd("d:/")
print(dir.create("d:\\otis-sim\\rdata", recursive=T))
print(dir.create("d:\\otis-sim\\", recursive=T))
Both return false and fail to create the directories.
setwd("c:/")
print(dir.create("d:\\otis-sim\\rdata", recursive=T))
Returns true and succesfully
2006 Mar 10
2
2nd R console?
hello all, i'm forwarding this question for a colleague.
"Is it possible to open a 2nd R Console?"
regards,
mark+
--
mark garey
ucsf
department of epidemiology and biostatistics
division of biostatistics
185 berry street, suite 5700
san francisco, ca. 94107-1739
415.514.8147
2004 Jul 20
4
read a file
Hi everyone,
I am having a problem reading my data file in R. It only
reads part of it, and stops doing it in half way through the
data. I looked at the observation where reading stops, but
it is really not different from the observations read it. I
expanded the matrix size, but it did not help. I am using a
text format to read the data file. Could someone help me?
Thank you
Soyoko
2006 Apr 24
4
GUI font size
Dear R People:
On the Edit menu, there is a GUI preference tab.
On the Font option, the highest value is 18.
Has anyone ever had the font size set larger than that will any
success, please?
Thanks,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess at gator.uhd.edu
PS Windows, R 2-2-1
2004 Jan 09
2
r: fortran help
Hi all
I would like to know if anybody knows of either a good book or web site
that explains one how to use Fortran. I would like to call some of the
Fortran subroutines but before I can do that I first want to learn how
to code in Fortran.
Regards
Allan
2006 Feb 15
2
common title for graphs in a (1x2) layout
Dear all,
Many thanks for the help suggesting the use of "layout" cmd.
How to insert a title in a 1x2 layout? The title is related to both graphs.
I looked for it in help, unsuccessfully.
Thanks in advance,
Rodrigo.
my reproductible code:
----------------------------------------------------------------------
def.par <- par(no.readonly = TRUE)
nf <- layout(matrix(c(1,2),
2005 Jan 17
3
How do I format something as "0.000"?
Hi,
I would like to use the format function to get numbers all with three
digits to the right of the decimal point, even in cases where there is no
significant digit left. For example, I would like to get
c(0.3456789,0.0000053) as "0.346" "0.000".
It seems that it is not possible to force format to print a "0.000", i.e.
without any significant decimal places.
Is it
2005 May 11
3
Graphics file to disk
Dear All,
I have some code that works in S-Plus for writing saving a graphics file to disk :-
graphsheet(type = "auto", format = "WMF", file = "G:\\north0l.wmf",
pages = "auto", print.background = F,
orientation="landscape",
color.style="color")
plot(x,y)
dev.off()
This works fine in S-Plus.
I have tried playing
2005 Jul 12
1
Calling R from fortran
Hi,
The following may sound stupid so please forgive my stupidness. I have a
question which I don't know how to name it so I have to start from the
beginning. In an attempt to gain better understand how a photochemical
air qaulity model works, I plotted hourly ozone concentration contour
from the model's standard output to observe the changes in simulation.
Because the model actually
2005 Nov 21
3
Warning message help
I am trying to great a new column of effort data from an existing vector
of gears used.
It is a simple code where
effort[Gear==300]=(DIST_TOW*7412)
effort[Gear==301]=(DIST_TOW*7412)
The code appears to work for some of the data but fails for others and
inserts a NA value
I also get this warning message
Warning message:
number of items to replace is not a multiple of replacement length
Can
2002 Oct 02
2
R vs Fortran
Dear R experts
I work in computational fluid dynamics in 2D: I have a 200-by-200
array of fluid properties such as density and velocity and these
evolve in time (the precise equations depend on the problem).
Up to now, I've been using Fortran and the code is very very messy.
It works, but a professional programmer friend of mine saw the source
code once, and had to be strapped down for his
2004 Feb 05
2
I am totally lost on how to install R . . .
First . . . SUBSCRIBE (I want to subscribe to the list).
Second, I am trying to install R on windows XP. In looking at the
instruction manual I get the following:
The simplest way is to use 'rw1081.exe' or 'miniR.exe'. Just
double-click on the icon
and follow the instructions. If you installed R this way you can
uninstall it from the Control Panel.
How do I get the