Displaying 20 results from an estimated 800 matches similar to: "Error is dynamivally loaded code"
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()
{
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
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
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
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
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 --
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
2002 Jan 18
1
TeX error generated by R CMD CHECK
Hello,
can anyone explain the following error I get when trying to
use the CHECK command to check a new version of my pakcage under 1.4.0?
******
./R CMD check ~/GLMMGibbs.0.5.1/GLMMGibbs
* checking for working latex ... OK
* using log directory `/homef/jonm/R-1.4.0/bin/GLMMGibbs.Rcheck'
...
<Installs library, documentation, and then performs various tests,
including the example,
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
1998 Mar 20
1
R-beta: Sun performance library
Has anyone tried to build R on Suns by linking to the versions of BLAS and
LINPACK in the Sun Performance Library rather than the standard versions
included in the distribution? On the face of it this would seem to be a highly
desirable thing to do since these versions of the routines are more efficient
and can exploit parallelism on multiprocessor machines.
David Clayton
MRC Biostatistics
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
2000 Dec 15
2
debugger not recognizing C routine names
Something seems to have changed with the debugger
option since I used it last,
unless I've forgotten something really stupid
(much more likely) . The
debugger doesn't seem to recognise the names of C routines
*****************
[jonm at localhost jonm]$ cat test.c
#include "S.h"
void test(int *x,int *y){
y[0]=x[0]+2;
}
[jonm at localhost jonm]$ R COMPILE test.c
gcc
1998 Jul 16
2
R-beta: cite R -- how?
I want to cite R for an article. What is the right thing to do?
Shall I include "Notes on R" or is there a better way?
--
mailto:koloska at rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
-- --
right now the web page is in german only
but this will change as time goes by ;-)
2002 Jul 01
1
Defining own variance function / quasi-likelihood in a GLM
Hello,
I've been looking in the on-line manuals and searching past posts but
can't find an answer to this question.
I'd like to define my own variance function in a GLM.
The function glm(formula, family=quasi(var="var function"))
lets me choose from a selection of built in variances, but I want to
define my own function for the variance.
Is there an S-plus
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,"")
2006 Jan 30
1
Overwriting source file leaves destination full of zeros
Hi,
I'm a little confused over what I'm seeing when a source file is
overwritten whilst an rsync is in progress. Instead of the destination
file being truncated, or an error being raised and the destination file
removed, I get a file of the correct length, but mostly full of nulls
where previously there were none. An example is shown here:
> ls -l big_file
-rw------- 1 jonm users
2008 Dec 19
1
obtaining output from an evaluated expression
Hi
I am trying to use the deriv and eval functions to obtain the value of a
function , say "xi-(alpha0+alpha1*gi)" , differentiated with respect to
alpha0 and alpha1, in the following way
# for gi = 0
> dU1dtheta <- deriv(~ xi-(alpha0+alpha1*gi), c("alpha0","alpha1"))
> eval(dU1dtheta)
(Intercept)
-0.2547153
attr(,"gradient")
2002 Apr 22
3
glm() function not finding the maximum
Hello,
I have found a problem with using the glm function with a gamma
family.
I have a vector of data, assumed to be generated by a gamma distribution.
The parameters of this gamma distribution are estimated in two ways (i)
using the glm() function, (ii) "by hand", using the optim() function.
I find that the -2*likelihood at the maximum found by (i) is substantially
larger than that
1999 Apr 26
3
Invoking shell commands from within R
In S-Plus, one can invoke a shell command by prepending it with a "!",
e.g.:
> !ls
Is something similar available in R? Is it possible to execute shell
commands from within R?
Fredrik
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
1999 Jan 04
1
Submissions to CRAN
HAPPY NEW YEAR to all of you!
To clarify some questions in the recent thread on the timeslab
package (sorry that I couldn't participate in the discussion, but I
normally don't read my email on weekends):
*) Nobody should be able to download from the incoming section at our
site. That it was possible (again) was due to recursive link and some
lazy sysadmins which now have some more things