search for: bohman

Displaying 11 results from an estimated 11 matches for "bohman".

Did you mean: gohman
2017 Dec 04
3
Dynamic reference, right-hand side of function
...in the future instead. Thanks! Love for (year in 2000:2007){ varname <- paste0("aa_",year) assign(paste0(varname), as.vector(eval(as.name(varname)))) } -----Ursprungligt meddelande----- Fr?n: peter dalgaard [mailto:pdalgd at gmail.com] Skickat: den 4 december 2017 16:39 Till: Love Bohman <love.bohman at sociology.su.se> Kopia: r-help at r-project.org ?mne: Re: [R] Dynamic reference, right-hand side of function The generic rule is that R is not a macro language, so looping of names of things gets awkward. It is usually easier to use compound objects like lists and iterate ove...
2017 Dec 04
2
Dynamic reference, right-hand side of function
...y of thinking, and I really appreciate the corrections. I hope I someday will be able to handle lists in R as easy as I handle loops in Stata... Thanks again! Love -----Ursprungligt meddelande----- Fr?n: peter dalgaard [mailto:pdalgd at gmail.com] Skickat: den 4 december 2017 23:09 Till: Love Bohman <love.bohman at sociology.su.se> Kopia: r-help at r-project.org ?mne: Re: [R] Dynamic reference, right-hand side of function Um, if you insist on doing it that way, at least use assign(varname, as.vector(get(varname))) -pd > On 4 Dec 2017, at 22:46 , Love Bohman <love.bohman at soci...
2017 Dec 04
0
Dynamic reference, right-hand side of function
Um, if you insist on doing it that way, at least use assign(varname, as.vector(get(varname))) -pd > On 4 Dec 2017, at 22:46 , Love Bohman <love.bohman at sociology.su.se> wrote: > > Hi! > Thanks for the replies! > I understand people more accustomed to R doesn't like looping much, and that thinking about loops is something I do since I worked with Stata a lot. The syntax from Peter Dalgaard was really clever, a...
2017 Dec 05
3
Dynamic reference, right-hand side of function
...A million thanks! My R-superpowers are, well, not as minuscule as when I woke up this morning. All the best, Love (or maybe LoveR, my future superhero name) -----Ursprungligt meddelande----- Fr?n: Jeff Newmiller [mailto:jdnewmil at dcn.davis.ca.us] Skickat: den 5 december 2017 00:01 Till: Love Bohman <love.bohman at sociology.su.se> Kopia: peter dalgaard <pdalgd at gmail.com>; r-help at r-project.org ?mne: Re: [R] Dynamic reference, right-hand side of function Loops are not evil, and no-one in this thread said they are. But I believe your failure to provide a reproducible example i...
2017 Dec 05
0
Dynamic reference, right-hand side of function
...nd the R vector concept useful and it more likely to make mistakes with it. Instead of using as.vector and is.vector, use as.numeric or as.character, etc., and is.numeric or is.character, naming the type you want. Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Dec 4, 2017 at 4:23 PM, Love Bohman <love.bohman at sociology.su.se> wrote: > Hi again! > I know you don't find loops evil (well, at least not diabolic :-) ). > (After many hours googling I have realized that thinking about loops rather > than lists is a newbie thing we Stata-users do, I just jokingly pointed i...
2017 Dec 04
0
Dynamic reference, right-hand side of function
...e more explanations of reproducibility [1][2][3] [1] http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example [2] http://adv-r.had.co.nz/Reproducibility.html [3] https://cran.r-project.org/web/packages/reprex/index.html (read the vignette) On Mon, 4 Dec 2017, Love Bohman wrote: > :-) > I don't insist on anything, I'm just struggling to learn a new language and partly a new way of thinking, and I really appreciate the corrections. I hope I someday will be able to handle lists in R as easy as I handle loops in Stata... > Thanks again! > > Love...
2023 Oct 19
12
[Bug 3629] New: Building with Clang-17 fails due to -fzero-call-used-regs
...Product: Portable OpenSSH Version: 9.5p1 Hardware: amd64 OS: Mac OS X Status: NEW Severity: critical Priority: P5 Component: Build system Assignee: unassigned-bugs at mindrot.org Reporter: debohman at gmail.com I am using the public LLVM / Clang 17 release as my toolchain. I noticed https://bugzilla.mindrot.org/show_bug.cgi?id=3475, where there was a problem with the use of -fzero-call-used-regs, which was worked around for Clang 15 and the Apple Clang. This problem is with Clang 17, and to...
2017 Dec 04
0
Dynamic reference, right-hand side of function
...alist, "[[", 1) colnum <- lapply(col1, as.numeric) (The 2nd line assumes that the damage has already been done so that you have aa_2000 ... aa_2007 in your workspace. You might alternatively create the list directly while importing the data.) -pd > On 4 Dec 2017, at 12:33 , Love Bohman <love.bohman at sociology.su.se> wrote: > > Hi R-users! > Being new to R, and a fairly advanced Stata-user, I guess part of my problem is that my mindset (and probably my language as well) is wrong. Anyway, I have what I guess is a rather simple problem, that I now without success s...
2017 Dec 04
3
Dynamic reference, right-hand side of function
Hi R-users! Being new to R, and a fairly advanced Stata-user, I guess part of my problem is that my mindset (and probably my language as well) is wrong. Anyway, I have what I guess is a rather simple problem, that I now without success spent days trying to solve. I have a bunch of datasets imported from Stata that is labelled aa_2000 aa_2001 aa_2002, etc. Each dataset is imported as a matrix, and
2005 Feb 24
3
IAXY DNS possibilities??
...dress, I have found no way to do this, your best bet is to pony up the extra cash for a fixed address (usually 3-4x the cost) I would love to hear if anyone has figured this one out, as I have 5 IAXY's which are not doing me much good at this point. Jim -----Original Message----- From: John Bohman [mailto:bohmanj@adcnoc.com] Sent: Thursday, February 24, 2005 3:42 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [Asterisk-Users] IAXY DNS possibilities?? Is there any way to hard code an ip in the IAXY then re-direct that ip to a dynamic ip via dns.. Some sor...
2010 Jul 09
0
"incompatible character encodings: ASCII-8BIT and UTF-8"
Hi! Just started to learn Rails, and I get this error when i''m trying to make a simple forum-app (much like the screencast about making a blog in 15min at rubyonrails.org). This appears when I try to render a partial - that is posting a comment containing swedish letters å (&aring;), ä (&auml;) and ö (&ouml;). I can view those posts by going to localhost:3000/posts/ using