Re: [R] Problem installing R 2.12.1 on Mac OS X Yosemite 10.10.5

2017-01-11 Thread David Winsemius
> On Jan 11, 2017, at 10:20 PM, David Winsemius wrote: > > >> On Jan 11, 2017, at 4:15 PM, Florence Lui wrote: >> >> I'm trying to download version 2.12.1 of R in order for it to be compatible >> with the version of SPSS I have on my computer

Re: [R] [FORGED] file.exists() on device files

2017-01-11 Thread Rolf Turner
On 12/01/17 16:33, Henrik Bengtsson wrote: FYI, the /proc is there because Unix has something called the "proc filesystem (procfs; https://en.wikipedia.org/wiki/Procfs) is a special filesystem in Unix-like operating systems that presents information about processes and other system

Re: [R] Problem installing R 2.12.1 on Mac OS X Yosemite 10.10.5

2017-01-11 Thread David Winsemius
> On Jan 11, 2017, at 4:15 PM, Florence Lui wrote: > > I'm trying to download version 2.12.1 of R in order for it to be compatible > with the version of SPSS I have on my computer (SPSS V. 20), so that I can > install the Essentials for R plugin for SPSS. > > However,

[R] (no subject)

2017-01-11 Thread woo lawson
hello friends, i wanted to install miniCRAN as site-repository and once its created wanted to push few packages to miniCRAN. I read some docs online about minicran but didn't find good help so far and confuse about couple of things. wanted to know, -> is minicran package comes with any packages

[R] Problem installing R 2.12.1 on Mac OS X Yosemite 10.10.5

2017-01-11 Thread Florence Lui
I'm trying to download version 2.12.1 of R in order for it to be compatible with the version of SPSS I have on my computer (SPSS V. 20), so that I can install the Essentials for R plugin for SPSS. However, when I try to install this version of R, I get a popup saying it can't be installed because

Re: [R] Error in R_nc4_open

2017-01-11 Thread Roy Mendelssohn - NOAA Federal
> On Jan 11, 2017, at 8:39 PM, Debasish Pai Mazumder wrote: > > Thanks so much Roy. It works. > Thanks Jeff for all your help. > As a part of NCAR Command Language help group, I was only concern about the > first response I received from this help group which will

Re: [R] Error in R_nc4_open

2017-01-11 Thread Debasish Pai Mazumder
Thanks so much Roy. It works. Thanks Jeff for all your help. As a part of NCAR Command Language help group, I was only concern about the first response I received from this help group which will discourage new user like me to post their problems in this forum. I would like apologize if I caused

Re: [R] [FORGED] file.exists() on device files

2017-01-11 Thread Henrik Bengtsson
On Wed, Jan 11, 2017 at 3:56 PM, Rolf Turner wrote: > On 11/01/17 23:12, Benjamin Tyner wrote: >> >> Hi, >> >> On my linux machine (Ubuntu, and also tested on RHEL), I am curious to >> know what might be causing file.exists (and also normalizePath) to not >> see the final

Re: [R] Error in R_nc4_open

2017-01-11 Thread Jeff Newmiller
My real point was that all the relevant information was missing, and it was missing because Debasish was unaware of which software was actually responsible for generating that error, and we were in the dark on that until the example was provided. -- Sent from my phone. Please excuse my

Re: [R] [FORGED] file.exists() on device files

2017-01-11 Thread Rolf Turner
On 11/01/17 23:12, Benjamin Tyner wrote: Hi, On my linux machine (Ubuntu, and also tested on RHEL), I am curious to know what might be causing file.exists (and also normalizePath) to not see the final device file here: > list.files("/dev/fd", full.names = TRUE) [1] "/dev/fd/0"

Re: [R] co-expression network of coding-noncoding genes

2017-01-11 Thread Bert Gunter
Wrong list. Post on the Bioconductor list. -- Bert On Jan 11, 2017 5:15 PM, "Elham - via R-help" wrote: hello all, I have 9 experiments (human RNAseq data (control/treatment)),I did RNAseq analysis by CLC genomics,after normalization I calculated correlation, I have

