Displaying 20 results from an estimated 3000 matches similar to: "Wish: change behaviour of header in read.fwf (PR#9252)"
2006 Oct 30
4
read.fwf and header
Hi!
I have data (also in attached file) in the following form:
num1 num2 num3 int1 fac1 fac2 cha1 cha2 Date POSIXt
1 1 f q 1900-01-01 1900-01-01 01:01:01
2 1.0 1316666.5 2 a g r z 1900-01-01 01:01:01
3 1.5 1188830.5 3 b h s y 1900-01-01 1900-01-01 01:01:01
4 2.0 1271846.3 4 c i t x 1900-01-01 1900-01-01 01:01:01
5 2.5 829737.4 d j u w 1900-01-01
6 3.0
2006 Oct 30
4
read.fwf and header
Hi!
I have data (also in attached file) in the following form:
num1 num2 num3 int1 fac1 fac2 cha1 cha2 Date POSIXt
1 1 f q 1900-01-01 1900-01-01 01:01:01
2 1.0 1316666.5 2 a g r z 1900-01-01 01:01:01
3 1.5 1188830.5 3 b h s y 1900-01-01 1900-01-01 01:01:01
4 2.0 1271846.3 4 c i t x 1900-01-01 1900-01-01 01:01:01
5 2.5 829737.4 d j u w 1900-01-01
6 3.0
2006 Jun 20
1
Wish/suggestion: add output of citation() to package "manuals" (PR#9009)
Dear R core,
influenced by recent panel discussion in Vienna I think that it would be
nice to add package specific output of citation() function to package
reference manuals. I think that apropriate place would be just after
fields from DESCRIPTION file. This will be OK for CRAN, but not for
locally installed packages as there is not reference manual there (at
least on my linux box) - why is this
2005 May 10
0
Fwd: Extract just some fields from XML]
Duncan, you are a king!
Thanks a lot for this cookie. It really helped me. Thanks for the code
as well as detailed explanation at the end.
>Hi Gregor.
>
>Here is a function that will collect all of the nodes in the
>XML document whose names are in the vector elementNames
>
>getElements =
>function(elementNames)
>{
> els = list()
>
> startElement = function(node,
2006 Mar 22
0
[Fwd: Re: levels for list and data.frame]
I unintentionally missed to cc to r-devel.
-------- Original Message --------
Subject: Re: [Rd] levels for list and data.frame
Date: Tue, 21 Mar 2006 20:50:21 +0100
From: Gregor Gorjanc <gregor.gorjanc at gmail.com>
Reply-To: gregor.gorjanc at gmail.com
To: Martin Maechler <maechler at stat.math.ethz.ch>
References: <441F2C49.8080703 at gmail.com>
<17439.50351.172900.987055
2005 Feb 15
0
Re: [Rd] corrupt data frame: columns will be truncated or padded with NAs in: format.data.frame(x, digits = digits)
James, thanks for the response.
I understand now my puzzle.
tmp <- data.frame(y1=1:4, f1=factor(c("A", "B", "C", "D")))
tmp$y2 <- NA
tmp[1:2, "y2"] <- 2
Does the job. I see that I should add a full column. In my case adding full
column of NAs and then adding values, solves my problems.
Thanks to all.
james.holtman at convergys.com
2005 Mar 25
0
Re: Cross-building R packages
Jun hi again!
Sorry for bothering. Although I had no problem with building Windows
package under Linux, I noticed that man pages are not processed as they
should or maybe I have a problem with my setup.
My package is called 'GeneticsPed'. Instead of HTML or text files I just
got a GeneticsPed.Rd.gz in man directory of a package (this is within
GeneticsPed_0.1.zip file!). The file
2006 Aug 31
2
Wish: keep names in mapply() result
Hello!
I have noticed that mapply() drops names in R 2.3.1 as well as in
r-devel. Here is a simple example:
l <- list(a=1, b=2)
k <- list(1)
mapply(FUN="+", l, k)
[1] 2 3
mapply(FUN="+", l, k, SIMPLIFY=FALSE)
[[1]]
[1] 2
[[2]]
[1] 3
Help page does not indicate that this should happen. Argument USE.NAMES
does not have any effect here as it used only in a bit special
2005 Jun 08
2
CRAN task view for genetics
Hello to everyone!
I have built CRAN task view for genetics. For now I have not submit it
to CRAN yet and it can be accessible from:
http://www.bfro.uni-lj.si/MR/ggorjan/software/R/Genetics.html
http://www.bfro.uni-lj.si/MR/ggorjan/software/R/Genetics.ctv
I have not submitted it to CRAN, since I would like first some opinion
about it. Genetics is really so broad field that I belive one person
2005 Feb 07
2
Programming/scripting with "expressions - variables"
Hello to Rusers!
I am puzzled with R and I really do not know where to look
in for my problem. I am moving from SAS and I have difficulties
in translating SAS to R world. I hope I will get some hints
or pointers so I can study from there on.
I would like to do something like this. In SAS I can write
a macro as example bellow, which is afcourse a silly one but
shows what I don't know how
2006 Aug 01
1
Global setting for na.rm=TRUE
Hello!
Is it possible to set na.rm=TRUE in a global way? I'am constantly
forgeting on this when performing analyses. I agree that one should
be carefull with this when developing some code, but not necesarilly
so in data analysis.
Lep pozdrav / With regards,
Gregor Gorjanc
----------------------------------------------------------------------
University of Ljubljana PhD student
2006 Oct 12
1
Problems with package foreign (r-cran-foreign)
On 12 October 2006 at 13:02, Gregor Gorjanc wrote:
| Hello!
|
| I encounter the following problem when I try to load package foreign
|
| library(foreign)
| Error in dyn.load(x, as.logical(local), as.logical(now)) :
| unable to load shared library '/usr/lib/R/library/foreign/libs/foreign.so':
| /usr/lib/R/library/foreign/libs/foreign.so: undefined symbol:
| Rf_allocString
| Error:
2005 Jun 08
1
FW: Random seed problem in MCMC coupling of chains
And a last post from Paul Gilbert. Thanks to all! This disscusion was
really beneficial for me!
-----Original Message-----
From: Paul Gilbert [mailto:pgilbert at bank-banque-canada.ca]
Sent: sre 2005-06-08 21:01
To: Gorjanc Gregor
Subject: Re: [R] Random seed problem in MCMC coupling of chains
Gorjanc Gregor wrote:
> Thanks to Paul and Gabor for additional tips/examples. Actually, I find
2005 Mar 25
4
Gmail invitation
Hello R users!
I just found out that I have 49 invitations for Gmail (gmail.google.com).
I have been using it now for a while and is really nice. Don't forget
1 GB for free.
I will invite those who respond to this mail by FIFO.
--
Lep pozdrav / With regards,
Gregor Gorjanc
------------------------------------------------------------------------
University of Ljubljana
Biotechnical
2004 Nov 12
4
How to get mode (the most frequent value in distribution)?
Hello!
I have a continous distribution and would like to get mode (the most
frequent value in distribution). I easily found mean, median and other
basic thing but not mode function. Can anyone help?
I know there my might be problems with multiple modes, but still I think
that there should be a mode function in R.
Please send mail to R-help list and me, so I can get response faster.
Thank
2005 Mar 27
0
RE: [Rd] F90
G?ran, thanks.
Happy easter!
-----Original Message-----
From: G?ran Brostr?m [mailto:gb at stat.umu.se]
Sent: ned 2005-03-27 07:38
To: Gorjanc Gregor
Cc: r-help at stat.math.ethz.ch
Subject: Re: [Rd] F90
On Sun, Mar 27, 2005 at 03:26:39AM +0200, Gorjanc Gregor wrote:
> Hello!
>
> Has anyone successfully compiled F90 sources in R-package? I found the
> same question on r-devel list
2006 Aug 07
2
Constrain coefs. in linear model to sum to 0
Hello!
I would like to use constrain to sum coeficients of a factor to 0 instead
of classical corner contraint i.e. I would like to fit a model like
lm(y ~ 1 + effectA + effectB)
and say get parameters
intercept
effectA_1
effectA_2
effectB_1
effectB_2
effectB_3
where effectA_1 represents deviation of level A_1 from intercept and
sum(effectA_1, effectA_2) = 0 and the same for factor B.
Is
2005 Mar 27
3
F90
Hello!
Has anyone successfully compiled F90 sources in R-package? I found the
same question on r-devel list from 2002 and I wonder if there is any
progress. I heard that g95 and gfortran can be usable.
And one more thing. I have a program written in F90 and lets suppose that
compiler is not a problem. I've read manual 'Writing R Extensions' and
successfully loaded one F77 subroutine
2005 Mar 27
3
F90
Hello!
Has anyone successfully compiled F90 sources in R-package? I found the
same question on r-devel list from 2002 and I wonder if there is any
progress. I heard that g95 and gfortran can be usable.
And one more thing. I have a program written in F90 and lets suppose that
compiler is not a problem. I've read manual 'Writing R Extensions' and
successfully loaded one F77 subroutine
2006 May 20
3
How long is winepath available?
Hello!
Can someone provide me an estimate or relevant source of information on
how long is command winepath available or from wich version of wine? I
would need this as I work on some R[1] package R2WinBUGS[2] that calls
a Windows program WinBUGS[3] and that program needs windows paths.
Currently winepath or parsing of .wine/config is used and I wonder if I
can remove fiddling with .wine/.config.