[R] testers sought for xtractomatic-like package

2017-02-03 Thread Roy Mendelssohn - NOAA Federal
rerddapXtracto is an R package developed to subset and extract satellite and other oceanographic related data from a remote ERDDAP server. The program can extract data for a moving point in time along a user-supplied set of longitude, latitude and time points; in a 3D bounding box; or within a p

Re: [R] use of Encoding()?

2017-02-03 Thread Olivier Crouzet
On Fri, 3 Feb 2017 11:23:02 -0800 David Winsemius wrote: Oups, I (erroneously) tried with accented characters, which explains my answer. Actually, I (correctly) get "unknown" if using characters from the ASCII set, so my understanding is that there's actually no problem with the OP's request as t

Re: [R] use of Encoding()?

2017-02-03 Thread David Winsemius
> On Feb 3, 2017, at 10:12 AM, Olivier Crouzet > wrote: > > Hi, > > using R version 3.3.2 under Linux, these work perfectly (but I receive > a correct encoding ("UTF-8"), not "unknown"). > > What is your system (windows, mac, linux)? Your R version? Which > interface (RStudio, Windows R inte

Re: [R] use of Encoding()?

2017-02-03 Thread Olivier Crouzet
Hi, using R version 3.3.2 under Linux, these work perfectly (but I receive a correct encoding ("UTF-8"), not "unknown"). What is your system (windows, mac, linux)? Your R version? Which interface (RStudio, Windows R interface)? There are often issues with character encoding using Windows (in man

Re: [R] Error: long vectors (argument 1) are not supported in .Fortran

2017-02-03 Thread Peter Langfelder
Just to set the record straight, WGCNA is a CRAN package. As to Ankush's question - the current WGCNA version does not support analysis of more than about 46300 nodes (probes) in one block. You have two options: 1. filter out some of the least-informative probes (e.g., probes with lowest mean expr

[R] use of Encoding()?

2017-02-03 Thread Tilmann Faul
Hey, this is my first question here, so forgive me if i my be clumsy. I want to use Encoding to set the encoding of a character vector, but it doese not seem to work. See example. > x <- "16-03-02" > Encoding(x) [1] "unknown" > Encoding(x) <- "latin1" > Encoding(x) [1] "unknown" Is this intend

Re: [R] Using a mock of an S4 class

2017-02-03 Thread Ramiro Barrantes
Thank you so much!! This is very helpful. On 02/01/2017 02:46 PM, Ramiro Barrantes wrote: > Hello, > > I have a function that applies to an S4 object which contains a slot called > @analysis: > > function calculation(myObject) { > tmp <- myObjects@analysis > result <- ...operations on analys

Re: [R] Error: long vectors (argument 1) are not supported in .Fortran

2017-02-03 Thread Bert Gunter
Probably wrong list. Try the Bioconductor list instead. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Fri, Feb 3, 2017 at 3:19 AM, Ankush Sharm

[R] Error: long vectors (argument 1) are not supported in .Fortran

2017-02-03 Thread Ankush Sharma
Hi all , I'm working on WGCNA on R-3.3.1 version to reconstruct gene -gene coexpression networks of 54000 probes in 230 samples on Load Sharing facility (Remote computing cluster). Despite memory at dispose, I'm encountering a error of allocation of memory at soft thresholding step or at TOM Sim

Re: [R] Help with implementing Whittaker-Henderson graduation for raw-data

2017-02-03 Thread Percival Bueser
Good day! Problems fixed. Resolutions: Added require(pracma, warn.conflicts = FALSE) after library(pracma). The code is now working. (The examples in the link https://artax.karlin.mff.cuni.cz/r-help/library/pracma/html/whittaker show the sample code for the function, but not the prerequisites.

Re: [R] Help with implementing Whittaker-Henderson graduation for raw-data

2017-02-03 Thread Percival Bueser
Good day! I eventually was able to make the code anyway. Here it is: getwd() setwd("C:/R") datafile <- read.table("test_file.txt", header = TRUE) library(SparseM) var2 = datafile$y d = 2 lambda = 1600 require(SparseM, warn.conflicts = FALSE) m <- length(var2) E <- as(m, "matrix.diag.c

Re: [R] Help with implementing Whittaker-Henderson graduation for raw-data

2017-02-03 Thread Percival Bueser
Good day! I eventually was able to make the code anyway. Here it is: getwd() setwd("C:/R") datafile <- read.table("test_file.txt", header = TRUE) library(SparseM) var2 = datafile$y d = 2 lambda = 1600 require(SparseM, warn.conflicts = FALSE) m <- length(var2) E <- as(m, "matrix.diag.c

Re: [R] beginner question: subset first entry (row) per week - found the answer myself :-)

2017-02-03 Thread Dagmar
Dear all, Now, all the sudden I found the answer myself :-) I did it by: ddply(exdatframe,.(week),function(x) head(x,1)) I'll simply do it for Ernie and Cookiemonster seperate - that is not a big problem. Thanks anyway for your engagement in this group! Dagmar Am 02.02.2017 um 22:04 schr