Displaying 20 results from an estimated 3000 matches similar to: "ascii load file ( was Re: none)"
2003 Oct 08
1
Installing GLMMGibbs problems
Dear all;
Installing the GLMMGibbs package to my Solaris Unix box, I got an compiling
error:
ars.c:497:10: missing terminating " character
ars.c: In function `dump_arse':
ars.c:498: error: parse error before "mylesj"
.....
The compiling error was reported to the list on Jul 3, 2003. According to
Prof. Brain Ripley this is a known problem with the package and gcc 3.3,
2000 Dec 15
0
Gibbs sampling in GLMMs: Beta testers required
Sort of a warning before I start: This post may be considered to
describe a rather amateurish approach to distributing software
which may annoy some people, but I sincerely hope it doesn't.
I've been working for some years with David Clayton on a project which
started life as
an S package but has now turned into an R library. It is (now)
called GLMMGibbs and estimates the parameters of
2000 Nov 07
1
No subject
I have just moved to a new workplace. I saved an R workspace into
an ascii file at my old workplace and have ftp'ed it down here.
Unfortunately when I try to load the get a message saying that
the file is corrupted. It's a big file, but my experience suggests
that this normally refers to a problem at the beginning or end of a file,
so I thought it might be worth enclosing just the
1997 Nov 14
1
R-beta: R in ESS with different -n and -v arguments
Is there any way of running R in ESS using -n and -v
arguments other than the default?
Thanks
Jonathan
--
Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk
MRC Biostatistics Unit Tel. 01223 330371
Institute of Public Health FAX 01223 330388
University Forvie Site
Robinson Way
CAMBRIDGE
CB2 2SR
2000 Jun 22
2
Intermediate LaTeX output generated by R CMD Rd2dvi
Is there any way of getting just the LaTex output which
R CMD Rd2dvi
generates on the way to produces a .dvi file,
which could then be incoorporated into another
document?
Thanks,
Jonathan
--
Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk
MRC Biostatistics Unit Tel. 01223 330372
Institute of Public Health FAX 01223 330388
University Forvie Site
2003 Apr 02
8
lm with an arbitrary number of terms
Hello folks,
Any ideas how to do this?
data.frame is a data frame with column names "x1",...,"xn"
y is a response variable of length dim(data.frame)[1]
I want to write a function
function(y, data.frame){
lm(y~x1+...+xn)
}
This would be easy if n was always the same.
If n is arbitrary how could I feed the x1+...+xn terms into lm(response~terms)?
Thanks
Richard
--
Dr.
1999 May 29
2
Unexpected behaviour of read.table
When reading comma-delimited files as saved from a spreadsheet (unfortunately
many of my scientific collaborators give me these) in read.table(), missing
values are spotted most of the time. Unfortunately when comma is the first
character on the line it gets it wrong. For example, reading the file
1,,3
,5,6
,8,9
with
read.table("test.dat", header=F, sep=",")
R gives
2009 Apr 02
3
WinBUGS breaks under WINE > 1.1.12
Dear Wine-friends,
I was wondering if any of you would have a clue around why WinBUGS (http://www.mrc-bsu.cam.ac.uk/bugs/), a nifty Markov chain Monte Carlo sampler widely used in Bayesian statistical modelling, no longer works when run through any version of WINE newer than 1.1.12.
I have encountered this issue of my machines at home (which runs on Zenwalk 6.0) and work (Mandriva 2008.1) a
2005 Sep 27
3
quick "points" question
Hi
Just one of those niggles.......
I've just been trying to plot a filled circle.
I thought that this would do it
plot(1,1,type="n")
points(1,1,pch=1,bg="blue",cex=5)
#bg: background ("fill") color for open plot symbols
But I need to do this instead
points(1.2,1,pch=19,col="blue",cex=5)
Am I misunderstanding the "bg" option in the points
1997 Jul 19
1
R-beta: R without graphics
Is there a way to "unplug" the windows graphics from
R, so that it will work across a teletype telnet
session or in a Linux box proving resistant to having
windows added to it?
Thanks
Jonathan Myles
--
Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk
MRC Biostatistics Unit Tel. 01223 330371
Institute of Public Health FAX 01223 330388
University Forvie
2000 Jun 15
2
Checking the existence of a file
Is there a platform-independent way of checking in R whether a
given file exists in the user's filespace?
(so in a unix system, can you check within R whather, say,
/homef/jonm/thisfile
exists)
Thanks
Jonathan Myles
--
Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk
MRC Biostatistics Unit Tel. 01223 330372
Institute of Public Health FAX 01223 330388
1999 Jun 15
3
r help archives
Where are the archives of r-help kept, please?
Jonathan
--
Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk
MRC Biostatistics Unit Tel. 01223 330371
Institute of Public Health FAX 01223 330388
University Forvie Site
Robinson Way
CAMBRIDGE
CB2 2SR
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list --
1999 May 27
3
No subject
(I dithered a bit about whether this belongs on r-help
(as part of it is a general R question) or r-devel
(as it's a question relating to putting stuff on
CRAN) but decided it might be of general enough interest
to go on the former )
I am currently preparing an R library to estimate
approximate posterior distributions for parameters in
Generalised Linear Mixed Models by Gibbs Sampling
1997 Jul 24
1
R-beta: dyn.load: incompatability between R and S
I have C routines in a collection of files
"/homef/jonm/postdocs/GLMM_project/Cprogs/nn/misc.o"
"/homef/jonm/postdocs/GLMM_project/Cprogs/nn/random.o"
"/homef/jonm/postdocs/GLMM_project/Cprogs/nn/ars.o"
... etc , where the third file includes functions which call
functions in the second.
In S, the function
> gload
function()
{
2002 Mar 17
3
R on the web
Hello All,
I'd like to create diagrams for dynamic web-pages via a cgi-script that
itself uses R. Sadly, I found out that the png and jpeg devices need an
X-server :-( , so I cannot use these nice devices. Does any one have any
experience using R for on-the-flycreation of graphics for web-pages
pages? Any suggestions for workarounds?
thanks very much for help,
Arne
--
Arne Mueller
1999 Jul 12
0
Error is dynamivally loaded code
Changing from 0.64.1 to 0.64.2 is causing some dynamically-loaded code to
crash with the message:
ld.so.1: /usr/local/lib/R/bin/R.binary:
fatal: relocation error: file /homef/jonm/glib/ggg/libs/glmm.so:
symbol R_chk_calloc: referenced symbol not found
(I've added carriage returns)
what am I doing wrong?
Jonathan
--
Dr. Jonathan Myles e-mail:jonathan.myles at mrc-bsu.cam.ac.uk
1999 Jun 07
0
R/C programming and documentation---thanks and summary
Thanks to everyone who helped with my query---Professors
Riply, Bates, Lumley, and Tim Keitt.
I said
<snip>
> My worries are
>
> a) That I've used calloc rather than S_alloc throughout.
Professors Bates and Ripley both pointed out that calloc
should be replaced by Calloc and free by Free,
which, I'll do.
----
I said:
> b) That I've used the following
2008 Jun 25
1
dgamma in WinBUGS and JAGS (rjags)
Hello,
In WinBUGS 1.4 manual
(http://www.mrc-bsu.cam.ac.uk/bugs/winbugs/manual14.pdf), the gamma
density is presented as dgamma(r,mu) where r and mu are the shape and
rate parameters, respectively. In JAGS (rjags) manual version 1.0.2,
May 9, 2008 (http://www-fis.iarc.fr/~martyn/software/jags/jags_user_manual.pdf),
on page 26 the gamma density is presented as dgamma(mu,r) instead of
dgamma(r,mu).
2001 Nov 28
2
Why are looping variables not local?
Hello,
I've had a quick look on the list and can't find an answer to this niggle.
Whilst debugging some code, I noticed that looping variables in R are not
local to the loop as seams common in procedural languages.
For example consider the following piece of code:
for(i in 1:3){
cat(i,"")
for(i in c("a","b","c")){
cat(i,"")
2002 Mar 09
1
labels outside plotting region
Hello,
I've just started R, and I'm getting a bit mad using it. I've managed to
produce a barplot with the labels for the ytick marks placed
horizontally (perpendicular to the y-axis) usiing par(las=1). The
problem is that most of my labels are in part beyond the plotting area
because they are rather long (e.g. "H. sapiens", "D. melanogaster" ...).
What is the