[R] co-expression network of coding-noncoding genes

2017-01-11 Thread Elham - via R-help
hello all, I have 9 experiments (human RNAseq data (control/treatment)),I did RNAseq analysis by CLC genomics,after normalization I calculated correlation, I have many pairs of coding and lncoding molecules that correlate according to their expression,I filtered them (> 0.9 and < -0.9).

Re: [R] Error in R_nc4_open

2017-01-11 Thread Roy Mendelssohn - NOAA Federal
Try replacing http with https. > gribfile <- > "https://nomads.ncdc.noaa.gov/thredds/dodsC/modeldata/cfsv2_forecast_ts_9mon/2011/201104/20110401/2011040100/tmax.01.2011040100.daily.grb2; > nc <- nc_open(gribfile) > str(nc) List of 14 $ filename : chr

Re: [R] Error in R_nc4_open

2017-01-11 Thread Sarah Goslee
Jeff's point was that R and RStudio are two entirely different things, and if you think it's a problem with RStudio, you should pursue their tech support. If you think it's a problem with R, then you should prepare a reproducible example and submit it to this list, as you've done. I actually

Re: [R] Error in R_nc4_open

2017-01-11 Thread Ben Tupper
Hi, > error-Error in R_nc4_open: NetCDF: DAP server error Based upon the error above, the issue appears to be on the server side not your client end. Perhaps the URL to the grib file is not correct? I know that I recently switch NOMADS related URLS from http to https. You also asked about

Re: [R] Error in R_nc4_open

2017-01-11 Thread Debasish Pai Mazumder
Hi Jeff, Thanks for your detail response but I am really baffled by this sort of response from a help group because I am also a part of a help group (NCAR-Command Language). Anyway I felt its R/Rstudio issue because my code was working properly before..but since the update it isn't

Re: [R] Error in R_nc4_open

2017-01-11 Thread Jeff Newmiller
You will do yourself a favor if you pay attention to which software you are using. When you use RStudio, the console window is a direct connection to R, which is NOT RStudio... it has a separate installer and a different support group (e.g. this mailing list). All of this means you have failed

Re: [R] How to automatically create data frames from an existing one?

2017-01-11 Thread MacQueen, Don
I don't know what the matlab eval() function does, but this example might help you get started with the way R does things: lapply( rwrdatafile, summary) This will apply the summary() function to every column of the data frame. As others have mentioned, it is bad R to create separate variables

[R] Error in R_nc4_open

2017-01-11 Thread Debasish Pai Mazumder
Hi all, I recently updated my Rstudio to the newer version (Version 1.0.136) and I started to getting following error when I am trying to read netcdf files Error in R_nc4_open: NetCDF: DAP server error Any ideas? with regards -Deb [[alternative HTML version deleted]]

Re: [R] installing rgl

2017-01-11 Thread Duncan Murdoch
On 11/01/2017 3:03 PM, Weiner, Michael wrote: -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: Wednesday, January 11, 2017 2:55 PM To: Weiner, Michael ; r-help@r-project.org Subject: Re: [R] installing rgl On this page

Re: [R] installing rgl

2017-01-11 Thread Weiner, Michael
-Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: Wednesday, January 11, 2017 2:55 PM To: Weiner, Michael ; r-help@r-project.org Subject: Re: [R] installing rgl > On this page > >http://forums.fedoraforum.org/showthread.php?t=294543 >

Re: [R] installing rgl

2017-01-11 Thread Duncan Murdoch
On this page http://forums.fedoraforum.org/showthread.php?t=294543 eventually it turned out that a similar problem was fixed by yum install libpng-devel For other readers, someone else posted that on OpenSUSE, this was the magic install: sudo zypper in libpng16-devel Duncan Murdoch On

Re: [R] installing rgl

2017-01-11 Thread Weiner, Michael
Thank you David > On Jan 11, 2017, at 2:41 PM, David Winsemius wrote: > > >> On Jan 11, 2017, at 10:54 AM, Weiner, Michael wrote: >> >> I have a Fedora linux 24 64bit workstation I am trying to install rgl on and >> I keep running into this error: >

Re: [R] installing rgl

2017-01-11 Thread David Winsemius
> On Jan 11, 2017, at 10:54 AM, Weiner, Michael wrote: > > I have a Fedora linux 24 64bit workstation I am trying to install rgl on and > I keep running into this error: I thin this is more appropriately directed to: R-SIG-Fedora

[R] installing rgl

2017-01-11 Thread Weiner, Michael
I have a Fedora linux 24 64bit workstation I am trying to install rgl on and I keep running into this error: trying URL 'https://cran.cnr.berkeley.edu/src/contrib/rgl_0.97.0.tar.gz' Content type 'application/x-gzip' length 2369444 bytes (2.3 MB) ==

Re: [R] Delete the first instances of the unique values of a vector in R

2017-01-11 Thread Rui Barradas
Hello again, Sorry about my first answer, I hadn't read until the part you say you need a for loop. Why you need it seems strange to me but here it is. delete <- c(TRUE, dat$x[-1] != dat$x[-length(dat$x)]) result <- data.frame() for(i in seq_along(delete)){ if(!delete[i])

Re: [R] How to automatically create data frames from an existing one?

2017-01-11 Thread William Dunlap via R-help
You can use the 'with' function or the 'data' argument to many functions to use the variables in the data frame without copying them out to the global environment. Leaving them in the data.frame keeps them from getting lost among the temporary variables in the global environment. > Data <-

Re: [R] Delete the first instances of the unique values of a vector in R

2017-01-11 Thread Rui Barradas
Hello, Just see the following. x <- scan(text = " 1 4 4 4 4 4 4 6 6") dat <- data.frame(x, y = rnorm(length(x))) dat[-which(c(TRUE, dat$x[-1] != dat$x[-length(dat$x)])), ] And now instead of 'dat' call your dataset 'rwrdatafile', and the same for the column of interess. Hope this helps,

Re: [R] Delete the first instances of the unique values of a vector in R

2017-01-11 Thread Sarah Goslee
I think you should probably go read some introductory material on R. There are lots of good references out there. R does not work in the same way as MATLAB. You should probably also read the posting guide, and this article on making good reproducible examples:

Re: [R] How to automatically create data frames from an existing one?

2017-01-11 Thread Sarah Goslee
I do not understand why you want to take a perfectly good data frame and split it into a whole bunch of single-column data frames instead of working with it as-is. The latter seems like an awkward and unnecessary thing to do. If you explain what you're trying to do, we can help. Referencing

[R] How to automatically create data frames from an existing one?

2017-01-11 Thread Tunga Kantarcı
I have a data frame that includes several columns representing variables and variables names are indicated at the top row of the data frame. That is, I had a csv file where variable names were stored in the top row, and when I imported the csv file to R, R created a data frame that appears with

[R] Delete the first instances of the unique values of a vector in R

2017-01-11 Thread Tunga Kantarcı
Consider a data frame which I name as rwrdatafile. It includes several variables stored in columns. For each variable there are 1000 observations and hence 1000 rows. The interest lies in the values of the second column of this data frame, that is in rwrdatafile[,2]. What I am trying to accomplish

[R] qvalue package: checking I'm using the right output values.

2017-01-11 Thread aoife doherty
Can I ask, when I run the below code: library(qvalue) pvals

[R] file.exists() on device files

2017-01-11 Thread Benjamin Tyner
Hi, On my linux machine (Ubuntu, and also tested on RHEL), I am curious to know what might be causing file.exists (and also normalizePath) to not see the final device file here: > list.files("/dev/fd", full.names = TRUE) [1] "/dev/fd/0" "/dev/fd/1" "/dev/fd/2" "/dev/fd/3" >