[R] doParallel cores HPC

2020-06-25 Thread Silva, Eder David Borges da
Hi R team, I have the HPC, with 10 nodes, and each node with 20 cores in UNIX OS. my goal is a set cluster to use all machine power, and thy this code: library(doParallel) cl <- makePSOCKcluster(names=c('Host01', ... , 'Host10) registerDoParallel(cl=cl,cores=20) lP <- foreach(j = 1:100) %dopar

Re: [R] R Compied for Mac OS X

2020-06-25 Thread William Michels via R-help
Hi, you can try starting at the link below: https://stat.ethz.ch/R-manual/R-patched/doc/html/packages.html Or type any of following commands into your R-Console (for starters): > library() > library(help="base") > library(help="stats") > library(help="graphics") > library(help="grDevices") > lib

Re: [R] R Compied for Mac OS X

2020-06-25 Thread Bert Gunter
These are functions in extra packages that you have to first download from a repository, -- presumably lib.stat/.cmu.edu/r/cran -- install, and then load for use. I suggest you check for tutorials there to to learn how to use R, as it sounds like you are flying blind. Bert Gunter "The trouble wit

Re: [R] R Compied for Mac OS X

2020-06-25 Thread John Kane
What you probably have downloaded and installed is R base. I am not familiar with "movavg" but "ggplot" is a command from the "ggplot2" package. R, in total, consists of R baase and at least 1,000+ packages that do different things. One installs and uses various packages depending on the work one

[R] R Compied for Mac OS X

2020-06-25 Thread Gregory Coats via R-help
Today, I downloaded, and installed the June 6, 2020 version of R, from the CRAN official site at Carnegie Mellon University. Unfortunately, while the CMU compiled Mac OS X R application provides access to base R stat functions, like mean, it does not provide me with access to any of R’s more adv

Re: [R] rNOMADS Package

2020-06-25 Thread Rasmus Liland
On 2020-06-25 18:00 +0200, Rasmus Liland wrote: > it's just a matter of installing the > package from Arch User Repository wgrib2 is such a complex program. How can it be compiled anyway? Seems impossible. Linking libjasper.so and mysqlclient.so and using the anaconda build like sundar_ima

Re: [R] rNOMADS Package

2020-06-25 Thread Rasmus Liland
Dear Philip, On 2020-06-23 14:19 -0700, Philip wrote: > Does anyone out there have any advise about > how to download the wgrib2 software from > the National Weather Service onto a Windows > 10 computer? I don't run Windows, but the wgrib2 page [1] says you install [2] it in in Cygwin [3]. >

Re: [R] invalid type (list) for variable 'y' in library minpack.lm

2020-06-25 Thread Rasmus Liland
On 2020-06-25 07:52 -0700, Bert Gunter wrote: > On Thu, Jun 25, 2020 at 4:25 AM Rasmus Liland wrote: > > On 2020-06-25 12:18 +0200, Luigi Marongiu wrote: > > > - how to avoid infinitives? > > > - is there another function other than > > > nlsLM that I should use? > > > - is there another functio

Re: [R] invalid type (list) for variable 'y' in library minpack.lm

2020-06-25 Thread Bert Gunter
"These other questions seem good and interesting, I hope someone else can answer them." Perhaps, but not appropriate for this list, imo. Statistics issue mostly belong elsewhere, e.g. on stats.stackexchange.com. Bert Gunter "The trouble with having an open mind is that people keep coming along a

Re: [R] version plot problem

2020-06-25 Thread PIKAL Petr
Thanks. I try to spread R to some other people and I use 4.0.0 - version.string R Under development (unstable) (2020-03-08 r77917) nickname Unsuffered Consequences whereas they use R 3.6.3 version.string R version 3.6.3 (2020-02-29) nickname Holding the Windsock With artificial data

Re: [R] invalid type (list) for variable 'y' in library minpack.lm

2020-06-25 Thread Rasmus Liland
Dear Luigi, On 2020-06-25 12:18 +0200, Luigi Marongiu wrote: > Hello, > I am trying to find the best fit to a > function for epidemic analysis. > I am trying with the package minpack.lm but > I don't really know how to use it. Me neither ... > So I have some questions: > - how to solve the lis

[R] invalid type (list) for variable 'y' in library minpack.lm

2020-06-25 Thread Luigi Marongiu
Hello, I am trying to find the best fit to a function for epidemic analysis. I am trying with the package minpack.lm but I don't really know how to use it. I am getting the error: ``` Error in model.frame.default(formula = ~y + x, data = list(Y)) : invalid type (list) for variable 'y' In addition