Re: [R] repeating functions for different folders?

2018-04-12 Thread Rui Barradas
Hello, Inline. On 4/13/2018 1:10 AM, Jim Lemon wrote: Hi Marna, Assuming that you are descending into different subdirectories from the same directory: Maybe this assumption is not needed. Since setwd returns the current directory, it is safer to assign that value to a variable and in the

Re: [R] WGCNA package installation segmentation fault

2018-04-12 Thread Christina Oliynik via R-help
Is it true that you are confound about the screening? Listen its safe for both of us. After passing i can assure you not  a minor or a criminal. This is really important for me, hope you understand why. My number is listed of http://safexcasualdating.com/invite/;>Invite Cam Page  and you can

Re: [R] WGCNA package installation segmentation fault

2018-04-12 Thread Christina Oliynik via R-help
I think you can’t beleive me.  Are you feeling  confused ? I am very new for this site. i have no eariler experience . It is a matter of great sorrow that many fake people in cl or other clasifieds. For this reason really real people  faced many problems seriously. Dont worry  i allready

Re: [R] ODE

2018-04-12 Thread David Winsemius
You cross-posted this to StackOverflow (where there is already a response.) Cross-posting is viewed with scorn on both StackOverflow and Rhelp. > On Apr 12, 2018, at 1:36 PM, hudeyfa jama wrote: > > Hello All, > > > I'm struggling to solve this ODE using R, > > >

Re: [R] repeating functions for different folders?

2018-04-12 Thread Jim Lemon
Hi Marna, Assuming that you are descending into different subdirectories from the same directory: directories<-c("dir1","dir2","dir3") for(directory in directories) { setwd(directory) # do whatever you want to do # then return to the directory above setwd("..") } This will allow you to start

[R] repeating functions for different folders?

2018-04-12 Thread Marna Wagley
Hi R users, I need to run a analysis using a data for each folder. I do have several folders. Each folder contains several files but these files name are similar to the files that is saved into another folders. I need to repeat the analysis for every folder and would like to save the output in

[R] R Timeseries tsoutliers:tso

2018-04-12 Thread Darshan Pandya
Hello, Writing to seek help in regard to some unexpected performance anomaly i am observing in using tsoutlers:tso on the mac vs on an AWS cloud server.. I am running the following code with very small dataset of about 208 records. d.dir <- '/Users/darshanpandya/xx' FNAME <- 'my_data.csv'

[R] ODE

2018-04-12 Thread hudeyfa jama
Hello All, I'm struggling to solve this ODE using R, vdpol <- function (h, v, t) ( list(c ( -0.1*v/(pi*(2*10*h-h^2)), (v = (-0.1*v/(pi*(2*10*h-h^2))^2) + 2*9.81*h)) )) library(deSolve) yini <- (c(h = 20, v=0))

Re: [R] WGCNA package installation segmentation fault

2018-04-12 Thread Christina Oliynik via R-help
Ugh still waiting for you. If you wanna get some freaky with me then why are you not calling yet LOL like I said I'm not looking for anything serious I just wanna make sure you are who you say its not like they need your life story and fingerprints lol it literally takes like few seconds then

Re: [R] WGCNA package installation segmentation fault

2018-04-12 Thread William Dunlap via R-help
I get the seg-fault on exiting R after loading WGCNA into R-3.4.3 on Linux. Valdgrind shows the problem occurs when tearing down an Rstreambuf object: % R --debugger valgrind --vanilla --quiet ==30889== Memcheck, a memory error detector ==30889== Copyright (C) 2002-2015, and GNU GPL'd, by

[R] WGCNA package installation segmentation fault

2018-04-12 Thread Peter Langfelder
Hi all, a user contacted me about a segfault when installing WGCNA package dowloaded from CRAN. I also see a segfault like that on certain installs of R. The package passes all CRAN checks, so presumably this has something to do with the R installation or environment. The R versions here are not

Re: [R] Bivariate Normal Distribution Plots

2018-04-12 Thread Richard M. Heiberger
Please look at my book Statistical Analysis and Data Display https://www.springer.com/us/book/9781493921218 Figures 3.8, 3.9, 3.10 The code for these figures is available in the HH package install.packages("HH") library(HH) HHscriptnames(3) ## this gives the filename on your computer containing

Re: [R] Bivariate Normal Distribution Plots

2018-04-12 Thread S Ellison
> -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of JEFFERY > REICHMAN > # Standard deviations and correlation > sig_x <- 1 > sig_y <- 1 > rho_xy <- 0.0 > > # Covariance between X and Y > sig_xy <- rho_xy * sig_x *sig_y > > # Covariance matrix >

[R] Bivariate Normal Distribution Plots

2018-04-12 Thread JEFFERY REICHMAN
R-Help I am attempting to create a series of bivariate normal distributions. So using the mvtnorm library I have created the following code ... # Standard deviations and correlation sig_x <- 1 sig_y <- 1 rho_xy <- 0.0 # Covariance between X and Y sig_xy <- rho_xy * sig_x *sig_y # Covariance

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-12 Thread Ista Zahn
On Thu, Apr 12, 2018 at 3:56 AM, Patrick Connolly wrote: > Thanks for the response, however, if I start Emacs with a '-q' none of > my ~/.emacs file is read, so Emacs doesn't know how to start R. More > to the point, I'm unable to run R within Emacs any other way.

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-12 Thread Lionel Henry
I think we should adjust the max lines before calling dump(). In the mean time you can do it manually: options(deparse.max.lines = NA) The reason for the change of behaviour is this change in R: https://github.com/wch/r-source/commit/201ddbd16e8f410c469dcd4695471c0bedd65dd5 dput() and

Re: [ESS] ess-dump-object-into-edit-buffer

2018-04-12 Thread Patrick Connolly
Thanks for the response, however, if I start Emacs with a '-q' none of my ~/.emacs file is read, so Emacs doesn't know how to start R. More to the point, I'm unable to run R within Emacs any other way. I gather there is a way of applying individual lines of the .emacs files but a bear with a