Re: [R] GGplot2 stat_summary

2016-08-17 Thread PIKAL Petr
Hi Your code is not reproducible > melted_SWT <- melt(DF_filled_SWT,id.vars="X37") Error in melt(DF_filled_SWT, id.vars = "X37") : object 'DF_filled_SWT' not found and your explanation is rather cryptic. Try to elaborate minimal reproducible code with data available preferably by dput. Maybe

Re: [R] Problem detect cheating with CopyDetect Package

2016-08-17 Thread Jeff Newmiller
If we R users unfamiliar with the details of the CopyDetect package are to be able to help, we would need a reproducible example that includes data. See to http://www.catb.org/esr/faqs/smart-questions.html and http://adv-r.had.co.nz/Reproducibility.html for discussion on how to ask for help on

Re: [R] enabling PAM in R for RODBC connections

2016-08-17 Thread Jeff Newmiller
There are at least four layers of software involved here: RODBC, ODBC, HS2 and PAM. If the question involved RODBC then R-sig-db would be a much better bet for relevant experience (see the Posting Guide). However, your question seems to be about getting ODBC to talk with HS2... a topic for whic

Re: [R] R jobs on SLURM running on a single node only

2016-08-17 Thread Jeff Newmiller
Cross-posting [1] is not acceptable on R-help, particularly if you don't let reasonable time pass and inform us of the other posting. Topics not related to the R language are off-topic here (this is about slurm, not R). [1] http://stackoverflow.com/questions/38991287/r-jobs-on-slurm-running-on

[R] lavaan: Modification indices and intercepts

2016-08-17 Thread Miksza, Peter John
Hello, I’m examining CFA model invariance using the lavaan package in R. I’ve run an analysis to test “strong” model invariance (e.g., fixing loadings and intercepts to be equivalent across groups) but cannot seem to retrieve modification indices for freeing intercept parameters. Here is sampl

[R] enabling PAM in R for RODBC connections

2016-08-17 Thread Divakar Reddy
Hi, I'm trying to enable PAM authentication for RODBC connections in Hadoop/hiveserver2. I implemented required configurations in .ODBC.ini and it's working with user ID but not working with user ID and Password. Here are my configuration details in .odbc.ini Description=Hortonw

Re: [R] Creating dummy variable using ifelse statement while you also retain NA's

2016-08-17 Thread William Dunlap via R-help
You can use nested ifelse() calls, as in x <- c("a", "b", NA, "678") ifelse(is.na(x), NA_integer_, ifelse(grepl("[a-z]", x), 1L, 0L)) #[1] 1 1 NA 0 Note that most modelling functions that need dummy variables use the model.matrix function internally so character/factor data gets co

Re: [R] Creating dummy variable using ifelse statement while you also retain NA's

2016-08-17 Thread Jeff Newmiller
I cannot imagine why you would want ifelse to support an na.rm argument, and your phrase 'still retains the missing data denoted as "NA"' seems exactly how ifelse works anyway. You may need to study how NA values work... basic things like TRUE & NA ==NA and when you should use is.na(). The"Intr

[R] Creating dummy variable using ifelse statement while you also retain NA's

2016-08-17 Thread Olu Ola via R-help
Hello,I am trying to create a dummy variable using the ifelse statement. However, the ifelse statement does not recognize na.rm = True. How can I create a dummy variable so that it still retains the missing data denoted as "NA" ? Regards [[alternative HTML version deleted]]

Re: [R] Error in riv package

2016-08-17 Thread Ista Zahn
On Aug 17, 2016 12:30 PM, "Jeff Newmiller" wrote: > > Not our problem. Maybe maybe not. I'd say we don't have enough information to determine if this is on topic for R-help or not (I assume this is what you meant by 'not our problem'). Shivi, if you want help from this list you need to tell us e

Re: [R] Installation of rJava fails

2016-08-17 Thread Ulrik Stervbo
I usually install such packages though apt-get and that usually works. Best, Ulrik On Wed, 17 Aug 2016 at 18:08 wrote: > Hi All, > > I try to install RWeka on Debian GNU Linux 8 Jessie (uname -a: > 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64) > which has a dependency

