Re: [R] memory problem

2017-05-02 Thread Anthoni, Peter (IMK)
Hi Amit, Is the file gzipped or extracted? if you read the plain text file, try to gzip it and make a read.table on the gzipped file, the read.table can handle gzipped files at least on linux and mac OS, not sure about windows. cheers Peter > On 2. May 2017, at 18:59, Amit Sengupta via R-hel

Re: [R] install lapack for mac

2017-05-02 Thread Berend Hasselman
This should have been sent to the R-SIG-Mac mailinglist. Rstudio has nothing to do with your problem. Which R are you using? The CRAN version? The CRAN version has the Lapack routines included. From which package does function lle(..) come from? Have you tried with less packages attached? Why

Re: [R] RJDBC

2017-05-02 Thread Hasan Diwan
Anthony, Did you try options(java.parameters = "-Xmx8g -Djava.oracle.jdbc.timezoneAsRegion=false") instead of specifying the java property separately? -- H On 2 May 2017 at 15:18, Nelson Anthony wrote: > Hi all, > > > > I am trying to connect to Database using RJDBC but due to some DB & Server

[R] (no subject)

2017-05-02 Thread Hend Alaa
When I reinstall R tools this message come up and I can't proceed any way. c/Rtools/mingo_libs/lib/i386/libsicudt.a An error occurred while trying to copy a file: the source file is corrupted. click Retry to try again, Ignore to skip this file(not recommended), or Abort to cancel installation. c

Re: [R] finegray function in the survival package

2017-05-02 Thread Ahalya Sivathayalan
Hello R-team, I am trying to use the tmerge function from survvial library. My data is similar to mgus2 dataset from R. But, I get the following message. Error in tmerge(dat, dat, id = Number, death = event(dYears, death), BMF = event(ptemp, : tstart must be > tstop > Could you help me? Tha

[R] RJDBC

2017-05-02 Thread Nelson Anthony
Hi all, I am trying to connect to Database using RJDBC but due to some DB & Server timezone mismatch I am facing below error message. Error in .jcall(drv@jdrv, "Ljava/sql/Connection;", "connect", as.character(url)[1], : java.sql.SQLException: ORA-00604: error occurred at recursive SQL le

Re: [R] nested for loop with data table

2017-05-02 Thread Jim Lemon
Hi Ek, I think you want your example to look like this: Sample<-read.table(text= "Num Color Grade Value Month Day 1 yellow A 20 May 1 2 green B 25 June 2 3 green A 10 April 3 4 black A 17 August 3 5 red C 5 December 5 6 orange D 0 January 13 7 orange E 12 January 5 8 orange F 11 February 8 9 orang

Re: [R] install lapack for mac

2017-05-02 Thread William Michels via R-help
Have you tried R-GUI, in the R-distribution available below? https://cran.r-project.org/bin/macosx/ Here's a similar question on SO: http://stackoverflow.com/questions/13476736/r-lapack-routines-cannot-be-loaded HTH, Bill. William Michels, Ph.D. On Tue, May 2, 2017 at 11:51 AM, Assa Yeroslav

Re: [R] memory issue

2017-05-02 Thread Jeff Newmiller
Suggestions... Post plain text (you reduce your own chances of getting feedback by failing to do this in your email program) Provide sample data and code Buy more RAM use data.table package and fread load and analyze subsets of data Put the data into a database (e.g. sqlite?) If these sugge

Re: [R] nested for loop with data table

2017-05-02 Thread Boris Steipe
There's a lot that doesn't make sense here. I think what you need to do is produce a small, reproducible example, post that with dput() and state your question more clearly - including what you have tried and what didn't work. You'll probably be amazed how quickly you will get good advice if _y

[R] memory issue

2017-05-02 Thread Amit Sengupta via R-help
HI,I am unable to read a 2.4 gig file into a table (using read.table) in a 64 bit R environment. Do you have any suggestions?Amit [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https:/

[R] install lapack for mac

2017-05-02 Thread Assa Yeroslaviz
Hi, I am running R under Rstudio for the analysis of single-cell RNA-Seq data. When trying to analyse some data I keep getting the message > slicer_traj_lle <- lle(t(deng[slicer_genes,]), m = 2, k)$Y finding neighbours calculating weights Error in eigen(G, symmetric = TRUE, only.values = TRUE) :

[R] memory problem

2017-05-02 Thread Amit Sengupta via R-help
Hi,I was unable to read a 2.4 gig file into an R object using read.table in 64 bit R environment. Please let me have your suggestions.Amit Sengupta [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

[R] nested for loop with data table

2017-05-02 Thread Ek Esawi
I have a huge data file; a sample is listed below. I am using the package data table to process the file and I am stuck on one issue and need some feedback. I used fread to create a data table. Then I divided the data table (named File1) into 10 general subsets using common table commands such as:

Re: [R] clip a raster according to a shape file in R.

2017-05-02 Thread Jeff Newmiller
The answer is yes. However there are quite a few online resources (including blogs and the CRAN Spatial Task View and vignettes for packages mentioned there) that describe various tools and step you through how to do this, and you have not provided a reproducible example, and there is a whole ma

Re: [R] Unusual behavior in e1071?

2017-05-02 Thread Uwe Ligges
Look more carefully at y. If this is a factor, please note what is the first (reference) level and what the second. This determines the rule, not the value of the first observation. Best, Uwe Ligges On 02.05.2017 07:25, Daniel Jeske wrote: Hello - I have noticed that when I run svm() the ord

Re: [R] cannot load .sav-files in R 3.4.0

2017-05-02 Thread Anthony Damico
are you able to install anything from github? like devtools::install_github( "hadley/dplyr" ) On Tue, May 2, 2017 at 9:36 AM, wrote: > unfortunately it failed with the installation of lodown: > >> devtools::install_github("ajdamico/lodown") >> > Downloading GitHub repo ajdamico/lodown@master

Re: [R] How create columns for squared values from previous columns?

2017-05-02 Thread Mike C
Ah, that works! Thank you! From: PIKAL Petr Sent: Tuesday, May 2, 2017 7:56:33 AM To: C W; r-help Subject: RE: [R] How create columns for squared values from previous columns? Hi you can use data.frame data.frame(dat, dat[,1:3]^2) and you can set names afterwar

Re: [R] How create columns for squared values from previous columns?

2017-05-02 Thread PIKAL Petr
Hi you can use data.frame data.frame(dat, dat[,1:3]^2) and you can set names afterwards by names function. Cheers Petr > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of C W > Sent: Saturday, April 29, 2017 3:22 AM > To: r-help > Subject: Re: [R] Ho