similar to: Extracting information from webpages

Displaying 20 results from an estimated 2000 matches similar to: "Extracting information from webpages"

2004 Jun 14
3
How to 'stamp' a plot with meta-data?
Dear R users, Sometimes, for tracking purposes, I am interested to add to a plot some metadata such as * the date it was produced * filename that stores the plot * perhaps data sources, author, etc Ideally, I would like to be able to do this for any kind of plot, plot(), barplot(), hist(), etc.; and, to be able to produce plots with or without the metadata by a simple toggle mechanism.
2003 Dec 30
2
regexp problem on R 1.7.0
Hi, Am I missing something in using regexps in R? Below, 'egrep' means invokation of the command from the shell prompt. # I have > as.character(block.dist.vals) [1] "1e+06" "2e+06" "5e+06" # that I wish to convert to: "1" "2" "5" # OK (R and egrep) > sub( "e.+06", "", as.character(block.dist.vals) )
2006 Oct 09
3
Yum, duplicate packages, 4.3->4.4 upgrade.
Hi, I am running a CentOS 4.3 machine. I wish to move on to 4.4. My problem is that I have some 60 duplicate packages listed below. The kernel and gpg-pubkey packages are different versions of the same (none for the gpg) architecture. All the rest are a x86_64 and i[356]86 pairs. 1. Is this a problem? 2. If yes, what should I do? a) remove the duplicates (the i[356]86) and then 4.3 ->
2005 Apr 05
3
How to do aggregate operations with non-scalar functions
Hi, I have a data set, the structure of which is something like this: > a <- rep(c("a", "b"), c(6,6)) > x <- rep(c("x", "y", "z"), c(4,4,4)) > df <- data.frame(a=a, x=x, r=rnorm(12)) The true data set has >1 million rows. The factors "a" and "x" have about 70 levels each; combined together they subset
2006 Jul 06
4
LVM Input/output error
Hi, I recently installed centos for the first time and I like it! Also, I just started working with lvm. The following warnings are genertated whenever I run one of lvm commands on the external usb disk (MyBook by Western Digital). * What could be the source for those messages? * Should I worry about them (writing into the created LV's seems to work)? * If yes, how to fix them? [root
2006 Nov 11
2
Strange yum behavior
Hello, 'yum search R' returns an impossibly-long list. So I tried 'yum search R.x86_64' and 'yum search R-2.3.0' and few others to no avail. (Google revealed that R package does exist in kbsingh repository.) However, 'yum install R' did offer to install the correct package. Can someone enlighten me as to why did the searches failed or generated a hugh list
2004 Feb 19
1
piece wise application of functions
Dear all, After struggling for some time with *apply() and eva() without success, I decided to ask for help. I have 3 lists labeled with, each contains 3 different interpolation functions with identical names: > names(missgp0) [1] "spl.1mb" "spl.2mb" "spl.5mb" > > names(missgp1) [1] "spl.1mb" "spl.2mb" "spl.5mb" > >
2010 Feb 05
2
Spider Plot color problem
Hi all, I have encountered a problem which appears to have defeated my (admittedly nascent) R skills. I want to draw a spider plot with many cases (just over 300). I am primarily interested in the difference between 4 categories of cases, and want to display them as different colors. the col.stars parameter does not change the color of the lines (which I'm after), but fills the stars in
2004 Jan 15
2
Legend text -- discrepancy between X11 and postscript
Hi, When I place a legend on a plot it looks exactly as I intended on the screen. However, almost always, when I export this to postscript file, the legend's text protrudes through the legend's frame (the latter being placed correctly). See the appended example code. I can send the EPS file as well for those that are interested (<4 kb; <200 lines). I found nothing in the FAQS,
2004 Sep 01
1
Alternative architecture CentOS 3 builds?
Hi there. Although RHEL 3 is available for several different architectures, CentOS appears to only be available for the i386 architecture. Are alternative architecture rebuilds outside the scope of the CentOS project, or is there some other specific reason for that? If one wanted to rebuild CentOS for, let's say the AMD64 architecture, would that be a difficult process, or is it just
2004 Oct 27
2
Signing key for recent x86_64 CentOS-3 updates
(reposting 'cause I sent the last one from a non-subscribed address) Hi there. I tried "yum update"ing my x86_64 CentOS-3 box today, but the packages won't install and yum claims I don't have an appropriate signing key. I've been happily doing updates all along (last time was Oct. 12) with no trouble. The key ID used to sign the x86_64 packages is 219180cddb42a60e
2013 Jan 28
2
Query on package to use for investment quotes
Hi all, Diverging from my research based number crunching I am interested to see what, if any R packages are out there that can access daily market values of investment funds (e.g. using http://quote.morningstar.com/fund/f.aspx?t=PDMIX) then store the data value (i.e. NAV =$11.56 ) with date retrieved so these can be plotted with ggplot2 on some regular basis. A web search turned up a
2008 Aug 18
2
[Vorbis-dev] MT9 Capabilities
> This'd be codec specific Unless a Skeleton track is used instead (this is supposed to describe the tracks within a multiplexed Ogg stream). But Skeleton is nascent too.
2012 Nov 14
1
devtools - document() weiredness
Hello, Please try this: > library(devtools) > create("mdaa") > setwd("mdaa") > dev_mode() d> install() Produces ...* DONE (mdaa) Reloading installed mdaa But when I then try to build documentation d> document() devtools/roxygen just hangs with a "?" like so: Updating mdaa documentation Loading mdaa ? I know this scenario is strange as
2004 Jan 15
3
Extracting multiple elements from a list
For a long time I've wanted a way to conveniently extract multiple elements from a list, which [[ doesn't allow. Can anyone suggest an efficient function to do this? Wouldn't it be a sensible addition to R? For example, alist <- list() alist[[1]] <- list() alist[[1]]$name <- "first" alist[[1]]$vec <- 1:4 alist[[2]] <- list() alist[[2]]$name <-
2004 Jun 09
4
how to initialize random seed properly ?
I want to start R processes on multiple processors from single shell script and I want all of them to have different random seeds. One way of doing this is sleep 2 # (with 'sleep 1' I am often getting the same number) ... set.seed(unclass(Sys.time())) Is there a simpler way without a need to sleep between invoking different R processes ? Ryszard
2005 Apr 22
3
Problem with R-2.1.0: install.packages() doesn't work
I installed R-2.1.0 from source on a Linux box running Red Hat Enterprise Linux WS release 4 but install.packages() wouldn't work (see below). When I install R-2.0.1 from RPM on the same system, everything is fine. Version 2.1.0 (2005-04-18), ISBN 3-900051-07-0 . . . > options(CRAN = "http://cran.fhcrc.org/") > install.packages("rgenoud") --- Please select a CRAN
2006 Jun 27
3
Possible to get a definition of a function from a package to use without invoking the package?
Hi, I often use the mod() and instring() functions that are available in the clim.pact package. This package has a lot of dependencies, including installation of netCDF, and I haven't yet been able to get library(clim.pact) to work on a Mac OS 10.4.6. A previous request for help with the Mac problem yielded no results, so now I wonder if I could just extract the definitions for the couple
2004 Oct 14
3
Problem with number characters
I am trying to process text fields scanned in from a csv file that is output from the Windows database program FileMakerPro. The characters onscreen look like regular text, but R does not like their underlying binary form. For example, one of text fields contains a name and a number, but R recognizes the number as something other than what it appears to be in plain text. The character string
2008 Oct 13
2
Using an image background with graphics
I would like to use a map or aerial photo as a background to plotting solid lines and text, and semi-transparent color contours, in base and lattice graphics. Plot coordinates need to be consistent with the georeferenced background. For example, a color contour plot would have an gray-toned aerial photograph as a background for overprinted semi-transparent color contours of some spatially