Re: [R] Updating Rcpp package when it is claimed by dplyr

2018-02-01 Thread Jeff Newmiller
Your last statement is extremely unlikely to be true. The dplyr package should not be present in a vanilla environment, so there should be no such conflict. -- Sent from my phone. Please excuse my brevity. On February 1, 2018 11:00:01 PM PST, Patrick Connolly

[R] Updating Rcpp package when it is claimed by dplyr

2018-02-01 Thread Patrick Connolly
When i tried to install the hunspell package, I got this error message: Error: package ‘Rcpp’ 0.12.3 was found, but >= 0.12.12 is required by ‘hunspell’ So I set about installing a new version of Rcpp but I get this message: Error in unloadNamespace(pkg_name) : namespace ‘Rcpp’ is imported

Re: [R] Data Table Merge Help

2018-02-01 Thread Jeff Newmiller
I rarely use data.table, but I think the vignette for the package discusses rolling joins. Also, Google popped up [1]. [1] https://www.r-bloggers.com/understanding-data-table-rolling-joins/ -- Sent from my phone. Please excuse my brevity. On February 1, 2018 9:45:53 AM PST, "Graeve, Nick"

Re: [R-es] [data[,1]==1, 2]

2018-02-01 Thread Manuel Mendoza
Tienes razón, Carlos, en el copia y pega me dejé un "data". Voy a ver lo que me mandas. Gracias, como siempre. Manuel Quoting Carlos Ortega : Hola, - *[data[,1] ==1, 2]* - Esto no tiene sentido... - si lo que querías decir era *data[data[,1] == 1, 2]

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

2018-02-01 Thread MacQueen, Don
What does capabilities() return? For example, I get > capabilities() jpeg pngtiff tcltk X11 TRUETRUETRUETRUETRUE aquahttp/ftp sockets libxmlfifo TRUETRUETRUE

Re: [R] Data Table Merge Help

2018-02-01 Thread Bert Gunter
Did you search first? (This is suggested by the posting guide -- below -- prior to posting). "merge 2 data.tables in R" brought up what looked like useful stuff, in particular the merge() function for data tables. If this does not do what you want, it may help to explain why not. Alternatively,

[R] Data Table Merge Help

2018-02-01 Thread Graeve, Nick
Hello I'm not sure if this is an appropriate use of this mailing list or not, please let me know if it isn't.  I'm struggling to figure out how to merge two data tables based on max effective date logic compared to when a payment occurred.  My dtDistributions DT is a transactional dataset

[R-es] [data[,1]==1, 2]

2018-02-01 Thread Manuel Mendoza
Algo muy sencillo: ¿cómo leeríais esto [data[,1]==1, 2]? Gracias Quoting Manuel Mendoza : Muchas gracias Carlos; ¡tu siempre al pié del cañón! (lo puse el día de reyes a la 1.20h y me contestas a las 2.45h) Una cosa más: si el eje y es la probabilidad ¿por qué va

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 ; Thierry Onkelinx Cc: r-help@r-project.org Subject: RE: [R] Error

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

2018-02-01 Thread Jeff Newmiller
This is not an R issue so this is not a good venue... it has to do with which support software you have (not) installed. Try the R-sig-debian mailing list. Please clarify to them how you installed R... for Debian there are relevant deb packages and a corresponding Debian repository that provide

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

2018-02-01 Thread Henrik Bengtsson
You could try with png2() in the R.devices package, which is just a convenient wrapper around the bitmap() device which can also produce PNGs. It's not perfect but it might get you going. Henrik On Feb 1, 2018 08:24, "Sariya, Sanjeev" wrote: > Thanks for your reply. I

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

2018-02-01 Thread Sariya, Sanjeev
Thanks for your reply. I searched for the error on Google before resorting to the R forum (help group). I tried Sys.env(...) too, but didn't resolve the error I get. Hence I am looking for solution. -- -Original Message- From: Thierry Onkelinx [mailto:thierry.onkel...@inbo.be]

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

2018-02-01 Thread Thierry Onkelinx
Dear Sanjeev, It seems that you system neither supports X11 devices nor cairo devices. See http://lmgtfy.com/?q=R+unable+to+open+connection+to+X11 for possible solutions. Best regards, ir. Thierry Onkelinx Statisticus / Statistician Vlaamse Overheid / Government of Flanders INSTITUUT VOOR

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

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

2018-02-01 Thread Jeff Newmiller
FAQ 7.19? Also, read the Posting Guide, in particular about posting using plain text. -- Sent from my phone. Please excuse my brevity. On February 1, 2018 6:50:42 AM PST, "Sariya, Sanjeev" wrote: >I'm working on linux server: >Linux 4.9.0-4-amd64 #1 SMP Debian

[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,

Re: [ESS] Using ESS with nix

2018-02-01 Thread Sparapani, Rodney
Yes you need it. Check the manual again. Sent from my iPhone On Feb 1, 2018, at 6:31 AM, Dominic Steinitz > wrote: ATTENTION: This email originated from a sender outside of MCW. Use caution when clicking on links or opening

[R-es] weighting in gbm.step

2018-02-01 Thread Manuel Mendoza
Muy buenas. Estoy intentando ponderar las muestras aplicando la función gbm.step del paquete dismo. En el manual lo hace añadiendo: site.weights = rep(1, nrow(data)) (que en realidad les da el mismo peso a todas). Yo tengo un vector con el peso de cada muestra, pero no encuentro la forma