Displaying 20 results from an estimated 67 matches for "somenames".
Did you mean:
somename
2025 Mar 29
4
Creating model formulas programmatically
...m almost certain that this has been asked and answered here
before, so my apologies for the redundant query.
I also know that there are several packages that will do this, but I wish
to do it using base R functions only (see below).
The query: Suppose I have a character vector of names like this:
somenames <- c("Heigh", "Ho", "Silver", "Away")
(maybe dozens or hundreds: i.e. lots of names)
Now suppose want to put these in a model formula like this:
~ (Heigh + Ho + Silver + Away)^2
... But **without** pasting them into a character vector and using
parse(tex...
2016 Jul 17
2
Moving Maildir folders
Am 2016-07-17 um 02:36 schrieb Mark Foley:
> Not quite there yet. The folders show up, but I cannot see the mail inside the folders unless
> (in the Thunderbird client) I uncheck the setting "Show only subscribed folders". Still, the
> top-level folder is shown as grayed-out/italics as well as the the sub-folder INBOX. All other
> sub-folder at the same level as INBOX are not
2025 Mar 29
2
[External] Creating model formulas programmatically
...s here maybe, it may be perfectly
fine. So think of my post as mostly my attempt to learn some new tricks
rather than to solve a useful problem. I hope this is not unfair to the
list.
Cheers,
Bert
On Sat, Mar 29, 2025 at 3:12?PM Richard M. Heiberger <rmh at temple.edu> wrote:
> > somenames <- c("Heigh", "Ho", "Silver", "Away")
> > as.formula(paste("~(",paste(somenames, collapse="+"),")^2"))
> ~(Heigh + Ho + Silver + Away)^2
> >
>
> > On Mar 29, 2025, at 14:30, Bert Gunter <bgunter.4567...
2025 Mar 30
1
Creating model formulas programmatically
Another solution. reformulate + substitute + as.formula:
substitute(~ (.)^2, list(. = reformulate(somenames)[[2]])) |> as.formula()
On Sat, Mar 29, 2025 at 5:31?PM Bert Gunter <bgunter.4567 at gmail.com> wrote:
>
> Note: I am almost certain that this has been asked and answered here
> before, so my apologies for the redundant query.
>
> I also know that there are several packages...
2025 Mar 29
1
[External] Creating model formulas programmatically
> somenames <- c("Heigh", "Ho", "Silver", "Away")
> as.formula(paste("~(",paste(somenames, collapse="+"),")^2"))
~(Heigh + Ho + Silver + Away)^2
>
> On Mar 29, 2025, at 14:30, Bert Gunter <bgunter.4567 at gmail.com> wrote...
2010 Dec 04
2
Strange config behaviour while using /etc/dovecot/auth.d/somename.auth
While using Ubuntu 10.10 + Dovecot 1.2.12 + Postfix 2.7.1-1:
To export the authentication interface to Postfix, besides the usual
smtpd_sasl_* lines at postfix, I am using: the
following /etc/dovecot/auth.d/somename.auth file:
socket listen {
client {
path = /var/spool/postfix/private/auth-client
mode = 0660
user = postfix
group = postfix
}
}
But after restarting dovecot and
2025 Mar 30
1
Creating model formulas programmatically
...erson is one who can entertain new ideas, entertain others,
and entertain herself."
On Sun, Mar 30, 2025 at 6:11?AM Gabor Grothendieck <ggrothendieck at gmail.com>
wrote:
> Another solution. reformulate + substitute + as.formula:
>
> substitute(~ (.)^2, list(. = reformulate(somenames)[[2]])) |> as.formula()
>
> On Sat, Mar 29, 2025 at 5:31?PM Bert Gunter <bgunter.4567 at gmail.com>
> wrote:
> >
> > Note: I am almost certain that this has been asked and answered here
> > before, so my apologies for the redundant query.
> >
> > I al...
2025 Mar 30
1
[External] Creating model formulas programmatically
...hts and
suggestions. I have learned from them.
Thus far, my own aesthetic preference -- and therefore not to be considered
in any sense as a "best" approach -- is to use Duncan's suggestion to
produce the call directly with call() rather than substitute in my simple
for() loop; i.e.
somenames <- c("Heigh", "Ho", "Silver", "Away")
nms <- lapply(somenames, as.name)
frm<- nms[[1]]
for(x in nms[-1]) frm <<- call("+", frm, x)
frm <-bquote(~ (.(frm))^2, list(frm =frm))
## which yields
> frm
~(Heigh + Ho + Silver + Away)^...
2025 Mar 30
1
[External] Creating model formulas programmatically
...erfectly fine. So think of my post as mostly my attempt to learn some new tricks rather than to solve a useful problem. I hope this is not unfair to the list.
Cheers,
Bert
On Sat, Mar 29, 2025 at 3:1?PM Richard M. Heiberger <rmh at temple.edu<mailto:rmh at temple.edu>> wrote:
> somenames <- c("Heigh", "Ho", "Silver", "Away")
> as.formula(paste("~(",paste(somenames, collapse="+"),")^2"))
~(Heigh + Ho + Silver + Away)^2
>
> On Mar 29, 2025, at 14:30, Bert Gunter <bgunter.4567 at gmail.com<mailto:...
2025 Mar 30
1
[External] Creating model formulas programmatically
...rfectly fine. So think of my post as mostly my attempt to learn some new tricks rather than to solve a useful problem. I hope this is not unfair to the list.
Cheers,
Bert
On Sat, Mar 29, 2025 at 3:12?PM Richard M. Heiberger <rmh at temple.edu<mailto:rmh at temple.edu>> wrote:
> somenames <- c("Heigh", "Ho", "Silver", "Away")
> as.formula(paste("~(",paste(somenames, collapse="+"),")^2"))
~(Heigh + Ho + Silver + Away)^2
>
> On Mar 29, 2025, at 14:30, Bert Gunter <bgunter.4567 at gmail.com<mailto:...
2010 Mar 06
7
form_for, submit, and parameters disappearing
Consider the following:
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2011 Nov 11
2
One step way to create data frame with variable "variable names"?
Suppose
plotx <- "someName"
modx <- "otherName"
plotxRange <- c(10,20)
modxVals <- c(1,2,3)
It often happens I want to create a dataframe or object with plotx or
modx as the variable names. But can't understand syntax to do that.
I can get this done in 2 steps, creating the data frame and then
assigning names, as in
newdf <- data.frame( c(1, 2, 3, 4),
2016 Jul 17
3
Moving Maildir folders
On Date: Sun, 17 Jul 2016 12:24:04 +0200 Luigi Rosa <lists at luigirosa.com> wrote:
>
> Peter Chiochetti wrote on 17/07/2016 11:01:
>
> > With Maildir and path separator "." one can have incomplete paths: eg.
> > bpatterson.INBOX.2011 will say that there is 2011 within INBOX within bpatterson
> > -- while it is possible, that both bpatterson and
2025 Mar 29
1
[External] Creating model formulas programmatically
...s here maybe, it may be perfectly fine. So think of my post as mostly my attempt to learn some new tricks rather than to solve a useful problem. I hope this is not unfair to the list.
Cheers,
Bert
On Sat, Mar 29, 2025 at 3:12?PM Richard M. Heiberger <rmh at temple.edu> wrote:
> > somenames <- c("Heigh", "Ho", "Silver", "Away")
> > as.formula(paste("~(",paste(somenames, collapse="+"),")^2"))
> ~(Heigh + Ho + Silver + Away)^2
> >
>
> > On Mar 29, 2025, at 14:30, Bert Gunter <bgunter.4567...
2007 Mar 19
1
How to set up different "bottles" in Wine, just like in Codeweaver's Crossover Office?
Hi all,
How does one set up different "bottles" like in Crossover office?
Meaning how do I isolate an installation of Program A from Program B,
when running under Wine?
is that possible? That's a neat feature they have in Crossover, but I
can't seem to find any documentation of how to do the samething in
generic WINE.
Robert
2009 Feb 09
0
Problem with upper case extension names
It seems as if there is a problem if one uses Local/SomeName at some_context in
a Dial application. If the extension is changed to somename then things
work.
I have an extension SomeName defined. In another extension I try to dial
this extension and it does not work saying extension/context not found. The
extension displayed has uppercase characters so the case is not lost.
If I change the
2025 Mar 30
1
[External] Creating model formulas programmatically
...y post as mostly my attempt to learn some new tricks rather than to solve a useful problem. I hope this is not unfair to the list.
>
> Cheers,
> Bert
>
>
>
>
>
> On Sat, Mar 29, 2025 at 3:12?PM Richard M. Heiberger <rmh at temple.edu> wrote:
>
>>> somenames <- c("Heigh", "Ho", "Silver", "Away")
>>> as.formula(paste("~(",paste(somenames, collapse="+"),")^2"))
>> ~(Heigh + Ho + Silver + Away)^2
>>>
>>
>>> On Mar 29, 2025, at 14:30, Bert Gunter...
2012 Mar 02
0
server signing = mandatory aix 6.1 (abridged debug)
Using samba 3.5.12 on aix 6.1 when I set "server signing = mandatory"
nothing can connect to my server. Included the smb.conf followed by errors
showing up in the level 10 debug output.
Thanks,
>cat /usr/local/samba/lib/smb.conf
[global]
workgroup = somename
netbios name = someserver
server string = somename Samba Server %v
security = user
1998 Nov 18
1
0.63 naming list elements
The following used to work (0.62.1 the latest that I used), and now
it doesn't (0.63.0):
force <- vector(mode = "list", length = 1)
names(force)[1] <- somename
It returns the error:
Error in "[<-"(NULL, 1) : object is not subsetable
You might argue that this approach is unnecessary now that R allows
subscripts that are out of range (e.g., force<-list();
2001 Sep 07
2
@ERROR
@ERROR: failed to open lock file /var/run/rsyncd.lock : No such file or
directory
solaris 2.6 (server)
rsync 2.3.1
this has never been a problem before.
This is a customer's error when trying to upload to our server.
They claim it is not their end. I disagree.
Anyway, I don't have their version info or OS.
Matt