Re: [R] Rmpfr drives me *Rmpfr*

2016-08-17 Thread ProfJCNash
I know I have to install mpfr in my systems first. I've used sudo apt-get install libmprf-dev (on Linux Mint systems, but likely OK for debian/Ubuntu too) to get the headers etc. JN On 16-08-17 01:46 AM, Ferri Leberl wrote: > Thank you for your answer. > The installation of Rmpfr ends with an

[R] Installation of rJava fails

2016-08-17 Thread G . Maubach
Hi All, I try to install RWeka on Debian GNU Linux 8 Jessie (uname -a: 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64) which has a dependency to "rJava". I did apt-get install openjdk-8-jre which went OK. Java is installed in: /var/lib/dpkg/alternatives/java /usr/lib/

Re: [R] Error in riv package

2016-08-17 Thread Shivi Bhatia
WOW!!! On Wed, Aug 17, 2016 at 8:15 PM, Jeff Newmiller wrote: > Not our problem. Please correspond with the maintainer of that package. > -- > Sent from my phone. Please excuse my brevity. > > On August 17, 2016 3:23:33 AM PDT, Shivi Bhatia > wrote: > >Hi David, > > > >If this has loaded corre

[R] GGplot2 stat_summary

2016-08-17 Thread maettuw
Hello guys I have a melted dataset that has 36 different time series included. With stat.summary() I added the mean. The problem is that these 36 time series do not have the same length. Therefore I would like to plot the mean only for the length that the shortest of these 36 time series has. E

Re: [R] Error in riv package

2016-08-17 Thread Jeff Newmiller
Not our problem. Please correspond with the maintainer of that package. -- Sent from my phone. Please excuse my brevity. On August 17, 2016 3:23:33 AM PDT, Shivi Bhatia wrote: >Hi David, > >If this has loaded correctly then it still does not allow me to run >iv.multi command where a can add al

[R] R jobs on SLURM running on a single node only

2016-08-17 Thread Sourav Ray
Despite mentioning the job name, partition and node on which the job should run, R is still running on compute node 01 with no migration to other nodes. I am presenting the script below, any help is appreciated: !/bin/bash #SBATCH --job-name=10/0.30 #SBATCH --nodes=1 #SBATCH --ntasks-per-node=16 #

Re: [R] Need help with use of ROCK algorithm in R for binary data

2016-08-17 Thread Matej Zuzčák
Hello Dan, many thanks for your reply. I have really 6 objects, I am sorry for my mistake in my previous mail. So I will try use ROCK algorithm for next data set and I will more study output yet. -- Best Regards Matej Zuzcak Dňa 17.8.2016 o 1:58 Nordlund, Dan (DSHS/RDA) napísal(a): > You shoul

Re: [R] Error in riv package

2016-08-17 Thread Shivi Bhatia
Hi David, If this has loaded correctly then it still does not allow me to run iv.multi command where a can add all the variables in the model and find their respective WOE and IV values. Thanks, Shivi On Wed, Aug 17, 2016 at 1:17 AM, David Winsemius wrote: > > > On Aug 16, 2016, at 11:07 AM, S

Re: [R] How to set the window size in rgl for full hd resolution

2016-08-17 Thread Duncan Murdoch
On 17/08/2016 12:30 AM, Atte Tenkanen wrote: Hi, How can open the window for rgl to use it in making full HD -videos, in which the resolution is 1920 x 1080? Your video card or OS might not support that size, but if they do, this is how: r3dDefaults$windowRect = c(0,0,1920,1080) open3d()

Re: [R] Rmpfr drives me *Rmpfr*

2016-08-17 Thread Ferri Leberl
*smiling* Thanks, Mag. Ferri Leberl   Gesendet: Mittwoch, 17. August 2016 um 08:48 Uhr Von: "Jean-Pierre Mueller" An: "r-help@r-project.org" Betreff: Re: [R] Rmpfr drives me *Rmpfr* Hello, Before running R, in a terminal, type:  sudo apt-get install libmpfr-dev -y HTH, Le mercredi 17 août