over those --- but you need to know
how much to skip.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented
is a MODFLOW output with a mix of
character, double and integers.
One other thing: the hexView package does a very nice job of displaying
the file, so you can work out what the structure is if the documentation
is unclear (or nonexistent).
Duncan Murdoch
--slave
yap -1 -s%1%2 %3.dvi
The arguments are
%1=line number,
%2=filename of .Rnw file,
%3=basename of master file (or of the filename)
Duncan Murdoch
However, it's not doing what I expect it to do. Instead of only using
pdfTeX on total_article.tex (which is the file with the necessary
headers
output.
Duncan Murdoch
I tried to read the first line with readBin (results are copied below):
zz - file(heads.hds, rb)
readBin(zz,what=integer,n=2)
[1] 1 1
readBin(zz,what=double,n=2)
[1] 7.812502e-03 6.013470e-154
readBin(zz,what=character,n=1)
[1] HEAD
readBin(zz,what=integer,n=3
say that what you've done is unwise. I would rename the
function to avoid future confusion, especially if you decide to export
it. Even if it's for internal use only, won't you want a reminder in 2
years time that cbind(a,b) doesn't mean what the documentation says it
means?
Duncan Murdoch
the operators it recognizes to the predefined ones,
plus user-defined ones of the form %op% (where op could be ++ if you
liked). You can't define ++ as an operator because the parser will see
it as two plus signs, not as a single infix operator.
Duncan Murdoch
.
I don't know which vector formats your advisor's version of MS Word
supports, but presumably their docs will tell you.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
) and
submit it to my adviser, and keep a possibility to re-size pictures.
Is it possible to add these .pdf / .eps images into word (instead of latex).
I don't know, I rarely use it.
Duncan Murdoch
Thanks,
Wenjie
On Sat, Dec 19, 2009 at 1:49 PM, Duncan Murdoch murd...@stats.uwo.ca
mailto:murd
(double), double);
The second argument to Realloc is supposed to be the number of elements
to allocate. sizeof(t) is 4 or 8 (32 bit or 64 bit), sizeof double is
8, so you always allocate 12 or 16 elements. Then in the next line you
write out of bounds.
Duncan Murdoch
t[i
!
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
the grid of unique values
in each column, which you could do using
expand.grid(lapply(dDF, unique))
Duncan Murdoch
R version 2.11.0 Under development (unstable) (2009-12-20 r50794)
expand.grid(data.frame(y=1:10, t=1:10))
Error in `[[-.data.frame`(`*tmp*`, i, value = c(1L, 2L, 3L, 4L, 5L, 6L
On 22/12/2009 12:49 PM, Mark Knecht wrote:
On Mon, Dec 21, 2009 at 4:42 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
I've just posted a demo made with the rgl package to Youtube, visible here:
http://www.youtube.com/watch?v=prdZWQD7L5c
For future reference, here are the steps I used:
1
On 23/12/2009 7:13 AM, Rainer M Krug wrote:
On Tue, Dec 22, 2009 at 8:10 PM, Duncan Murdoch murd...@stats.uwo.ca
mailto:murd...@stats.uwo.ca wrote:
On 22/12/2009 12:49 PM, Mark Knecht wrote:
On Mon, Dec 21, 2009 at 4:42 AM, Duncan Murdoch
murd...@stats.uwo.ca
is to *never* store anything in your workspace
between sessions. Start with a clean global environment each time.
Duncan Murdoch
My guess is that if I knew how that
happened, I'd then know why plyr is loaded by namespace. However, I'm
lost for ideas on how that could have happened.
Suggestions
On 23/12/2009 6:08 PM, p_conno...@slingshot.co.nz wrote:
Quoting Duncan Murdoch murd...@stats.uwo.ca:
On 23/12/2009 3:36 PM, p_conno...@slingshot.co.nz wrote:
I can't understand how the plyr package is turning up here:
[...]
I can understand that lattice would be using grid without
:
cat(paste(variable, 1), \n)
variable 1
I see no quotation marks. (If you use print() you'll see some, but they
aren't part of the string, they are just used in the default display by
print().)
Duncan Murdoch
__
R-help@r-project.org mailing list
:length(fs)) fs[[i]](pars[[i]])
process2(X)
}
and call it as
f(X, list(g1, g2, g3), list(par1, par2, par3))
Duncan Murdoch
f = function(X ) {
process1(X)
g1(X, par1)
g2(X, par2)
g3(X, par3)
process2(X)
}
If I pass g2(X, par2),g3(X, par3), g1(X, par1) to f, I would expect
of
parameters, then the calls could be
do.call(fs[[i]], pars[[i]])
But it's very unlikely that you are doing something that's a good idea.
Duncan Murdoch
f - function(X, fs, pars) {
process1(X)
for (i in 1:length(fs))
fs[[i]](pars[[i]]) # doesn't work here
process2(X)
}
On Tue
? Can you make it happen reproducibly with the same script? Can
you simplify the script so it happens quickly, rather than requiring 28
million iterations? Without a simple recipe to reproduce it, I doubt if
anyone would be able to track down the problem.
Duncan Murdoch
*** caught segfault
to print sequential results rather than wait for
the entire function to complete before listing the functhion's output?
Call print, e.g.
print(x - lm(...))
print(y - vif(...))
etc.
Duncan Murdoch
Thanks,
John
minBMI-function(SS,SimData)
{
SampleData-sample(1:SS,size=SS,replace=TRUE
)
[1] 1
[1] 2
Error in f(2) : error
Duncan Murdoch
John
John David Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410
a scalar value. If you have a length
2 vector to optimize, what does that mean?
Duncan Murdoch
Thanks,
Happy New Year,
Erin
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
code. You still
maintain all the rights you ever did, but it doesn't stop them from
commercializing closed-source products using your code as a library,
whatever that means.
Duncan Murdoch
I am a big supporter of the open source community and have personally
benefitted greately from open
(dpotri)
?
It's your search. The definition is in src/include/R_ext/RS.h.
BTW, this sort of question is much more of an R-devel question than an
R-help one.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r
to search only in *.h files, whereas with the GUI
searches it's easy.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
On 03/01/2010 10:32 AM, Barry Rowlingson wrote:
On Sun, Jan 3, 2010 at 3:20 PM, Duncan Murdoch murd...@stats.uwo.ca wrote:
I think it's better to use a reasonable text editor here; I used Textpad. I
don't think there's anything too special about it, but it does have Search
| Find in files
output
that can control buffering.
Duncan Murdoch
Thanks in advance,
Thomas
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
, data=my_tab,main=sprintf(title is %s,X))
}
xbox(age)
Use deparse(substitute(X)) in the sprintf. This says: get the
expression passed as X, and convert it to text.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch
function, on the same
man page as digamma and trigamma.
Duncan Murdoch
I'd appreciate any help.
Hakan Demirtas
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
)
}
Then to bind them all, simply use do.call(rbind, imp).
Duncan Murdoch
}
combined - rbind(*imp.1, imp.2, imp.3, imp.4, imp.5, imp.6*)
Your expertise in resolving this issue would be greatly appreciated.
Steve
[[alternative HTML version deleted
(counts)[counts == 3]
subset - dataset[ dataset$NAME %in% keep,]
tapply(subset$SCORE, subset$NAME, mean)
Clara DawnJames Tom
NA NA 64.0 78.7
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch
here:
http://www.mathworks.com/matlabcentral/fileexchange/8396-draw-3d-arrows;
it could probably be translated into rgl if you wanted that.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
this is that you won't see help relevant to your
current session, you'll see help relevant to the background task. In
2.10.x there aren't many differences, but you'll find it more limiting
in 2.11.x and later.
Duncan Murdoch
I am sorry to say that the new dynamic help is a HUGE nuisance to me. Had
, as the man page states, non-integer values are truncated towards
zero. Normal printing rounds them. So .57*100, which is slightly less
than 57, is rounded to 57 for printing, but is truncated to 56 by
as.integer.
.57*100 57
[1] TRUE
Duncan Murdoch
; this message is just to
confirm you've done what you should do).
Duncan Murdoch
Thank you for your help.
Kenneth
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
the default format. There's nothing that we
used in CHM help that couldn't be duplicated in Javascript, without the
security holes.
I see it as more important that R core enables others to do what they
want, rather than to maintain ancient designs.
Duncan Murdoch
into it. ([- is done internally in some fairly ugly code, so this
might take a while.)
As a workaround, I think this does what you want:
n - 1
submatrix - M[1:n,1:n,drop=FALSE]
diag(submatrix) - rep(100, n)
M[1:n,1:n] - submatrix
Duncan Murdoch
Thanks a lot in advance.
Best regards,
Roger
On 07/01/2010 9:47 AM, Michal Kulich wrote:
On 7.1.2010 12:18, Duncan Murdoch wrote:
You don't need Rgui, you could run Rterm, which would have a smaller
footprint. It's not very hard to start it and minimize it, but if you
want it running invisibly, you'll need to figure out how to hide
On 07/01/2010 9:51 AM, Gabor Grothendieck wrote:
On Thu, Jan 7, 2010 at 9:20 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
On 07/01/2010 9:05 AM, Michael Friendly wrote:
Michal Kulich wrote:
On 7.1.2010 9:49, Dieter Menne wrote:
I am sorry to say that the new dynamic help is a HUGE
On 07/01/2010 10:00 AM, Michal Kulich wrote:
On 7.1.2010 15:52, Duncan Murdoch wrote:
Not necessarily. The current help system can display information about
the current session, e.g. the result of ls(), as a simple example. But
if you use a single background session you won't get relevant
from source or get the
forthcoming Fedora RPM, which will have static pages as the default),
without starting an R session.
What's so hard about leaving an R session running, and using bookmarks
as Dieter described?
Duncan Murdoch
Jon
On 01/07/10 10:32, Duncan Murdoch wrote:
A more useful
it can read, but you need to figure out what the differences are
before you can match them up.
The viewRaw() function in the hexView package is a simple way to look at
the bytes in the files.
Duncan Murdoch
__
R-help@r-project.org mailing list
https
than no help at all!
Then fix the search tool so it can search dynamic web pages. They can
be spidered too, just like static ones.
Duncan Murdoch
As others have done, I have switched back to 2.9.2 until I can build all
help files (on Windows). Thanks to those people who are figuring out how
the environment variable
R_KEEP_PKG_SOURCE=yes
I don't know if it will help in this case.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting
On 07/01/2010 4:10 PM, mkna005 mkna005 wrote:
Hi!
I was wondering if it is possible to have a startup script similar to
matlab as such when R starts up the script is automatically executed?
Thanks
Yes, see ?Startup.
Duncan Murdoch
__
R-help@r
)
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
On 07/01/2010 2:58 PM, Kevin Wright wrote:
On Thu, Jan 7, 2010 at 9:32 AM, Duncan Murdoch murd...@stats.uwo.ca wrote:
On 07/01/2010 10:00 AM, Michal Kulich wrote:
On 7.1.2010 15:52, Duncan Murdoch wrote:
Not necessarily. The current help system can display information about
the current
lines; you'll need
to scroll to the right to see anything).
Duncan Murdoch
I have two processor on my Toshiba...
Murph
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R
Michal Kulich wrote:
On 7.1.2010 20:22, Duncan Murdoch wrote:
A more useful example than ls() would be methods(). I think it
would be nice to have a list of methods included in the man page for
a generic function, and links to their pages if they have their own
man pages. You might want
Dieter Menne wrote:
Duncan Murdoch wrote:
What's so hard about leaving an R session running, and using bookmarks
as Dieter described?
It pollutes my space, and I am a Window-closing maniac, so it won't survive
the next attack.
http://www.microsoft.com/downloads/en
it:
xvals - yvals - seq(0, 30, len=1000)
zvals - outer(xvals, yvals, f)
contour(xvals, yvals, zvals, levels=0)
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R
graphical output in the man pages is one of the eventual goals
of the new help system. I doubt it will make it into 2.11.x, but it
will probably be there in 2.12.x.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo
$ or writing to
CONOUT$ without checking whether they can be opened. When you run it
from Rterm, Rterm is in a console, which appears to be good enough.
So it may be anyone who wants to use it will have to contact Microsoft
to find out how...
Duncan Murdoch
Uwe
On 07.01.2010 12:25, Gabor
guess you could get find.exe to work by calling it from a batch
file with a pause at the end and using the wait=FALSE,invisible=FALSE
options.
The above observations are in Win XP SP3, not anything newer.
Duncan Murdoch
On Sat, Jan 9, 2010 at 5:24 PM, Duncan Murdoch murd...@stats.uwo.ca wrote
spot the
difference between their exec and our system()?
Duncan Murdoch
On Sat, Jan 9, 2010 at 7:27 PM, Duncan Murdoch murd...@stats.uwo.ca wrote:
On 09/01/2010 6:31 PM, Gabor Grothendieck wrote:
That doesn't explain why this returns character(o) even though we have
launched a console
(c:/WINDOWS/system32/find \Hello\ c:/temp/foo.txt nul)
So perhaps we're not setting up the pipe correctly, but it works with
most other programs, so I'm going to assume find is using it
incorrectly, unless someone points out what we're doing wrong.
Duncan Murdoch
On 10/01/2010 8:18 AM, Gabor
it doesn't make sense to add it to the R bug list.
Duncan Murdoch
On Sun, Jan 10, 2010 at 1:24 PM, Duncan Murdoch murd...@stats.uwo.ca wrote:
I'm quitting on this one. For the record, I took a look at a fairly old
version of the Tcl code (from 8.4.13) that I had around from an old attempt
to get
by their numerical
value, not by the strings.
So the solution is to set stringsAsFactors=FALSE, either in each
read.csv call, or globally with options(stringsAsFactors=FALSE).
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch
the graphics
window. If you close it, the next window you open will have the state
you wanted. If you had had a window open before you called example, it
would have been restored.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch
compiler. Brian Ripley made a posting last week on
the R-devel list about an experimental build using gcc.
Duncan Murdoch
How should I increase the memory, and more importantly to set a higher
max vector size? It still stops me saying Could not allocate vector
of size 145
if there is no console, it won't work. But find and
xcopy have no business talking to the console. They should simply work
with stdin/stdout.
Duncan Murdoch
Re,
John Schexnayder
IBM Tape Manufacturing - Information Technology
San Jose, CA 95138
jsc...@us.ibm.com
From:
Gabor Grothendieck
identifier.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
source (see the R Admin manual, or
http://www.murdoch-sutherland.com/Rtools/), then simply do
install.packages(foo.tar.gz, type=source, repos=NULL)
from within R, or
Rcmd INSTALL foo.tar.gz
from outside.
Duncan Murdoch
__
R-help@r-project.org
only there?
Look at .Platform$GUI. It shows Rgui or RTerm for those two. I
don't have JGR installed, but I'd guess it shows something differently
there.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r
in the English_Canada.1252 locale and on Linux in the C
locale. However, when I use the locale that's default on our system,
en_US.UTF-8, I get
AB CD ABCD
[1] TRUE
AB CD ABCD
[1] FALSE
as Ted did, and that certainly looks wrong.
Duncan Murdoch
Given:
types - c(PC-D-Euro-0, PC-D-Euro-1, PC-D
, then you want to talk to the ICU
people. If you do, then you'll need to look deeper to find out what
you're actually using.
Duncan Murdoch
Ted.
E-Mail: (Ted Harding) ted.hard...@manchester.ac.uk
Fax-to-email: +44 (0)870 094
in the first one.
Duncan Murdoch
I am interested in replicating this because I want to use half-Cauchy
priors and want to play around with the scale values but I want to know
what my prior looks like before using it in models.
Please cc me as I am digest subscriber.
Thanks!
Chris
On 28/05/2010 10:14 AM, Christopher David Desjardins wrote:
Perfect. Thanks.
Also using R 2.11.0 on Fedora I didn't get any warnings with my command.
That's a serious problem. Can you give more details (i.e. just plain R,
R under ESS, etc.)?
Duncan Murdoch
Chris
On 05/28/2010 09:09
as a
global.
Another approach (which I use) is to never run Sweave() from within R;
always use R CMD Sweave (or some equivalent), and define all the local
variables in the Sweave file. But this doesn't work if you want to
generate lots of Sweave output files.
Duncan Murdoch
I want to
run
, but it might be worthwhile to send it privately to authors
of false positive messages.
Duncan Murdoch
On 29/05/2010 6:43 AM, (Ted Harding) wrote:
It is perhaps time to bring to people's general attention that
there is an issue with postings from gmail.com addresses being
held for moderation
for Tcltk to use. If
you do have X11 available, then just set the DISPLAY environment
variable in the normal way; if you don't, then you're not going to be
able to use that package on Unix. (The Windows implementation is
self-contained, so it should work there.)
Duncan Murdoch
library
(classes=vector)
but it won't show methods in unattached packages.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
.
Duncan Murdoch
Thanks a lot
Cheers
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible
(biglist) - paste(name, 1:(2+4*n))
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained
$mids, h$counts, log=y) # Plot on a log scale
abline(v=h$breaks,col=lightgray) # Indicate the bins
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
INSTALL GWSR_1.0.tar.gz); it is sometimes tricky to see what the state
of the system is from R.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org
. If GPL-3 offers
something that GPL-2 doesn't (e.g. compatibility with other GPL-3 code),
they can use that. If GPL-3 places restrictions they don't like (e.g.
incompatibility with GPL-2 code), they can use GPL-2.
Duncan Murdoch
Thanks in advance for any help.
Mauricio
-- but it warns
you that's likely not what you intended.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal
rule is violated?
So frustrated, why can't I post question!
The problem is that you are posting from gmail.com, and yjmha69 was
posting from yahoo.com. The messages will eventually make it through if
you are patient.
Duncan Murdoch
- Original Message
From: r-help-boun...@r
it.)
Duncan Murdoch
mazibuko wrote:
Hello,
I am having a problem with write.fwf in Windows. I wrote a code to ingest a
number of text files with weather data in them, process them, and then
output a text file with two parts: 1) a set of column names, 2) the
processed data table.
I wrote and tested
fix it? I have MinGW, Perl, etc. installed in my system.
The problem is in the help file, not in the R code. You need to look
somewhere near line 92 of quantplus/man/gzWrite.Rd.
Duncan Murdoch
I also attached my function gzWrite below.
Thank you very much.
00check.out
list but it doesn't.
What am I doing wrong ?
You need to install it, it's not generally enough to just unpack it.
But that will not work, because the package is marked as Unix-only.
You could try to figure out what needs fixing to get it working on
Windows, but it's probably not easy.
Duncan
to test.Rout.)
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
the locale command in the Linux server, I get:
Yes, it's your locale settings. The C locale doesn't support the รบ
character in your string, and displays it in octal.
Duncan Murdoch
[daniel.fernan...@pt-lnx13 ~]$ locale
LANG=pt_PT.UTF-8
LC_CTYPE=C
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=C
shutting down everything else on your system, etc.
Duncan Murdoch
Error signature is:
AppName: rgui.exeAppVer: 2.111.52157.0 ModName: msvcrt.dll
ModVer: 7.0.2600.2180Offset: d2b5
I get a gdb, and then gdb the Rgui.exe, I get the following message:
(gdb) run
Starting program: D
ago to allow
the display of graphics generated by R within help pages.
(Unfortunately it depended on a particular browser feature not supported
by Internet Explorer, so I'm going to need to put together something
less elegant, but that's life.)
Duncan Murdoch
*x^2*y, NA)}
z - outer(xx,yy,zFunc)
persp(xx,yy,z,theta=30,phi=30,ticktype=detailed)
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting
that affect your output will not.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained
the model with cf and sf versus
one without it. You'll see it in summary(fit) at the bottom of the
display. If you want to include other covariates in the model, you can
use anova, e.g.
anova(lm(y ~ other), lm(y ~ cf + sf + other))
Duncan Murdoch
__
R
RShowDoc(COPYING)
from within R.
Duncan Murdoch
On the other hand, if you can't figure out what is really going on, and you can
loosen up some funds, you can probably get Revolutions R to provider you with
commercial support.
McAllister, Gina gina.mcallis...@luht.scot.nhs.uk wrote:
I have
of the first n tries
is going to be slow.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self
be
nth_root - X %*% L_star %*% X_inv
Duncan Murdoch
I've written the code below to implement this, but the result doesn't seem to
be correct. (I can't raise the resulting matrix to the 12th power to calculate
the original matrix.) I believe that the reason for this is the order in which
R
still be
problems...):
SSFcoef - function(nmax, nu){
.Fortran(SSFcoef,
as.integer(nmax),
as.integer(nu),
A = numeric((nmax+1)^2),
nrowA = as.integer(nmax+1), # These are unused...
ncolA = as.integer(nmax+1)
)$A
}
Duncan
, and do
your assignments to the outer frame. For example,
outer - function(args) {
mat - matrix(NA, 3,3)
recursive - function() {
mat - newvalue # does the assignment into outer's frame
if (!stop) recursive()
}
}
Duncan Murdoch
__
R-help@r
. For example, there's probably a
north Atlantic codfishing team named R DEV COD TEAM. But most of them
are, and they lead to 289 cited papers in 2009/10.
Duncan Murdoch
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
On 21/06/2010 2:49 AM, Peter Dalgaard wrote:
Duncan Murdoch wrote:
On 20/06/2010 6:36 PM, Muenchen, Robert A (Bob) wrote:
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Ivan Calandra
Sent: Sunday, June 20, 2010
/library/tools/R/QC.R), and apparently the first arg doesn't need to
be named x in plot.formula, due to some other exception which I can't
spot right now. So I would not use the base code for plot() as an
example of what you should do.
Duncan Murdoch
__
R
On 21/06/2010 9:06 PM, G FANG wrote:
Hi,
I want to get the unique set from a large numeric k by 1 vector, k is
in tens of millions
when I used the matlab function unique, it takes less than 10 secs
but when I tried to use the unique in R with similar CPU and memory,
it is not done in minutes
, you need to open a connection with that encoding, and write to
that. For example:
con - file(preindx.csv, open=w, encoding=UTF-8)
write.table(dfPREINDX, con, sep=|,row.names=FALSE)
close(con)
Duncan Murdoch
__
R-help@r-project.org mailing list
https
until the end. However, you can change this;
in Windows you use the Misc | Buffered output menu item (or Ctrl-W), or
make a call to flush.console() as Henrique showed.
Duncan Murdoch
On Tue, Jun 22, 2010 at 9:07 AM, Downey, Patrick pdow...@urban.org wrote:
Hello,
I'm running a very long
601 - 700 of 5373 matches
Mail list logo