Displaying 20 results from an estimated 100 matches similar to: "order() results"
2003 May 06
3
how to read a web page and extract an html table?
Hello all,
I want to read a table from a given web page.
If I do something like
> str="http://www...." # this is the web address
> aux1 <- url(str,open="rt")# open connection
> aux2 <- readLines(aux1) # read web page
aux2 contains the html file.
I want to extract the table from the html file.
Is there a function html2R, the opposite of R2html?
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
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
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
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
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
2008 May 13
1
R help: problems with step function
Dear List Members,
I have encountered two problems when using the step function to
select models. To better illustrate the problems, attached is an
R image which includes the objects needed to run the code attached.
lm.data.frame have factor variables with 3 levels.
The following run shows the first problem. AICs (* and **) are different.
I noticed that the Df for rs13482096:rs13483699 is 4,
2008 May 14
0
Problems with step function
Dear List Members,
I have encountered two problems when using the step function to
select models. To better illustrate the problems, an R image
(step.add1.test.RData)
which includes the objects needed to run the code (step.add1.test.R) can be
found at
www.biostat.wisc.edu/~pwang/r-help/<http://www.biostat.wisc.edu/%7Epwang/r-help/>
lm.data.frame have factor variables with 3 levels.
The
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.
2013 Mar 05
8
eDP screen corruption using linux 3.8 & xen 4.2
Konrad, et al,
I am seeing visual corruption (almost like an interlacing problem) with
i915 under Xen on some platforms using linux-3.8.
See attached file for an example of the visual corruption.
This particular platform is an HP Elitebook 2540p
The same kernel and ramdisk, when booted as native linux does not show this
corruption.
dmesg is attached, as well (out.txt) - but I did not see
2010 Jan 04
1
log-normal overlay
Hello,
Using the following lines of code, I created the following graph:
2010 Jan 04
1
log normal overlay
Hello,
Using the following lines of code, I created the following graph:
2014 Oct 25
4
linux kernel 3.17, freeze on resume
This may not be the proper place to raise this question but I've had little luck elsewhere.
After trying again, unsuccessfully this time, to install the proprietary NVIDIA driver, I've decided to focus my efforts on the open source Nouveau driver. I've seen video drivers blamed for varying degrees of "freeze on resume" but I'm not certain that's what I'm up
2008 May 09
3
Query: how to add quotes when importing a txt file
Dear R users,
I have a txt file of the form
10092007 24.62 24.31 24.90
11092007 19.20 23.17 22.10
13092007 24.71 27.33 23.10
14092007 27.33 27.90 24.10
15092007 28.22 28.55 24.30
16092007 28.53 29.24 27.40
17092007 24.19 30.64 26.80
18092007 22.60 20.62 28.40
19092007 8.89 1.70 14.70
20092007 21.27 2.92 17.30
21092007 22.38 24.72 8.80
22092007 23.94 24.73 20.40
23092007 25.33 25.12 22.60
2008 May 29
1
plotting zoo using datetime as xlim
is there a way to use the actual index value for plotting zoo objects
this is the way that the index is set up and a sample range of what I would
like to plot
01/01/06 00:00:00 - 01/01/06 23:45:00
{
library(zoo)
# chron
library(chron)
fmt.chron <- function(x) {
chron(sub(" .*", "", x), gsub(".* (.*)", "\\1:00", x))
}}
x <- structure(c(15.57, 15.5,
2000 Feb 14
2
Error in the inverse of a diagonal matrix?
I?m new to R so maybe this issue has been asked before and I still could not read the complete set of past messages sent to the list.
I found a weird behabiour that I will explain with a simple example. Lets consider the following block of commands:
> x <- diag(c(1,4,10))
> x
[,1] [,2] [,3]
[1,] 1 0 0
[2,] 0 4 0
[3,] 0 0 10
> invx <- x^-1
> invx
2006 Sep 29
2
scatter3d() model.summary coefficients?
Hello All,
I am a R newbie and am probably misinterpreting something really
obvious...
In the Rcmdr package there is a scatter3d() function that can fit a
curve and also provide coefficients for the model. If I'm understanding
this right, I think it's calling the lower level stats package function
lm(), which is the part that actually does the curve fitting.
Anyway, what has me
2008 Apr 19
1
Query: how to group data by months from a text file
Dear R-users,
I have to deal with (txt) files of the form
10092007 24.62 24.31 24.90
11092007 19.20 23.17 22.10
13092007 24.71 27.33 23.10
14092007 27.33 27.90 24.10
15092007 28.22 28.55 24.30
16092007 28.53 29.24 27.40
17092007 24.19 30.64 26.80
18092007 22.60 20.62 28.40
19092007 18.89 21.70 14.70
20092007 21.27 22.92 17.30
21092007 22.38 24.72 18.80
22092007 23.94 24.73 20.40
23092007 25.33
2011 Aug 15
4
Kernel 3.1.0-rc2 hangs on boot, Xen 4.1.1
Hello,
I tried out kernel 3.1.0-rc2 on my i386 Laptop with Xen 4.1.1. Booting
hangs after these messages on the VGA console:
pci 0000:02:09.0: address space collision: [mem 0x000da000-0x000dafff] conflicts with reserved [mem 0x0009f800-0x000fffff]
reserve RAM buffer: 00000000 0009f000 - 00000000 0009ffff
reserve RAM buffer: 00000000 38400000 - 00000000 3bffffff
reserve RAM buffer: 00000001
2011 Aug 15
4
Kernel 3.1.0-rc2 hangs on boot, Xen 4.1.1
Hello,
I tried out kernel 3.1.0-rc2 on my i386 Laptop with Xen 4.1.1. Booting
hangs after these messages on the VGA console:
pci 0000:02:09.0: address space collision: [mem 0x000da000-0x000dafff] conflicts with reserved [mem 0x0009f800-0x000fffff]
reserve RAM buffer: 00000000 0009f000 - 00000000 0009ffff
reserve RAM buffer: 00000000 38400000 - 00000000 3bffffff
reserve RAM buffer: 00000001