[R] R Mysql Not reading all table names

2016-10-03 Thread Vivek Singh
Hi All: I am using R with MySQL, following is my code: library(RMySQL) con <- dbConnect(MySQL(), user="user", password="password", dbname="db", host="localhost") rs1 <- dbSendQuery(con, "show tables like \"%padded\"") all_tables3<- fetch(rs1, n=-1) There are 25 tables in the database when I exec

Re: [R] Not able to install RODBC package

2016-06-28 Thread Vivek Singh
her mirror? > Try the RMySQL package instead? > Ask on R-sig-db? > -- > Sent from my phone. Please excuse my brevity. > > On June 28, 2016 1:36:47 PM PDT, Vivek Singh wrote: > >> install.packages('RODBC') > >Installing package into ‘/home/vivek/R/x8

Re: [R] Not able to install RODBC package

2016-06-28 Thread Vivek Singh
u/ On Tue, Jun 28, 2016 at 5:11 PM, Marc Schwartz wrote: > On Jun 28, 2016, at 3:36 PM, Vivek Singh wrote: > > > >> install.packages('RODBC') > > Installing package into ‘/home/vivek/R/x86_64-pc-linux-gnu-library/3.0’ > > (as ‘lib’ is unspecified) > >

[R] Not able to install RODBC package

2016-06-28 Thread Vivek Singh
> install.packages('RODBC') Installing package into ‘/home/vivek/R/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ is unspecified) Warning: unable to access index for repository https://cloud.r-project.org/src/contrib Warning message: package ‘RODBC’ is not available (for R version 3.0.2) Please sugges

Re: [R] R getting "Killed" while running VAR model

2016-06-08 Thread Vivek Singh
Kumar Singh PhD student, Information Systems Decision Sciences, MUMA College of Business, USF Phone- (813) 5809131 Web: http://vivek4.myweb.usf.edu/ On Wed, Jun 8, 2016 at 10:13 AM, Vivek Singh wrote: > I am using *R version 3.0.2* (2013-09-25) on Ubuntu desktop (*Ubuntu > 14.04.4 LTS*)

Re: [R] R getting "Killed" while running VAR model

2016-06-08 Thread Vivek Singh
nsional VAR models, i.e. the > matrices get huge and you use huge amounts of memory and you use more than > what is available physically. The operating system protects itself by > killing processes in such a case... > > Best, > Uwe Ligges > > > > On 31.05.2016 20:29, Viv

[R] R getting "Killed" while running VAR model

2016-05-31 Thread Vivek Singh
Hi, I am using VARS (vector autoregressive model). The process gets killed after running for sometime. Following is the output of R. vivek@isds-research:~/cloudAuction/padding/panel$ cat var.Rout R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistica

[R] cbind() function : Not able to display columns

2013-10-22 Thread Vivek Singh
Hi All, I have create a matrix using cbind() function as follows: > a=c(1,2,3) > b=c('a','b','c') > c=c("ee","tt","rr") > k=cbind(a,b,c) Problem: when we print the matrix k, > k a b c [1,] "1" "a" "ee" [2,] "2" "b" "tt" [3,] "3" "c" "rr" we can see that rows are represented

Re: [R] R function for Bisecting K-means algorithm

2013-10-10 Thread Vivek Singh
gt; Is this an R question, by the way? This is not a statistics list -- > it's an R programming help list. > > Cheers, > -- Bert > > On Tue, Oct 8, 2013 at 8:13 PM, Vivek Singh > wrote: > > Any help on this? > > > > Regards, > > Vivek > &

Re: [R] R function for Bisecting K-means algorithm

2013-10-08 Thread Vivek Singh
Any help on this? Regards, Vivek On Tue, Oct 8, 2013 at 2:36 PM, Vivek Singh wrote: > Hi All, > > Can someone please tell me* R function for Bisecting K-means algorithm*. > I have used *kmeans() *function but not getting good results. > > Please help. > > -- > Th

[R] R function for Bisecting K-means algorithm

2013-10-07 Thread Vivek Singh
Hi All, Can someone please tell me* R function for Bisecting K-means algorithm*. I have used *kmeans() *function but not getting good results. Please help. -- Thanks and Regards, Vivek Kumar Singh Research Assistant, School of Computing, National University of Singapore Mobile:(0065) 82721535

Re: [R] save to file

2012-12-16 Thread Vivek Singh
try the following. it works for linux: $ R|tee log.txt I stored the log for a small period. *R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_64-pc-linux-gnu (64-bit) R is free software and com

Re: [R] Mixed Anova

2012-12-16 Thread Vivek Singh
please check this: http://stats.stackexchange.com/questions/11079/problem-with-anova-repeated-measures-error-model-is-singular On Mon, Dec 17, 2012 at 12:11 PM, Stephen Sammut wrote: > model is singular > -- Thanks and Regards, Vivek Kumar Singh Alcatel-Lucent, Bangalore (91)9886317184,