[R] Fwd: Cannot generate a *.docx file

2017-05-14 Thread Yves S. Garret
I'm using R 3.4.0. -- Forwarded message -- From: Yves S. Garret Date: Sun, May 14, 2017 at 2:35 PM Subject: Cannot generate a *.docx file To: r-help Hello, I have the following code example: library(ReporteRs) # Create a word document to contain R outputs doc &l

[R] Cannot generate a *.docx file

2017-05-14 Thread Yves S. Garret
Hello, I have the following code example: library(ReporteRs) # Create a word document to contain R outputs doc <- docx() # Add a title to the document doc <- addTitle(doc, "Simple Word document", level = 1) # Add a paragraph of text into the Word document cat("Output 1\n") doc <- addParagraph(

[R] Custom data structures inside of a hash function

2016-05-03 Thread Yves S. Garret
Hello, I have the following code: http://pastebin.ca/3590201 What I'm trying to do is to create a hash map where the key is two characters and that maps to a structure of some information. The problem with the above example is that the first two keys match to the first instance of c('hello', 0),

[R] Why can't I access this type?

2015-03-22 Thread Yves S. Garret
Hi, I'm just learning my way around R. I got a bunch of states and would like to access to get all of the ones where it's cold. But when I do the following, I will get the following error: > all.states <- as.data.frame(state.x77) > cold.states <- all.states[all.states$Frost > 150, c("Name", "Fro

Re: [R] R and Forex

2011-10-12 Thread Yves S. Garret
devel > list where the experts on the nitty gritty could give you better answers > than I can. > > Michael > > > On Oct 12, 2011, at 8:38 PM, "Yves S. Garret" > wrote: > > Don't see myself making 'real-time' trades. Most likely a few times a

Re: [R] R and Forex

2011-10-12 Thread Yves S. Garret
ealt with in the > R-SIG-Finance archives a couple of times. > > Michael > > On Wed, Oct 12, 2011 at 5:56 PM, Yves S. Garret > wrote: > > Also, when you say to do the trading aspect is more difficult, what do > you > > mean exactly? Are there performance issues wi

Re: [R] R and Forex

2011-10-12 Thread Yves S. Garret
When can I send stuff to the mailing list without having moderator approval? Is that possible? On Wed, Oct 12, 2011 at 12:19 AM, Liviu Andronic wrote: > On Wed, Oct 12, 2011 at 3:29 AM, Yves S. Garret > wrote: > > Hi all, > > > > I recently started learning ab

Re: [R] R and Forex

2011-10-12 Thread Yves S. Garret
No, that's not what I meant. I was curious if anyone has ever done this before and how well it worked. Any tips for a novice? On Wed, Oct 12, 2011 at 12:19 AM, Liviu Andronic wrote: > On Wed, Oct 12, 2011 at 3:29 AM, Yves S. Garret > wrote: > > Hi all, > > > >

[R] R and Forex

2011-10-11 Thread Yves S. Garret
Hi all, I recently started learning about Forex and found this O'Reilly book in Barnes & Nobles about R. I bought it out of pure curiosity. I like what I see. However, I have a question. Has anyone tried to bring these two ideas together in a financial and trading sense? Are there any libr