Displaying 20 results from an estimated 1000 matches similar to: "Learning advanced R"
2018 Mar 13
0
Learning advanced R
See Hadley's advanced R along Thomas Mailund's books. I haven't gone
through them carefully but they both
seem (from what I've looked at ) to be the best ones for that. Mentions of
others are appreciated.
On Tue, Mar 13, 2018 at 5:26 PM, Nik Tuzov <ntuzov at beacon.partek.com> wrote:
>
> Hello:
>
> Could you please suggest the best way to become an
2018 Mar 09
2
Package gamlss used inside foreach() and %dopar% fails to find an object
Hello all:
Please help me with this "can't find object" issue. I'm trying to get leave-one-out predicted values for Beta-binomial regression.
It may be the gamlss issue because the code seems to work when %do% is used. I have searched for similar issues, but haven't managed to figure it out. This is on Windows 10 platform.
Thanks in advance,
Nik
#
2018 Mar 09
0
Package gamlss used inside foreach() and %dopar% fails to find an object
If the code you are running in parallel is complicated, maybe foreach is not sophisticated enough to find all the variables you refer to. Maybe use parallel::clusterExport yourself? But be a aware that passing parameters is much safer than directly accessing globals in parallel processing, so this might just be your warning to not do that anyway.
--
Sent from my phone. Please excuse my brevity.
2018 May 10
1
Tackling of convergence issues in gamlss vs glm2
Hello:
I'd like to know how and if the GLM convergence problems are addressed in gamlss.
For simplicity, let's focus on Normal and Negative Binomial with log link.
The convergence issues of the glm() function were alleviated in 2011 when glm2 package was released.
Package gamlss was released in 2012, so it might still use the glm-like solution or call glm() directly.
Is that the case or
2018 Mar 12
0
Package gamlss used inside foreach() and %dopar% fails to find an object
Hello Mikis:
Thanks a lot, it worked. Could you tell me what the problem was?
Regards,
Nik
----- Original Message -----
From: r-help-request at r-project.org
To: "r-help"
Sent: Sunday, March 11, 2018 6:00:02 AM
Subject: R-help Digest, Vol 181, Issue 11
Send R-help mailing list submissions to
r-help at r-project.org
To subscribe or unsubscribe via the World Wide Web, visit
2005 Jul 14
2
Partek has Dunn-Sidak Multiple Test Correction. Is this the same/similar to any of R's p.adjust.methods?
The Partek package (www.partek.com) allows only two selections for Multiple
Test Correction: Bonferroni and Dunn-Sidak. Can anyone suggest why Partek
implemented Dunn-Sidak and not the other methods that R has? Is there any
particular advantage to the Dunn-Sidak method?
R knows about these methods (in R 2.1.1):
> p.adjust.methods
[1] "holm" "hochberg" "hommel"
2015 Mar 05
3
Submit a package which use doParallel
Hi,
I'm trying to submit my first package which depends on doParallel:
Depends: R (>= 3.0), igraph, doParallel
Running hadley devtools: devtools::check() and devtools::release() result
in no problem (no ERROR nor NOTE on Linux, Mac and Windows).
However, when in use the devtools::build_win() command, it results in the
following note:
* checking R code for possible problems ... NOTE
2005 Jun 15
1
2 LDA
Hi,
I am using Partek for LDA analysis. For a binary
response variable, it generates 2 discriminant
functions, one for each of the 2 levels of the
response variable. And I can simply calculate 2
discriminant scores (say d1 and d2) for each sampples
using the 2 discriminant functions, then I can use the
following formula to compute the posterior probability
for the sample:
2015 Mar 05
2
Submit a package which use doParallel
On 05/03/2015 6:16 PM, Brian G. Peterson wrote:
> On Thu, 2015-03-05 at 18:03 -0500, Etienne Lord wrote:
>> Hi,
>>
>> I'm trying to submit my first package which depends on doParallel:
>>
>> Depends: R (>= 3.0), igraph, doParallel
>
> add foreach to your Depends. That should resolve the error you're
> seeing.
Please don't do that. Use
2018 Mar 10
0
. Package gamlss used inside foreach() and %dopar% fails to find an object (Nik Tuzov)
Dear Nik
Try the following code
loo_predict.mu <- function(model.obj, input.data) {
yhat <- foreach(i = 1 : nrow(input.data), .packages="gamlss", .combine = rbind) %dopar% {
updated.model.obj <- update(model.obj, data = input.data[-i, ])
predict(updated.model.obj, what = "mu", data = input.data[-i, ],
newdata = input.data[i,], type =
2011 Dec 06
1
Vignette using parallel's makeCluster function has trouble building on Windows 7
Hi, all--
I've been working on a doParallel package to provide a foreach
parallel backend for the new parallel package, but I am having trouble
building the vignette. On my system, if I use the following minimal
vignette (call it buggyVignette.Rnw):
\documentclass[a4paper]{article}
\title{Sweave Example 1}
\author{Rich Calaway}
\begin{document}
\maketitle
In this example
2018 Mar 13
3
Learning advanced R
On Tue, 13 Mar 2018, Mark Leeds wrote:
> See Hadley's advanced R
+1 A very well writte, highly useful book. Recommended.
Rich
2006 Mar 10
2
possible to impose limit on R's use of resources?
When I run some large optimizations in R under Windows it puts a heavy
load on the CPU, which makes other applications that run at the same
time very slow. Is it possible to instruct R to be less aggressive in
its use of computer resources, so I can use my computer for other
purposes while running R (probably considerably slower) in the
background?
Han de Vries
--------------------
This email
2002 Aug 15
4
tinc-1.0pre7-i386-1.tgz
Beste tinc-developer,
Ik moet van mijn baas een aantal VPN's aanleggen en ben nu thuis bezig om te
testen. Ik heb 2 computers in een thuisnetwerkje (totaal 6 computers)
geinstalleerd met SuSe 7.3, daar de klanten dit ook hebben. De computers zijn
verbonden met een switch.
Dit is de inhoud van mijn bestanden:
Op computer 1 genaamd suse met ip 192.168.0.99 netmask 255.255.255.0
2018 Mar 14
1
Fwd: Learning advanced R
Hi Albrecht,
I am forwarding your reply to the full group.
It's been a while since I did this and I don't remember the details. Maybe
someone else can comment. (I am a bit busy at the moment.)
If no one supplies the information in a few days I will try to take a look.
In the meantime you can start your reading on-line. :-)
Regards,
Eric
Dear Eric,
I downloaded the material from
2006 Apr 07
3
Logging And Environment
Hi All,
Couple easy questions:
1. How do I view what environment my app is running under (i.e
production / testing / development) - I''m not sure what RAILS_ENV is
set at, how to I take a look at it?
2. Somehow (?) I have turned logging "off". I''d like to have it back
on :s I have files called production.log, test.log, server.log,
development.log in /myapp/log/ but
2008 Jun 29
3
Working around/with Restful Authentication
I''m using Restful Authentication, and the code to create a user is
pretty straight forward - there is a before_save action and a
before_create action:
before_save :encrypt_password
before_create :make_activation_code
But for some reason when I try to create a user programmatically in
the controller like this:
User.new(:email =>
2017 Aug 13
2
Paralelizar el cálculo de distancias
Buenas,
Quiero ver si he paralelizado correctamente el proceso. Tengo dos dataframes, A y B y quiero calcular la distancia euclídea de todas las filas de A sobre todas las filas de B. Para ello he hecho lo siguiente
#cargo las librerias
library(foreach)
library(doParallel)
#establezco el numero de clusters, en mi caso 4, ya que el procesador tiene 4 nucleos
cl<-makeCluster(4)
2018 Mar 14
0
Fwd: Learning advanced R
I recommend reading it directly via the website, or buying the book.
If you are trying to build a PDF, then the "obvious" question is whether you have LaTeX installed, which is an operating-system-dependent procedure handled outside of R.
--
Sent from my phone. Please excuse my brevity.
On March 14, 2018 9:39:53 AM PDT, Eric Berger <ericjberger at gmail.com> wrote:
>Hi
2004 Apr 13
4
Dial Plan Format Strings
In the absence of "The Definitive Guide to Asterisk Dial Plans" book, I'd
like to do something possibly unique with the formatting of extensions in my
dial plan, and am having trouble. We use VoicePulse connect, which gives us
local DID for inbound and outbound calls (even though DTMF tones are not
working in Voice Pulse Connect at the moment). To dial local numbers, you
have to