search for: dot

Displaying 20 results from an estimated 7664 matches for "dot".

Did you mean: do
2011 Aug 31
3
How to modify the dot-dot-dot argument using level names instead of position
Dear R-users, In the R internals manual, it is said that one can extract the elements of the dot-dot-dot argument using the special symbols ..1 or ..2. It seems to work just fine but I was wondering if there is a way one can extract or modify the content of the dot-dot-dot argument using a level name instead of its position? For instance, assuming that list(...) returns: $a [1] 1 2 3 4...
2018 Aug 12
3
substitute() on arguments in ellipsis ("dot dot dot")?
Hi. For any number of *known* arguments, we can do: one <- function(a) list(a = substitute(a)) two <- function(a, b) list(a = substitute(a), b = substitute(b)) and so on. But how do I achieve the same when I have: dots <- function(...) list(???) I want to implement this such that I can do: > exprs <- dots(1+2) > str(exprs) List of 1 $ : language 1 + 2 as well as: > exprs <- dots(1+2, "a", rnorm(3)) > str(exprs) List of 3 $ : language 1 + 2 $ : chr "a" $ : language...
2009 Jun 08
3
using regular expressions to retrieve a digit-digit-dot structure from a string
Hi, i need to recognize itemization structures in strings which follow the format: "digit-digit-dot" like e.g. 1. 2. 19. 211. Given the string " This happened in the 21. century." (the dot behind 21 is used in German instead of 21st) I want know where the dots are but I do not want the 21.-dot to be returned as well. I am not good at regular expressions. How can I re...
2008 Sep 25
5
Dot plot - equivalent of MINITAB
hi folks, Bit of a newbie, but I've spent a fair bit of time looking for an answer on this, with no joy. Can anyone help me? Dataset: A single column of values in a csv file (eg. 52, 53, 54, 85, etc) Goal: In Minitab, you have what they call a dot plot. It's a histogram, where a single dot represents a set of identical values (eg. 57, 57, 57 would be one dot). Multiple dots are stacked on top of each other (as if gravity was affecting them). The advantage is that outliers are very visible (since a single 155 still gets a single dot)....
2013 Jun 24
10
[LLVMdev] LLVM 3.3 dot releases
Hi, A few months ago, I mentioned I was interested in helping to make dot releases for LLVM 3.3. Now that 3.3 has been released, I would like to kick off the process of collecting bug fixes and merging them into the 3.3 branch. I reviewed the previous discussion about dot releases: http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-April/060821.html and I've come up w...
2010 Feb 19
3
dot-dot-dot as an actual argument
I could not find any documentation of how dot-dot-dot works when used as an argument in a function call (rather than as a formal argument in a definition). I would appreciate some references to the rules governing situations like: f1<-function(x,y,...){ ? print(x) } f2<-function(...){ ? f1(...) } f2(1,2,3) In the call above how are t...
2018 Aug 13
2
substitute() on arguments in ellipsis ("dot dot dot")?
...gt;> >> Hi. For any number of *known* arguments, we can do: >> >> one <- function(a) list(a = substitute(a)) >> two <- function(a, b) list(a = substitute(a), b = substitute(b)) >> >> and so on. But how do I achieve the same when I have: >> >> dots <- function(...) list(???) >> >> I want to implement this such that I can do: >> >>> exprs <- dots(1+2) >>> str(exprs) >> >> List of 1 >> $ : language 1 + 2 >> >> as well as: >> >>> exprs <- dots(1+2, &quot...
2018 Aug 13
0
substitute() on arguments in ellipsis ("dot dot dot")?
Thanks all, this was very helpful. Peter's finding - dots2() below - is indeed interesting - I'd be curious to learn what goes on there. The different alternatives perform approximately the same; dots1 <- function(...) as.list(substitute(list(...)))[-1L] dots2 <- function(...) as.list(substitute(...())) dots3 <- function(...) match.call(ex...
2005 Sep 30
3
Dots in function names
Recent R function names seem to be using CaseOfTheLetters to mark words rather than dots as was done previously. Is the use of dots in function names deprecated, or is that simply a style choice? Will function names with dots cause problems in future revisions? Mike Prager
2008 Feb 01
2
multiple functions with three dots
Dear all, I am creating functions with the "three dot" strategy. I wold like to have suggestion when writing multiple functions that calls multiple functions with "...". I will give you a couple of example: >a=1:5 >b=6:10 >d=3:7 >example=function(x,y, z, ...){ plot(x,y, ...) points(x,z, ...) } >example(a,b,d)...
2006 Jan 03
5
RDOC and dot on mac
All, This is probably a bit more of a mac question, but here goes. (Admission: I posted this to ruby-talk as well....) I am trying to use rdoc -d to generate class diagrams on a mac running Tiger (OS X 10.4) for a rails app. I managed to get dot installed, but now am running into problems with dot looking for libraries that either do not exist or are apparently in the wrong place. I probably made things worse by trying (at various times) both Darwin ports and i-installer. Can anyone point me to instructions on getting this working? BTW, t...
2012 May 15
2
pass objects into "..." (dot dot dot)
Hello, Thanks in advance for any help! How do I pass an unknown number of objects into the "..." (dot dot dot) parameter? Put another way, is there some standard way to pass multiple objects into "..." to "fool" the function into thinking the objects are passed in separately/explicitly with common separation (like "x,y,z" when x, y and z are objects to be passed into &...
2009 Dec 01
3
irregular problem on outlook + imap
Hi list, my customer say me that "sometime" he has a problem with imap server when he try to move a mail from a folder to another. The error are: """ NO [TRYCREATE] Mailbox doesn't exist: folder.with.dots and spaces and numbers""" Like now I had connected to the server for create a "tcpdump | strings" session and the results are: vj8q OK Idle completed. can9 LIST "" "INBOX" dtZ@ * LIST (\HasChildren) "." "INBOX" can9 OK List compl...
2016 Jun 02
1
access denied with "hide dot files = Yes"
...- jra at samba.org < samba.andwin.dacc010f26.jra#samba.org at ob.0sg.net> wrote: > > > If I understand this correctly, the stored DOS attributes didn't contain > > the H attribute and this did override (prior to the bug fix) the forced H > > attribute from "hide dot files = yes". But if this was the case, why did > > the Windows Explorer show these files then as hidden? > > The stored DOS attributes may or may not have stored > the H attribute. The problem was that the file name > was being ignored when deciding whether to return H >...
2019 Mar 08
0
Ellipsis and dot-dot-number [Re: Dots are not fixed by make.names()]
...re not allowed as syntactic names (see make.names). They **are** allowed as non-syntactic names, e.g. inside backtick quotes." `..1` and `...` are allowed for assigning, but these symbols cannot be used in the context of a variable. Example: `..1` <- 1 `..13` <- 13 `...` <- "dots" `..1` #> Error: ..1 used in an incorrect context, no ... to look in `..13` #> Error: ..13 used in an incorrect context, no ... to look in `...` #> Error in eval(expr, envir, enclos): '...' used in an incorrect context Does the ?Reserved help page need to mention this oddity...
2010 Apr 23
0
dot dot dot and NextMethod
...ge, I would need to build a specific method for the "pmin" function. I first make "pmin" generic pmin <- function (..., na.rm = FALSE) UseMethod("pmin") pmin.default <- base::pmin Now, within my new method, I would like to change the arguments in . (dot dot dot) before sending it to the NextMethod. pmin.myobject <- function(., na.rm=FALSE){ args <- list(.) # Here, I change my args. For example: args <- lapply(args, function(x) x + 1) # and now, I would li...
2009 Mar 20
3
On guessing theta
...(S). You transmit, m, s, |L|, and |R|. The decoder needs to find unknown positive constants a and b to compute L = a*m + b*s R = a*m - b*s To find a and b, we use two constraints |L|^2 = |a*m + b*s|^2 |R|^2 = |a*m - b*s|^2 That proceeds as follows: |a*m + b*s|^2 = a^2*|m|^2 + b^2*|s|^2 + 2*a*b*dot(m,s) = a^2 + b^2 + 2*a*b*dot(m,s) = |L|^2 |a*m - b*s|^2 = a^2*|m|^2 + b^2*|s|^2 - 2*a*b*dot(m,s) = a^2 + b^2 - 2*a*b*dot(m,s) = |R|^2 We now compute the sum and difference: sum: 2*(a^2 + b^2) = |L|^2 + |R|^2 a^2 + b^2 = (|L|^2 + |R|^2)/2 difference: 4*a*b*dot(m,s) = |L|^2...
2018 Aug 13
1
substitute() on arguments in ellipsis ("dot dot dot")?
Since you're already using bang-bang ;) library(rlang) dots1 <- function(...) as.list(substitute(list(...)))[-1L] dots2 <- function(...) as.list(substitute(...())) dots3 <- function(...) match.call(expand.dots = FALSE)[["..."]] dots4 <- function(...) exprs(...) bench::mark( dots1(1+2, "a", rnorm(3), stop("bang!"...
2006 Mar 25
3
dot diagram
Hello, I hope to plot my data in a dot diagram, something like the output of the last example of layout function in graphics package. The only difference is that I need the rectangle in histogram is replaced by dot. Thanks in advance. Best wishes, Jinsong Zhao
2008 Apr 18
2
[3.0.28,1/smb.conf] Can't hide dot files
Hello I set up Samba 3.0.28,1 on a FreeBSD 6.3 host. I'd like users _not_ to see the hidden dot files in directories, but "hide dot files" doesn't work, no matter whether I put it in [global] or [homes]: ====== [global] workgroup = WORKGROUP netbios name = Samba hosts allow = 192.168.0. 127. log file = /var/log/samba/log.%m max log size = 50 socket options = SO_RCVBUF=8192 SO_S...