search for: minshall

Displaying 20 results from an estimated 26 matches for "minshall".

2014 Jul 04
1
DESCRIPTION.in file causes R CMD check to fail?
...ow. i need to distribute the DESCRIPTION.in file, as ./configure will need it. but, "R CMD check" wants to look at DESCRIPTION, so i've let that also come into the package tarball. however, when i run "R CMD check" with DESCRIPTION.in in the tree, it fails: ---- bash greg-minshalls-mbp: {3359} R CMD check image2k_0.1.tar.gz * using log directory ?/Users/minshall/src/mine/image2k/buildit/image2k.Rcheck? * using R version 3.0.3 (2014-03-06) * using platform: x86_64-apple-darwin13.1.0 (64-bit) * using session charset: UTF-8 Error in if (desc["Priority"] == "base...
2020 Mar 13
7
pipe(): input to, and output from, a single process
hi. i'd like to instantiate sed(1), send it some input, and retrieve its output, all via pipes (rather than an intermediate file). my sense from pipe and looking at the sources (sys-unix.c) is that is not possible. is that true? are there any thoughts of providing such a facility? cheers, Greg
2018 Jun 01
1
Understanding the sequence of events when calling the R dpois function
Chuck and Greg, Thanks a lot for your help! I have a much better understanding now of what is happening ?under the hood?. Kind Regards, Jason > On 31 May 2018, at 20:08, Greg Minshall <minshall at acm.org> wrote: > > Jason, > > as Chuck Berry (to whom, *thanks* for 'do {...} while(0)'!) suggested, > using grep, or even grep executed from find, such as > ---- > find . -type f -exec grep -H "dpois" \{\} \; | less > ---- > (execu...
2011 Jul 05
0
MacOS X 10.6, symlinks and shadow copies
..."groups" don't work as required. Unfortunately being at a University I don't get to control the environment tightly, unless someone knows of a way of banning OS X 10.5 clients server side. The issue is that MacOS X 10.6 won't create symlinks. That is 10.4 and 10.5 create the Minshall & French style symlink, but 10.6 just gives an error. The symlinks are used in login hooks to redirect certain folders on network home directories to the local disk. Consequently getting them to work is important. We tried a perl script that created correctly formatted Minshall & French 10...
2014 Jul 01
1
creating a package from a development source tree
...k). i'm curious how people move from their personal development tree to a tree from which the package can be passed to "R CMD *". do "you" have a makefile in their tree that creates this? during development, is this the path you use for building and testing? cheers, Greg Minshall
2013 Feb 14
4
2 setGeneric's, same name, different method signatures
...od for A's bB has disappeared (as measured by showMethods("bB"), as well as trying bB(A). if i have R re-parse the setGeneric/setMethod A's bB(), then B's bB() disappears. somehow my code, or my model of how things work, is wrong. any ideas what am i missing? cheers, Greg Minshall ---- setClass("A", representation( x="numeric")); setMethod( f="initialize", signature="A", definition=function(.Object) { .Object at x <- 23; return(.Object) }); setGeneric("bB", function(me) standardGeneric...
2014 Jul 13
2
how to list external dependencies (i.e., non-R packages)?
hi. i'm working on a package which only works if one (or both) of two libraries (Imlib2 and MagickWand) exist on the machine on which the package is compiled and executed. as currently written, the program purposely generates an error at *compile* time if neither library is available (thinking the earlier the user is notified, the less frustrating). is there a way of specifying this
2015 Jan 23
2
No symlink support on SMB2 and SMB3?
...is implemented?) > > Just that you know: I'm trying to have home shares on the network, and > sometimes users need symlinks (in some osx .apps or when installing some > ruby gems). I'm using samba because it should also work with OSX. Well there's a workaround called "Minshall/French" symlink format: https://lists.samba.org/archive/samba-technical/2014-September/102476.html that hides the symlink target inside a 'special' file. That should still work over SMB2, but it's tunnelling stuff inside the protocol, not really protocol support. It's what t...
2018 Jun 13
1
Date class shows Inf as NA; this confuses the use of is.na()
...allow that kind of thing, but again R (and everyone else, I think?) doesn't do so for regular doubles. Also, I would expect the year 1e50 and the "year" Inf to be functionally equivalent in meaning (and largely meaningless) in context. Best, ~G On Tue, Jun 12, 2018 at 4:23 PM, Greg Minshall <minshall at acm.org> wrote: > Martin, et al., > > > I think we should allow 'year' to be "double" instead, and so it > > could also be +Inf or -Inf and we'd nicely cover > > the conversions from and to 'numeric' -- which is really used &...
2020 Mar 16
0
pipe(): input to, and output from, a single process
...ut()` might not read whole lines, so maybe `$read_output_lines()` is better for you. * Close the stdin of the process if you want to quit cleanly: `close(p$get_input_connection())`. * There is currently no way to poll the input side of the pipe. :( HTH, Gabor On Mon, Mar 16, 2020 at 11:31 AM Greg Minshall <minshall at umich.edu> wrote: > > hi. i'd like to instantiate sed(1), send it some input, and retrieve > its output, all via pipes (rather than an intermediate file). > > my sense from pipe and looking at the sources (sys-unix.c) is that is > not possible. is that tru...
2020 Mar 16
1
pipe(): input to, and output from, a single process
Gabor, thanks. yes, managing the two-way communication is always a bit error-prone, as it depends on the input/output characteristics of the two ends -- they either match, or deadlock. it's too bad if polling is always *required* -- i'd think sometimes a programmer would be happy blocking, though other times one wants better control over when to block. cheers, Greg
2018 May 25
1
options other than regex
Numbers -- thanks. Another clever trick. On 5/25/2018 11:54 AM, Greg Minshall wrote: > Evan, > > are you really looking at numbers, or just at character strings (that, > in your case, happen to be numbers)? if just characters, this rather > odd combination of strsplit() and Reduce() might do the trick: > ---- >> x <- '10110111' >> pr...
2014 Jul 08
1
arguments to .Call(), .External should be read-only?
..., says ---- Neither .Call nor .External copy their arguments: you should treat arguments you receive through these interfaces as read-only. ---- for an application, i'd like to consider these writable. assuming sufficient warnings in the documentation, etc., is that permissable? cheers, Greg Minshall
2018 May 31
3
Understanding the sequence of events when calling the R dpois function
Hello all, I am trying to get a better understanding of the underlying code for the stats::dpois function in R and, specifically, what happens under the hood when it is called. I finally managed to track down the C course at: https://github.com/wch/r-source/blob/trunk/src/nmath/dpois.c. It would seem that the dpois C function is taking a double for each of the x and lambda arguments so I am a bit
2018 Jun 12
3
Date class shows Inf as NA; this confuses the use of is.na()
>>>>> Emil Bode >>>>> on Tue, 12 Jun 2018 12:00:42 +0000 writes: > I agree that calling it invalid is a bit confusing, but I?m not sure what the wording should be, as the problem is that the conversion to POSIXlt is failing. > The best solution would be to extend the whole POSIXlt-class, but that?s too much work. > I?ve done some experiments, and it
2019 Sep 22
0
pigeonhole sieve "standalone"
...ms like a good candidate. but, i run nmh, not dovecot. as i started install it (on arch linux), i started to worry that it may be foolish of me to try to run it outside of a dovecot system. any wisdom about that would be gratefully received. thanks in advance, and thanks for the software. Greg Minshall
2015 Jan 23
0
No symlink support on SMB2 and SMB3?
...t;> >> Just that you know: I'm trying to have home shares on the network, and >> sometimes users need symlinks (in some osx .apps or when installing some >> ruby gems). I'm using samba because it should also work with OSX. > Well there's a workaround called "Minshall/French" symlink format: > > https://lists.samba.org/archive/samba-technical/2014-September/102476.html > > that hides the symlink target inside a 'special' file. That > should still work over SMB2, but it's tunnelling stuff inside > the protocol, not really protoc...
2020 Mar 16
0
pipe(): input to, and output from, a single process
On 13 March 2020 at 20:26, Greg Minshall wrote: | hi. i'd like to instantiate sed(1), send it some input, and retrieve | its output, all via pipes (rather than an intermediate file). | | my sense from pipe and looking at the sources (sys-unix.c) is that is | not possible. is that true? are there any thoughts of providing such a |...
2013 Feb 12
2
an assert() function
hi. i've looked for (and not found) an assert() function. needing one, i created the following (from stop()). i'm posting it in case 1) someone sees a problem with this; and 2) someone else has a need. cheers, Greg ---- ## an assert mechanism... assert <- function (shouldbe, ...) { if (!shouldbe) { .Internal(stop(as.logical(TRUE),
2013 Feb 14
0
network connectivity is *not* symmetric -- library(parallel)
...this would probably involve changes to socketConnection as well as maybe the internet module, so is probably longer term. i think, though, that doing this would benefit people who now are confused when they can't start up two clusters on the same (currently, master) machine, etc. cheers, Greg Minshall