similar to: Flushing print buffer

Displaying 20 results from an estimated 12000 matches similar to: "Flushing print buffer"

2010 May 04
2
read.table: skipping trailing delimiters
Hi, I am trying to read a tab-delimited file that has trailing tab delimiters. It's a simple file with two legitimate fields. I'm using the first as row.names, and the second should be the only column in the resulting data frame. Initially, R was filling the last column with NA's, but I was able to stop that by setting
2006 Jun 12
2
Chapters
I'm surprised this isn't a FAQ, but I searched all over and could not find a reference to it. Chambers (1998) makes repeated references to "Chapters" in S (e.g., p. 6), but I can find no reference to "Chapters" in R. Since Chapters were not used in earlier versions of S, I'm wondering if R uses them or not. If it does, how does one get them to work? I've
2010 Apr 04
4
ggplot2 geom_rect(): What am I missing here
Hi R fans, As a newbie following the five-hour rule (after hitting my head against the wall for five hours, post to this list), I am appealing for some help understanding geom_rect() in ggplot2. What I want to do is very simple. I want to generate a plot of rectangles. Each one represents a business cycle. The x-values will be pairs representing the start and end of each cycle. The y-values
2010 May 03
2
Hierarchical factors
Hello, Hierarchical factors are a very common data structure. For instance, one might have municipalities within states within countries within continents. Other examples include occupational codes, biological species, software types (R within statistical software within analytical software), etc. Such data structures commonly use hierarchical coding systems. For example, the 2007 North
2010 Mar 18
1
Do colClasses in readHTMLTable (XML Package) work?
Hi, I can't get the colClasses option to work in the readHTMLTable function of the XML package. Here's a code fragment: require("XML") doc <- "http://www.nber.org/cycles/cyclesmain.html" table <- getNodeSet(htmlParse(doc),"//table") [[2]] # The main table is the second one because it's embedded in the page table. xt
2010 Apr 02
1
Plots don't update with xlab, etc. What am I doing wrong.
Hi, I've been struggling with this problem the last few days and finally discovered it's happening at a very fundamental level. Going through Stephen Turner's tutorial on ggplot2, I entered these base graphics commands: > with(diamonds, plot(carat,price)) > with(diamonds, plot(carat,price), xlab="Weight in Carats", ylab="Price in USD",
2010 Mar 02
1
Reading data file with both fixed and tab-delimited fields
Hello R wizards, What is the best way to read a data file containing both fixed-width and tab-delimited files? (More detail follows.) _*Details:*_ The U.S. Bureau of Labor Statistics provides local area unemployment statistics at ftp://ftp.bls.gov/pub/time.series/la/, and the data are documented in the file la.txt <ftp://ftp.bls.gov/pub/time.series/la/la.txt>. Each data file has five
2010 Apr 09
1
Beyond reshape: automatically streamlining data
Hello, I've been very impressed by the reshape package and how easy it makes reorganizing statistical data structures. This makes me wonder if there's another package out there that addresses another set of tasks that one often does when preparing data for analysis. For any particular set of analyses, one typically recodes variables and deletes cases and variables. It would be really
2010 Jul 27
2
Introductory statistics and introduction to R
Hi, I have a bright, diligent second-year graduate student who wants to learn statistics and R and will, in effect, be taking a tutorial from me on these subjects. (If you've seen some of my questions on this list, please don't laugh.) As an undergrad he majored in philosophy, so this will be his first foray into computer programming and statistics. I'm thinking of having him use
2006 Jul 18
2
FW: Large datasets in R
Hi, I have two further comments/questions about large datasets in R. 1. Does R's ability to handle large datasets depend on the operating system's use of virtual memory? In theory, at least, VM should make the difference between installed RAM and virtual memory on a hard drive primarily a determinant of how fast R will calculate rather than whether or not it can do the calculations.
2010 Apr 26
1
Upgrading R using the "global library folder" strategy -, what do you think about it?
On 4/25/2010 19:39:52, Tal Galili wrote: > *c) R core implementation ?!* > I hope I am not being rude (or jumping into any open doors) in asking this > but... > What do you think about implementing this strategy into the R basic > installation? > > > Tal, As a general rule, I think R should make upgrading as easy and seamless as possible. Upgrading strategies seem
2010 Apr 27
0
R-help Digest, Vol 86, Issue 28
On 4/26/10 21:45:55 R P Herrold wrote: > Date: Mon, 26 Apr 2010 21:45:55 -0400 (EDT) > From: R P Herrold<herrold at owlriver.com> > To: Marshall Feldman<marsh at uri.edu> > Cc:r-help at r-project.org > Subject: [R] Upgrading R using the "global library folder" strategy -, > what do you think about it? > Message-ID:<alpine.LRH.2.00.1004262141510.25472
2010 May 07
2
How to re-arrange data in R
Dear users, I have monthly station data (44) stations data for 45 years which I have read in R using read.table. the data is in the format: Year Month Station1 Station2 ...................................... Station 44 (i.e the column names in the 1st row), I also have the latitude and longitude of the stations in a separate file in R (in the format : Station LAT LON). I wish to
2010 Jul 19
2
Historical Libor Rates
Hello All, Does anyone know how to download historical LIBOR rates of different currencies into R? Or if anyone knows of a website that holds all this data...I only need up to january of 2000. Also, how can we make the row names the index of a plot (the names of the x values)? [[alternative HTML version deleted]]
2006 Jun 15
0
S4 class slot name 'names' is not allowed (PR#8768 S4Methods)
Hello, Besides the problem with using "names," one has a similar problem using ".Data" together with "VIRTUAL." Consider the top of p. 295 of the green book. This should work (I had to change "structure" to "junk" because "structure" is a sealed class definition): setClass("junk",
2006 Dec 07
0
FW: test of spatial dependence?? - ask a geographer (was ask an ecologist)?
No, you do not necessarily need the XY coordinates. You can also use polygon (field, in your case) adjacency information. See Rogerson, Peter A. 2001. _Statistical methods for geography_. Thousand Oaks: Sage. You might also look at GeoDA, a free and soon-to-be open source spatial analysis package. For your application, it might be easier to use than R. Go to https://www.geoda.uiuc.edu/.
2010 Jul 27
0
how to generate a random data from a empirical, distribition
On 7/27/2010 6:00 AM, r-help-request at r-project.org wrote: > Date: Mon, 26 Jul 2010 11:36:29 -0700 (PDT) > From: xin wei<xinwei at stat.psu.edu> > To:r-help at r-project.org > Subject: [R] how to generate a random data from a empirical > distribition > Message-ID:<1280169389379-2302716.post at n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > >
2010 Apr 09
1
Combining ggplot2 objects and/or extracting layers
Hi, Other then rebuilding the plots, is there any way either (1) to combine existing ggplot2 plots or (2) to extract a layer from an existing plot so that it can be added to another? Thanks. -- Dr. Marshall Feldman, PhD Director of Research and Academic Affairs Center for Urban Studies and Research The University of Rhode Island email: marsh @ uri .edu (remove spaces) Contact
2006 Apr 19
1
Thousands Separator
I am a new R user, and am struggling with how to add a comma to the tick mark labels in a bwplot or a boxplot. I think the default values of the labels are fine, I just want them to appear with commas. If I use the function boxplot, I can then use axis(2,labels=format(axTicks(2),big.mark=",")) but that just overlays them on the existing labels which I don't know how to
2008 Apr 11
1
Fileshares failing
Hi, I used to have a set of samba shares working fine on a Centos 4 machine, accessed by XP clients and authenticated against a 2003 SBS server. Then I did a yum upgrade and a week later noticed that the seldom-used SMB shares have stopped working. No other changes to the Centos server, and no domain changes. The XP clients now just keep prompting for authentication. A wireshark trap shows