Displaying 20 results from an estimated 900 matches similar to: "how to read a web page and extract an html table?"
2000 May 24
3
order() results
Hi,
Let?s consider aux1. I wanted to order its data considering its first column as the index
> aux1[1:4,]
V1 V2 V3 V4 V5 V6
1 0.08506724 150 1956 15.08 233.82 463.295 14
2 0.76205323 203 1922 15.35 218.74 463.295 14
3 0.86274890 195 1835 12.54 203.39 463.295 14
4 0.37940715 152 1567 24.73 190.85 463.295 14
> aux2 <-- aux1[order(aux1[1:4,1]) , ]
> aux2
2011 Dec 07
2
reading partial data set
Hi all,
I'm trying to read a data set into R, but the file is messy, so I have to do
it partially. The whole data is in a .txt file, and the values are separated
by a space. So far ok. The problem is that in this file, not all the lines
have the same number of elements, and the reading stops. And I loose the
reading of the previous lines.
ex. of data set:
11 12 13
21 22 23
31 32
2003 Jul 18
3
question about formulating a nls optimization
Dear list,
I'm migrating a project from Matlab to R, and I'm
facing a relatively complicated problem for nls. My
objective function is below:
>> objFun <- function(yEx,xEx,tEx,gamma,theta,kappa){
yTh <- pdfDY(xEx,tEx,gamma,theta,kappa)
sum(log(yEx/yTh)^2)
}
The equation is yTh=P(xEx,tEx) + noise.
I collect my data in:
>> data <-
2006 Apr 11
1
problems with assign
Hello.
I have n files in a directory: file1, ..., filen.
I read them with the following commands:
list=scan(file="list",what=list(nom=""))
# in the file list, I have all the filenames.
n=length(list[[1]])
for (i in 1:n){
aux <- paste("p",i,sep="")
assign(aux, as.matrix(read.table(list[[1]][i])))
}
R creates the matrices p1,p2,...,pn.
I want
2017 Jun 12
2
Agregar a un data.frame de manera automatica
Buenas,
Tengo un monton de variables que quiero meter en un data.frame.
Las variables las he ido extrayendo de la siguiente manera
for(i in 1:240) {
#saco el inicio de cada refrigeracion
aux1 <- paste("inicio.refri", i, sep = ".")
assign(aux1,datos[which.max(datos[,109+i]),"LogDateTime"])
}
Y quiero buscar una funcion que me permita meter esas 240
2013 Jul 04
3
odd inconsistency with nfs
I'm having an interesting/odd problem with nfs (I think). We recently
(Monday/Tuesday) upgraded our file server from an ancient redhat 7.3
system to a shiny new centos 6.4 system. We don't see any issues between
the other centos boxes, but things get a bit weird when we start
mounting on the old solaris clients.
The initial symptom was that the 'tab complete' wasn't
2005 Jul 21
1
Rsync hangs.
Sirs;
I have read your web site page current issues and debugging and I am
interested in how to debug a rsync issue which ends with the following
message:
io timeout after 60 seconds -- exiting
rsync error: timeout in data send/receive (code 30) at io.c(181)
I have compiled rsync on a hpux 11.11 server and I am using rsync-2.6.4.
The remote machine is running rsync as a deamon in inetd.
2002 Jun 27
3
plot(..., type="h") w/ origin not at y=0
Is it a way to make plots with vertical lines, like plot(x, y, type="h"),
but starting from a different value than y=0.
For example, with x=1:3, y=-(1:3), y.orig=-3 :
-1 |
|
y -2 | |
| |
-3 | | |
1 2 3
x
Thanks
--
Cyril Humbert
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list --
2010 Dec 17
4
How to arrange the data
Dear R helpers
I have one data as given below.
date value1 value2 value3
30-Nov-2010 100 40 61
25-Nov-2010 108 31 88
14-Sep-2010 11 180 56
I want the following output
date name amount
30-Nov-2010 value1
2006 Mar 23
1
AIC mathematical artefact or computation problem ?
Dear R user,
I have made many logistic regression (glm function) with a second order
polynomial formula on a data set containing 440 observation of 96
variables. I?ve made the plot of AIC versus the frequency
(presence/observations) of each variable and I obtain a nearly perfect
arch effect with a symmetric axe for a frequency of 0.5 . I obtain the
same effect with deterministic data. Maybe
2004 Oct 22
1
R2HTML installation on R 1.9.1
Hello,
I am trying to install R2HTML version 1.4-3, but am getting errors when I try to use it. I am running R 1.9.1 on Redhat Linux Ent 3 AS x86_64. I installed R2HTML using the following command "R CMD INSTALL R2HTML_1.4-3.tar.gz". I did not get any errors when installing it. When I launch R and type library('R2HTML'), I get the following error:
>
2007 Jul 17
2
Combine R2HTML and Rcmd BATCH?
Hi All,
I have an R script that spawns output in the form of an HTML page. This
is done by the R2HTML package.
Now I want to run the same script using Rcmd BATCH. However, it seems
that it is not possible to use R2HTML in this case.
My script ends with this error message:
#########################
Error in dev.print(png, file = AbsGraphFileName, width = Width, height =
Height, :
can only
2006 Jun 03
1
HTML masked (due to Rpad?)
With an older verion of R (I think 2.2.0) and an older version of Rpad I
used to use HTML(go, collapse=false) where go is list of objects returned by
a function and this worked great. Now that I have done some upgrading (to R
2.3.1 and Rpad 1.1.0) its not working right. I also get a warning when I
start R that HTML is masked. And when I do ?HTML R tells me that HTML shows
up in to places, Rpad
2006 Oct 13
2
bug: Editing function formals deletes the environment
First, here's the specific bug I have. Later I'll say why I care.
> ls(zappo)
Error in try(name) : object "zappo" not found
# good.
> f = function(zappo) { function(y) zappo + y }
> g = f(1)
> g(1)
[1] 2
> formals(g)
$y
> formals(g)$y
> formals(g)$y = 2
> g
function (y = 2)
zappo + y
> g(1)
Error in g(1) : object "zappo" not found
2007 Jun 18
1
Loading problem with R2HTML package
I have downloaded latest version of R2HTML (v1.54) for 64-bit windows PC. My
R version 2.5.0. My problem arises when i want to install SciViews-R which
need R2HTML package.
> library(R2HTML)
Error in `parent.env<-`(`*tmp*`, value = NULL) :
use of NULL environment is defunct
Error: package/namespace load failed for 'R2HTML'
Any remedy ?
Regards
--
View this message in
2007 May 03
2
Install SciView under Windows Vista
Hello-
I have been trying to install SciView under Windows Vista (Home Premium
version,
32 bit OS, Intel Core Duo 2.13GHz, 2Gig RAM).
I am getting an error, apparently related to the R2HTML package (version
1.54)
as you will see in the R information below my signature.
I have tried to email directly to support@sciviews.org for support but have
had my message returned as undeliverable.
Your help
2004 Apr 20
1
Error while loading R2HTML in Rprofile
Hi List,
When loading library(R2HTML) in Rprofile I get the following error:
Error in firstlib(which.lib.loc, package) :
couldn't find function "ps.options"
Error in library(R2HTML) : .First.lib failed
[Previously saved workspace restored]
% ps.options is there
% Loading the library from the command prompt works fine, other libraries load fine through Rprofile.
% This
2007 Jan 26
1
CGIwithR and visible output of 'invisible(capture.output(library(...)))'
Dear alltogether,
I want to use CGIwithR in conjunction with R2HTML.
A small example called 'test.R':
#####
#! /usr/bin/R
invisible(capture.output(library(R2HTML)))
HTML(summary(as.numeric(scanText(formData$numbers))), file=stdout())
#####
The script gets its input via 'CGIwithR.cgi' and contains the variable
"numbers."
The 'HTML' output (-> summary() in
2006 Jun 25
2
R Reporting - PDF/HTML mature presentation quality package?
I heartily second Phillipe's response. I just started a new job and the
first thing required was a neat stats report for a dataset. I thought I
would give R2HTML a try and about 5 minutes after downloading it, I was
looking at the first draft of the report. I did have to do a bit of
hacking on the graphics, but it was easy and I can now present the
report first thing in the morning. Had I
2010 Jun 05
2
R2HTML problem
Im developing an application with R and Gtk+. It's just a simple GUI which
helps new users to interactuate with R. Thing is, when you do a statistical
analysis, I also want to provide a HTML report, but HTMLStart doesnt work
propperly when executing from TinnR. It does create the file but not empty,
I've tried some examples from different websites, and it's always the same..
it works