Re: [R] Something simple not working in group_by

2018-07-09 Thread Sariya, Sanjeev
Strange. Worked fine on: R version 3.4.2 (2017-09-28) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Debian GNU/Linux 9 (stretch) Commands: m <- data.frame( id = rep(1:3, each=2), score = rep(c(6,3), each=3) ) as.data.frame(m %>% group_by(id) %>% mutate(total = cumsum(score))) id

Re: [R] Hacked

2018-04-17 Thread Sariya, Sanjeev
I've been receiving nasty e-mails too. No g-mail, but official/work e-mail address. -Original Message- From: R-help On Behalf Of Rui Barradas Sent: Tuesday, April 17, 2018 5:09 PM To: Ding, Yuan Chun ; Fowler, Mark

Re: [R] Help with apply and new column?

2018-03-05 Thread Sariya, Sanjeev
Thank you, that helps. -Original Message- From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] Sent: Monday, March 5, 2018 3:36 PM To: Sariya, Sanjeev <ss5...@cumc.columbia.edu> Cc: r-help@r-project.org; R Help <r-help@r-project.org> Subject: RE: [R] Help with apply an

Re: [R] Help with apply and new column?

2018-03-05 Thread Sariya, Sanjeev
ot;SNP","P","CHR","BP") -Original Message- From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] Sent: Monday, March 5, 2018 1:48 PM To: r-help@r-project.org; Sariya, Sanjeev <ss5...@cumc.columb

[R] Help with apply and new column?

2018-03-05 Thread Sariya, Sanjeev
Hello members, Can I ask question for apply, adding new column to data frame on this e-mail list? Thanks! [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R] change location of temporary files

2018-02-23 Thread Sariya, Sanjeev
You can set this in script as: library("unixtools ") set.tempdir("/home/path_to_dir/temp_dir/") -- Sanjeev -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Kumar Mainali Sent: Friday, February 23, 2018 1:53 PM To: R Help Subject:

Re: [R] Error while working with png output on linux server

2018-02-01 Thread Sariya, Sanjeev
Thank you. -- Sanjeev Sariya -Original Message- From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] Sent: Thursday, February 01, 2018 12:09 PM To: Sariya, Sanjeev <ss5...@cumc.columbia.edu>; Thierry Onkelinx <thierry.onkel...@inbo.be> Cc: r-help@r-project.org Subject: R

Re: [R] Error while working with png output on linux server

2018-02-01 Thread Sariya, Sanjeev
] Sent: Thursday, February 01, 2018 10:57 AM To: Sariya, Sanjeev <ss5...@cumc.columbia.edu> Cc: Jeff Newmiller <jdnew...@dcn.davis.ca.us>; r-help@r-project.org Subject: Re: [R] Error while working with png output on linux server Dear Sanjeev, It seems that you system neither supports X11

Re: [R] Error while working with png output on linux server

2018-02-01 Thread Sariya, Sanjeev
Thanks for pointing to FAQ: I tried with cairo (shared in commands), unfortunately didn't work. -- Sanjeev Sariya -Original Message- From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] Sent: Thursday, February 01, 2018 10:12 AM To: r-help@r-project.org; Sariya, Sanjeev <

[R] Error while working with png output on linux server

2018-02-01 Thread Sariya, Sanjeev
I'm working on linux server: Linux 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux I get error while creating png files. I'm sharing my commands and error while I run those commands: >png("abc", type="cairo") Error in .External2(C_X11, paste0("png::", filename), g$width,

[R] How to run mixed model with related independent variables

2018-01-26 Thread Sariya, Sanjeev
I've data that look like: Outcome V1_AA V1_EU V1_NA V2_AA V2_EU V2_NA 0 0.046 1.001 0.954 0.045 1.001 0.954 0 0.007 1 0.993 0.007 1 0.993 1 1.774 0.217 0.009 1.774

[R] UseDevel: version requires a more recent R

2018-01-09 Thread Sariya, Sanjeev
Hello R experts: I need a developer version of a Bioconductor library. > sessionInfo() R version 3.4.2 (2017-09-28) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 When I try to useDevel it fails. I've removed packages and again loaded but I