Re: [R] COVID-19 datasets...

2020-05-05 Thread James Spottiswoode
___ > 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

[R] How to parallelize a process called by a socket connection

2020-02-01 Thread James Spottiswoode
Hi R Experts, I’m using R version 3.4.3 running under Linux on an AWS EC2 instance. I have an R code listening on a port for a socket connection which passes incoming data to a function the results of which are then passed back to the calling machine. Here’s the function that listens for a

Re: [R] File names for mac newby

2020-01-21 Thread James Spottiswoode
OSX is based on BSD UNIX so paths use the forward slash as separator, e.g. temps <- read.table("c:/Users/DFP/Documents/ah/house/HouseTemps.txt",header=T,row.names=1) Best James > On Jan 21, 2020, at 9:20 AM, David wrote: > > I moved to a mac a few months ago after years in windows, and I'm

Re: [R] Parameters optimization in r

2019-10-12 Thread James Spottiswoode
Hi, I’ve often come across this problem and have found genetic algorithms (GA) to be extremely useful. I wrote my first GA code in the 80’s and have extensive experience with the method. The package rgenoud is a very full featured GA implementation. Just code up your parameters as arguments

Re: [R] Problem parallelizing across cores

2019-08-29 Thread James Spottiswoode
> On Aug 28, 2019, at 4:44 PM, James Spottiswoode wrote: > > Hi Bert, > > Thanks for your advice. Actually i’ve already done this and have checked out > doParallel and future packages. The trouble with doParallel is that it forks > R processes which spend a lot

[R] Problem parallelizing across cores

2019-08-28 Thread James Spottiswoode
have put this clearly. I’d much appreciate any suggestions. Thanks in advance, James Spottiswoode -- [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman