[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://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[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 more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] cv.binary problem

2016-06-15 Thread Amit Sengupta via R-help
HI,I am analyzing a risk model for type 2 diabetes using a logistic regression. 
In the final model I have only 6 predictors. The regression gives correct 
output (fullmod is the fitted model). Now I  try to do cross validation using 
cv.binary. Any help in resolving this problem will be appreciated.
> cv.binary(fullmod)
Error in sample.int(x, size, replace, prob) : invalid 'size' argument
Regards,Amit

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

[R] cv.glm problem

2016-06-15 Thread Amit Sengupta via R-help
HI,I am analyzing a risk model for type 2 diabetes using a logistic regression. 
In the final model I have only 6 predictors. The regression gives correct 
output (fullmod is the fitted model). Now I have a subset of dataset (mydata1) 
with 7 variables (1 response(0/1) + 6 predictors) and try to do cross 
validation using cv.glm. The dataset mydata1 has 1410 rows and no NA entry. 
This is the problem I run into (It does not matter what K I choose). Any help 
in this matter will be appreciated.
> cv.glm(mydata1,fullmod,K=6)
Error in if ((K > n) || (K <= 1)) stop("'K' outside allowable range") : 
  missing value where TRUE/FALSE needed
Regards,Amit

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

[R] readaff() problem

2015-10-12 Thread Amit Sengupta via R-help
 Hi,I am having a problem with the ReadAffy() in the university R programming 
environment. I install affyPLM and invoke library(affyPLM) in the following 
way. I have the cel files in the craig subdirectory. Please let me know how to 
resolve the problem.Amit
source("http://bioconductor.org/biocLite.R;)  biocLite("affyPLM") 
biocLite("gcrma") library(affyPLM)> 
setwd("c:/Users/amit.sengupta/Desktop/myRfolder/craig")
> craig.data=ReadAffy()
Error in AllButCelsForReadAffy(..., filenames = filenames, widget = widget,  : 
  No cel filennames specified and no cel files in specified 
directory:c:/Users/amit.sengupta/Desktop/myRfolder/craig
Included are the outputs of installations. 
   -   ⌂ Home 
   -  Amit 
   -   ⚙ Help  
 
Press ? for keyboard shortcuts.
 Close Ad   
   - Mail
   - Contacts
   - Calendar
   - Notepad
   - Messenger
   -   News Feed 1  

  

| 
| 
|  |
|   |
|  |
|   |


| 
|  |


| 
|   |
|  |
|   |
|  |

 |

 |


|   |
|  |
|   |
| 
|  |  |

 |
|   |


|   |
|  |
|   |


|  | 
|  |
|   |
|  |
|   |
|  |  |
|   |
|  |
|   |
|  |  |
|  |
|   |

 |  |


|   |
|   |
|  |
|   |
| 
||

 |
|   |
| 
|  |  |

 |
|   |


|   |


|  | 
|  |
|   |
|  |  |
|   |

 |  |


|  |


|   |
|  |
|   |
|  |
|   |
|  |
|   |
|  |
|   |

 |

 |

  
||
| |
|   |
||

  
||

   
  
  
   - 
   - 
   - 
  
   -  
   -  
  
||
| |
|   |
||

  
||

   
  


||
| |
|   |
||

  
||

   
  

||
| |
|   |
||

  
||

   
  
 
   


  


   
||
| |
|   |
||

  
||

   
|   |

   
   - 
  
|   |
| 
   



 
  |
||


||

 
 preproc (5) 
   People Amit Sengupta  Hi David, After installing bioclite, I invoke 
library(affyplm) and run into this problem. > library(affyPLM) Loading required 
package: affy Error: package ‘Biobase’ required by ‘affy’ could no Sep 
29 at 12:43 PM Wheeler, David Linnard  Hello Sir, I had similar 
problems. For me I had to essentially resource bicolite everytime as below. 
Also, try to put quotations around your package names after the bioclite 
command, see it that works Sep 29 at 3:08 PM   Hi David,This is the 
problem now with ReadAffy(). I have all files in myRfolder. Let me know what 
you think.Amit-
> source("http://bioconductor.org/biocLite.R;)
Bioconductor version 3.1 (BiocInstaller 1.18.4), ?biocLite for help
> biocLite("affyPLM")
BioC_mirror: http://bioconductor.org
Using Bioconductor version 3.1 (BiocInstaller 1.18.4), R version 3.2.0.
Installing package(s) ‘affyPLM’
trying URL 
'http://bioconductor.org/packages/3.1/bioc/bin/windows/contrib/3.2/affyPLM_1.44.0.zip'
Content type 'application/zip' length 5289800 bytes (5.0 MB)
downloaded 5.0 MB

package ‘affyPLM’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\amit.sengupta\AppData\Local\Temp\RtmpITiCKT\downloaded_packages
> biocLite("gcrma")
BioC_mirror: http://bioconductor.org
Using Bioconductor version 3.1 (BiocInstaller 1.18.4), R version 3.2.0.
Installing package(s) ‘gcrma’
trying URL 
'http://bioconductor.org/packages/3.1/bioc/bin/windows/contrib/3.2/gcrma_2.40.0.zip'
Content type 'application/zip' length 490279 bytes (478 KB)
downloaded 478 KB

package ‘gcrma’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\amit.sengupta\AppData\Local\Temp\RtmpITiCKT\downloaded_packages
> library(affyPLM)
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:parallel’:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following object is masked from ‘package:stats’:

    xtabs

The following objects are masked from ‘package:base’:

    anyDuplicated, append, as.data.frame, as.vector, cbind, colnames,
    do.call, duplicated, eval, evalq, Filter, Find, get, intersect,
    is.unsorted, lapply, Map, mapply, match, mget, order, paste, pmax,
    pmax.int, pmin, pmin.int, Position, rank, rbind, Reduce, rep.int,
    rownames, sapply, setdiff, sort, table, tapply, union, unique,
    unlist, unsplit

Loading required package: affy
Loading required package: Biobase
Welcome to Bioconductor

    Vignettes contain introductory material; view 

[R] preprocessing problem

2015-10-05 Thread Amit Sengupta via R-help
Hi,I am having a problem with the ReadAffy() in the university R programming 
environment. I install affyPLM and invoke library(affyPLM) in the following 
way. I have the cel files in the craig subdirectory. Please let me know how to 
resolve the problem.Amit
source("http://bioconductor.org/biocLite.R;)  biocLite("affyPLM") 
biocLite("gcrma") library(affyPLM)> 
setwd("c:/Users/amit.sengupta/Desktop/myRfolder/craig")
> craig.data=ReadAffy()
Error in AllButCelsForReadAffy(..., filenames = filenames, widget = widget,  : 
  No cel filennames specified and no cel files in specified 
directory:c:/Users/amit.sengupta/Desktop/myRfolder/craig
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.