G'day Anuj,
On Sun, 28 Jul 2019 16:40:28 -0700
Anuj Goyal wrote:
> Why does pdf() work outside a function, but not inside it?
Because you use a graphics system that need printing to produce the
plot. On the command line auto-printing is your friend, but in
functions you have to do it explicitl
Thanks! I think the quantmod maintainer is trying to make it a bit
more functional so there are fewer side effects.
I'll try to find a workaround.
On Sun, Jul 28, 2019 at 4:58 PM Duncan Murdoch wrote:
>
> On 28/07/2019 7:40 p.m., Anuj Goyal wrote:
> > Why does pdf() work outside a function, but
On 28/07/2019 7:40 p.m., Anuj Goyal wrote:
Why does pdf() work outside a function, but not inside it?
Try a simpler example, and you'll see that it does, e.g.
f <- function() { pdf("temp.pdf"); plot(1, main="inside f"); dev.off() }
You're doing very complicated things in your function; qua
Why does pdf() work outside a function, but not inside it?
R version 3.6.0 (2019-04-26) on Mac 10.14.5
# R --silent --vanilla < s2.r
library(quantmod)
options("getSymbols.warning4.0"=FALSE)
options("getSymbols.yahoo.warning"=FALSE)
gs <- function(f) {
csvText <- "s,n\nAFL,AFLAC\nAIG,AIG"
csv
Hi Anul,
Try this (it worked for me)
mapply (chart_Series, mget(symVec), name=infoVec, MoreArgs=list(pars=cp,
theme=ct ))
Best,
Eric
On Sun, Jul 28, 2019 at 7:03 PM Anuj Goyal wrote:
> It compiles without errors, but the chart_pars() and chart_theme() are
> not being applied. eg. the Right Y-
It compiles without errors, but the chart_pars() and chart_theme() are
not being applied. eg. the Right Y-axis label still exists in p.pdf.
Is it possible that cp and ct don't easily vectorize?
# R --silent --vanilla < sof.r
library(quantmod)
options("getSymbols.warning4.0"=FALSE)
options("getSymb
Hi Anuj,
I am providing comments regarding your first attempt to call mapply.
Since you are working with named arguments, you shouldn't need to include
the NULLs in the call.
Also you have provided the argument MoreArgs twice, which is what is
causing the Error message.
You can replace that call wi
I apologize for writing my question in Spanish. I thought that I was writing
my question to the Spanish list.
Agust�n Alonso
---
Este correo electr�nico ha sido comprobado en busca de virus por AVG.
http://www.avg.com
[[alternative HTML version deleted]]
Hi Richard,
Nice comment on how authors use examples to show *how* to use a particular
method, not necessarily *when* to use a particular method (or which method
to use).
Good to keep in mind.
Thanks for sharing.
On Sun, Jul 28, 2019 at 11:30 AM Michael Dewey
wrote:
> Hay una lista en castellan
Hay una lista en castellano
https://stat.ethz.ch/mailman/listinfo/r-help-es
Michael
On 27/07/2019 18:41, Agustín Alonso Rodriguez wrote:
Estimados miembros de la Lista:
Me dirijo a vosotros para que, si pod�is, ilumin�is mi confusi�n.
Estoy trabajando con los modelos neural netwok del l
10 matches
Mail list logo