similar to: read.list()

Displaying 20 results from an estimated 3000 matches similar to: "read.list()"

2004 Jul 15
3
More on global environment
To follow up on my previous question, suppose a user R session wants to unload one workspace and load another within an R session. Is the following the correct sequence? 1. save.image() to save the current workspace as .Rdata in the current working directory. 2. rm(list=ls()) to remove everything from the workspace. 3. setcwd("xxx") to set the new working directory. 4.
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 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:
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 Dec 20
4
Installing packages into updated R
A minor inconvenience in updating an R installation is remembering which packages were installed previously. Has anyone written a script to inspect a previous installation, then get & install the same packages into the new installation? -- Michael Prager NOAA Center for Coastal Fisheries and Habitat Research Beaufort, North Carolina 28516 Opinions expressed are personal, not official.
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
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
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 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
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
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
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
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
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
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
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 Oct 03
3
Getting eps into Word documents.
A student in one of my courses has asked me about getting R graphics output (under Linux) into a Word document. I.e. she wants to do her R thing under Linux, but then do her word processing using Word. Scanning around the r-help archives I encountered an inquiry about this topic --- eps into Word documents --- from Paul Johnson but found no replies to it. I tried contacting him but the email
2004 Dec 20
2
Producing "Editable" Graphs for PowerPoint
Hello, (apologies, I'm not entirely sure whether this question is about R or my limitations with PowerPoint). I've submitted a paper (which has been accepted) but the journal now require me to submit graphs that are "editable in PowerPoint". I would be grateful for suggestions as to how I should do this. The best route seems to be to copy-and-paste the figures from the
2006 Jul 13
3
colors on graph
Hy all, I need to draw something in 2 dimension that has 3 dimension, the choice has been made to use colors to display the third dimension into the graph. Has someone done something like that, i can't figure out how to parametize the colors. Thks for all ideas, COMTE Guillaume [[alternative HTML version deleted]]