Re: [Rd] Bug in agrep computing edit distance?

2010-11-18 Thread Joris Meys
On Thu, Nov 18, 2010 at 12:23 AM, Dickison, Daniel ddicki...@carnegielearning.com wrote: On 11/17/10 6:06 PM, Joris Meys jorism...@gmail.com wrote: It looks like R's agrep defaults max.distance$all to 0.1 if unspecified by the argument, so that explains these examples (the first and last one

Re: [Rd] Compiling R 2.12.0 from source: error (temp dir)

2010-11-18 Thread Janko Thyson
I've created a /tmp directory so I wouldn't have to change TMPDIR. So far, so good. But now I get the error below. Anything I forgot regarding tcltk? Thx, Janko ERROR: In file included from init.c:22:0: tcltk.h:23:17: fatal error: tcl.h: No such file or directory compilation terminated.

Re: [Rd] Compiling R 2.12.0 from source: error (temp dir)

2010-11-18 Thread Duncan Murdoch
On 18/11/2010 5:40 AM, Janko Thyson wrote: I've created a /tmp directory so I wouldn't have to change TMPDIR. So far, so good. But now I get the error below. Anything I forgot regarding tcltk? Looks as if you forgot to install it. Duncan Murdoch Thx, Janko ERROR: In file included from

Re: [Rd] Compiling R 2.12.0 from source: error (temp dir)

2010-11-18 Thread Uwe Ligges
TMPDIR is an wenvironment variable to be set in your OS, for example. Uwe Ligges On 18.11.2010 11:40, Janko Thyson wrote: I've created a /tmp directory so I wouldn't have to change TMPDIR. So far, so good. But now I get the error below. Anything I forgot regarding tcltk? Thx, Janko ERROR:

Re: [Rd] Compiling R 2.12.0 from source: error (temp dir)

2010-11-18 Thread Janko Thyson
Sorry, but I'm still kind of puzzled on this one ;-) Found the Tcl/Tk section in the manual but I don't really understand where I have to set those options. Append it to 'make all recommended'? I checked 'make --help' which didn't list any such options. Or does that refer to the installation of

Re: [Rd] Bug in agrep computing edit distance?

2010-11-18 Thread Dickison, Daniel
A followup to this. I got R to compile, and the following patch seems to fix this issue (I don't think my previous attachment worked so it's pasted inline). There is still a quirk, where tail insertions seem to cost 1 extra and I'm not sure why. In the first example below, 3 and 5 should match,

Re: [Rd] unloading compiled code.

2010-11-18 Thread Andrew Redd
I thought I would update with what I did. Not liking overwriting the .Last function in case another package I decided to see if the reg.finalizer would work. This is what my .onLoad function look like. --- .onLoad-function(libname, pkgname){ e-emptyenv()

[Rd] .pkg won't fully install on my MacBook

2010-11-18 Thread Brad Price
I'm having problems downloading any .pkg file on my MacBook. All the .dmg files up to 2.10.1 will download and install fine but nothing newer than that. I'm attaching the the log file from my installer as and here are some other things about my system. At the end of the log the installer

Re: [Rd] Plotting an agnes tree with images instead of labels?

2010-11-18 Thread Greg Snow
You could use the my.symbols function in the TeachingDemos package to add the structures to the plot (once you create the plot without the default labels and find the positions to plot them at ). -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare

Re: [Rd] Compiling R 2.12.0 from source: error (temp dir)

2010-11-18 Thread Janko Thyson
Puh, here’s where I’m at right now: - I reinstalled Rtools (2.12) to C:\Rtools (full installation) left the default for R Root dir = C:\R and R 64 root dir = C:\R64, - I noticed that there’s a Tcl directory in C:\R now - is that what I need regarding my previous Tcl/Tk issue down the

Re: [Rd] Compiling R 2.12.0 from source: error (temp dir)

2010-11-18 Thread Duncan Murdoch
On 18/11/2010 10:38 AM, Janko Thyson wrote: Sorry, but I'm still kind of puzzled on this one ;-) Found the Tcl/Tk section in the manual but I don't really understand where I have to set those options. The quote below is from the Unix section of the manual. You're on Windows. Tcl/Tk is