[R] R MSI Installer

2015-04-24 Thread billy am
Hi Everyone , Is there a place where I can download msi installer for latest version of R? Thanks Billy [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/list

Re: [R] ggplot: connect points with line (not in order)

2015-04-05 Thread billy am
Will this do? ggplot(mydat,aes(xx,yy)) + geom_path() >From : >http://stackoverflow.com/questions/15706281/controlling-order-of-points-in-ggplot2-in-r -- | http://billyam.com || http://use-r.com || http://shinyse

Re: [R] RSQLite will not install in R 2.15.0

2015-03-21 Thread billy am
Hi Brendon , Pls download and install the latest R version and try again. > version _ platform x86_64-w64-mingw32 arch x86_64 os mingw32 system x86_64, mingw32 status major 3 minor 1.3 year 2015 month 03 day

Re: [R] Which is better: Modifying an existing package or creating a new one?

2015-03-19 Thread billy am
I would second that. -- | http://billyam.com || http://use-r.com || http://shinyserver.com (BETA) SAS Certified Base Programmer for SAS 9 Oracle SQL Expert(11g) On Thu, Mar 19, 2015 at 4:39 PM, Thierry Onkelinx

Re: [R] R for organization

2015-01-11 Thread billy am
Actually I would be interested to know which are the organisations that does not allow R. -- | http://billyam.com || http://use-r.com || http://shinyserver.com (BETA) SAS Certified Base Programmer for SAS 9 Oracl

Re: [R] R vs. RStudio?

2015-01-10 Thread billy am
I concur. Pls try it. -- | http://billyam.com || http://use-r.com || http://shinyserver.com (BETA) SAS Certified Base Programmer for SAS 9 Oracle SQL Expert(11g) On Sun, Jan 11, 2015 at 10:47 AM, John Sorkin

Re: [R] New to R

2014-12-15 Thread billy am
Hi , As the OP was asking for examples , I would also recommend "Modeling Techniques in Predictive Analytics" by Thomas Miller. That book is full of examples + R scripts. Its on Amazon. Regards Billy -- | http://

Re: [R] Removing description from lm()

2014-10-06 Thread billy am
! Billy On Mon, Oct 6, 2014 at 8:42 AM, David Winsemius wrote: > ?coef > > Sent from my iPhone > > > On Oct 5, 2014, at 4:21 AM, billy am wrote: > > > > Hi , > > > > When I run the following code , I get both the description and the value > , >

Re: [R] Removing description from lm()

2014-10-05 Thread billy am
t 5, 2014 at 10:37 PM, peter dalgaard wrote: > > On 05 Oct 2014, at 16:06 , billy am wrote: > > > Thank you both very much. It is the unname that is what I am looking for. > > Thanks! > > > > Btw , must the [1] be there? I am writing a Shiny web app hence I would >

Re: [R] Removing description from lm()

2014-10-05 Thread billy am
t)"](Intercept) 0.5714286 > On Sun, Oct 5, 2014 at 9:09 PM, Uwe Ligges wrote: > > > On 05.10.2014 15:02, Duncan Murdoch wrote: > >> On 05/10/2014, 7:21 AM, billy am wrote: >> >>> Hi , >>> >>> When I run the following code , I get both the des

[R] Removing description from lm()

2014-10-05 Thread billy am
Hi , When I run the following code , I get both the description and the value , eg : Intercept and 0.5714286. Is there a way to extract just the value 0.5714286? Thanks! > x <- c(1,5,3,1)> y <- c(5,8,2,3)> lm(x~y) Call: lm(formula = x ~ y) Coefficients: (Intercept)y 0.5714

Re: [R] A new environment within the main function

2014-09-22 Thread billy am
Hi Everyone , Thanks for the input. On Mon, Sep 22, 2014 at 6:48 AM, David Winsemius wrote: > > On Sep 21, 2014, at 6:06 AM, billy am wrote: > > Hi Everyone , >> >> I am having an issue with the following code and would need kind >> assistant. >> >&g

[R] A new environment within the main function

2014-09-21 Thread billy am
Hi Everyone , I am having an issue with the following code and would need kind assistant. For a specific reason , I would need to create a new environment for variables within the function and use them and I am having issue with it on the project I am doing. The issue is that no matter what I do

[R] Rmarkdown Installation error on Shiny server , CentOS 6.4 x64

2014-08-03 Thread billy am
Hi , I am having difficulty installation rmarkdown on the centos shiny server. Can anyone help? Thanks! > devtools::install_github("rstudio/rmarkdown") Installing github repo rmarkdown/master from rstudio Downloading master.zip from https://github.com/rstudio/rmarkdown/archive/master. zip Install

Re: [R] generate random numbers for lotteries

2012-04-29 Thread billy am
Interesting set of question.. I am completely new to R but let me try my luck. Random number in R x <- runif(60 , 0 , 10) # 60 numbers from 0 to 10 y<- runif(60, 15 , 25) # same as above , from 15 to 25 The second part though. Do you mean , for( i in 1:length(x)) { z = x[i] + y[i] return z }