Re: [R] help.start() caused high CPU loading

2020-04-27 Thread Jinsong Zhao
I also test the same operations on R 3.6.3. The CPU usage does not change dramatically. C:\Users\Jinso>typeperf "\Process(Rgui)\% Processor Time" -si 5 ... "04/28/2020 13:42:41.007","-1" "04/28/2020 13:42:46.017","-1" "04/28/2020 13:42:51.037","0.622240" "04/28/2020 13:42:56.048","0.00"

Re: [R] help.start() caused high CPU loading

2020-04-27 Thread Jinsong Zhao
On 2020/4/28 3:40, Abby Spurdle wrote: (3) If (2) true, how much CPU is R using? 0%. (4) If (3) is zero, what processes are using the CPU the most? In such case, almost every processes is using the CPU in a very low percentage, i.e., 1% or below. I don't recognized those processes. Now, I

Re: [R] Ubuntu 18.04 R repo bionic-cran35 seems to be broken

2020-04-27 Thread David Winsemius
On 4/27/20 7:41 PM, Yakov Goldberg wrote: Hello, I'm using Ubuntu 18.04 R repo https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ Perhaps because you misspelled it? https://cloud.r-project.org/bin/linux/ubuntu/bionic-cran35/ Next time try going "upstream and then follow links

[R] Ubuntu 18.04 R repo bionic-cran35 seems to be broken

2020-04-27 Thread Yakov Goldberg
Hello, I'm using Ubuntu 18.04 R repo https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ Currently it is broken - missing Release file, which seems happened accidentally, as other repos are functioning. Could anyone of maintainers comment and fix if it is really a mistake? Thanks, Yakov.

Re: [R] Problem with MASS::fitdistr().

2020-04-27 Thread Rui Barradas
Hello, Inline. Às 21:30 de 27/04/20, J C Nash escreveu: After looking at MASS::fitdistr and fitdistrplus::fitdist, the latter seems to have code to detect (near-)singular hessian that is almost certainly the "crash site" for this thread. Was that package tried in this work? I tried it. I

Re: [R] help.start() caused high CPU loading

2020-04-27 Thread Abby Spurdle
I give up. (I was trying to emulate the top command). You might have to manually type the contents of the task manager, with process name and CPU usage. That's if you still want to fix the problem... On Tue, Apr 28, 2020 at 8:44 AM Abby Spurdle wrote: > > Just realized CPU(s) is time the

Re: [R] help.start() caused high CPU loading

2020-04-27 Thread Abby Spurdle
Just realized CPU(s) is time the process was running. __ 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

Re: [R] Problem with MASS::fitdistr().

2020-04-27 Thread J C Nash
After looking at MASS::fitdistr and fitdistrplus::fitdist, the latter seems to have code to detect (near-)singular hessian that is almost certainly the "crash site" for this thread. Was that package tried in this work? I agree with Mark that writing one's own code for this is a lot of work, and

Re: [R] Fit Gaussian curve on my data ?

2020-04-27 Thread varin sacha via R-help
Ivan, Abby, Many thanks for your help. Best, Le samedi 25 avril 2020 à 22:09:03 UTC+2, Abby Spurdle a écrit : Have a look at the dnorm function: ?dnorm Notes: (1) You'd be better to say estimate (or fit) parameters (or coefficients) and plot the resulting normal distribution

Re: [R] Information from a webpage using R

2020-04-27 Thread Duncan Murdoch
On 27/04/2020 1:19 p.m., Vahid Borji wrote: Hi there, I faced difficulty while programming in R. How can I save a text, which is inside a webpage, in a variable, and then find (specify) words (of the text) that have more than 9 letters? You already asked this question a few hours ago. I

Re: [R] help.start() caused high CPU loading

2020-04-27 Thread Abby Spurdle
> > (3) If (2) true, how much CPU is R using? > 0%. > > (4) If (3) is zero, what processes are using the CPU the most? > In such case, almost every processes is using the CPU in a very low > percentage, i.e., 1% or below. I don't recognized those processes. > Now, I invoke help.start(), about 25%

Re: [R] deciphering help for `attach`

2020-04-27 Thread Fox, John
Dear Bert, > -Original Message- > From: Bert Gunter > Sent: Monday, April 27, 2020 11:26 AM > To: Fox, John > Cc: edwar...@psu.ac.th; r-help@r-project.org > Subject: Re: [R] deciphering help for `attach` > > What is the use case for attach? As the Help says, I find that with() or >

[R] Information from a webpage using R

2020-04-27 Thread Vahid Borji
Hi there, I faced difficulty while programming in R. How can I save a text, which is inside a webpage, in a variable, and then find (specify) words (of the text) that have more than 9 letters? [[alternative HTML version deleted]] __

Re: [R] Reading from a webpage

2020-04-27 Thread Bert Gunter
This list provides "Help" ; it sounds like you are looking for a tutorial with detailed instructions, which generally goes beyond what will be provided here. See the posting guide linked at the bottom for what you *can* expect. https://cran.r-project.org/web/views/WebTechnologies.html provides

[R] [R-pkgs] RBNZ: new package for downloading Reserve Bank of New Zealand data

2020-04-27 Thread Jasper Watson
Hello, I have just released to CRAN the RBNZ package which allows users to download financial and economic data published by the Reserve Bank of New Zealand. The data is provided on their website in spreadsheet format; this package provides a method to download those spreadsheets and read them

[R] Reading from a webpage

2020-04-27 Thread Vahid Borji
Hi there, I am using R. I want to save a text, which is inside the following webpage, in a variable, and then want to answer some questions. http://en.neyshabur.ac.ir/en/119-about-city-of-neyshabur/1232-city-of-neyshabur My questions are: 1) How many words do exist in the text (of the

[R] pair correlation function of 3D points

2020-04-27 Thread Labo Eric
Hi, I have the coordinates of 3D points and I want to plot the pair correlation function of these points (https://en.wikipedia.org/wiki/Radial_distribution_function). I wonder if it possible to calculate this function with R. Maybe with the spatstat library? I tried but I found the way to do

Re: [R] deciphering help for `attach`

2020-04-27 Thread Bert Gunter
What is the use case for attach? As the Help says, I find that with() or sometimes within() handles the situations where I would use it. 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

Re: [R] deciphering help for `attach`

2020-04-27 Thread Fox, John
Dear Edward, Paragraph 4 in the help page goes on to say, "Rather, a new environment is created on the search path and the elements of a list (including columns of a data frame) or objects in a save file or an environment are copied into the new environment." That seems reasonably clear to

Re: [R] deciphering help for `attach`

2020-04-27 Thread Edward McNeil
Dear Petr, Thanks for your quick reply. Much appreciated. However, you haven't really answered either of my questions, although I don't quite understand your reference to La Gioconda. In any case, despite your strong recommendation not to use `attach`, I am going to keep using it, as I have

Re: [R] deciphering help for `attach`

2020-04-27 Thread PIKAL Petr
Hi. I strongly recommend not to use attach. I agree that mentioned statements are rather contradictory and probably others could give you more insightful answer. You could consider that by attaching some data, you create something like a copy of original data in your system with a feature that

[R] deciphering help for `attach`

2020-04-27 Thread Edward McNeil
Hi, I have two related questions. 1. In the help page for `attach` under "Details" it says in paragraph 3: "By default the database is attached ..." But then paragraph 4 starts: "The database is not actually attached." Could somebody explain this contradiction? Is the data(base) attached or

Re: [R-es] Implementación paquete ilm

2020-04-27 Thread Manuel Mendoza
Gracias Isidro. Abandoné el intento y encontré un ejemplo más sencillo de implementar. Un saludo, Manuel El lun., 27 abr. 2020 a las 13:53, Isidro Hidalgo Arellano (< ihida...@jccm.es>) escribió: > Es pseudocódigo, lo tienes que pasar a un lenguaje de programación para que > el intérprete (y

Re: [R-es] Implementación paquete ilm

2020-04-27 Thread Isidro Hidalgo Arellano
Es pseudocódigo, lo tienes que pasar a un lenguaje de programación para que el intérprete (y compilador, en su caso) de dicho lenguaje lo entienda. Lo que tienes ahí no es más que un procedimiento general. Un saludo Isidro Hidalgo Arellano Observatorio del Mercado de Trabajo Consejería de

[R-es] Implementación paquete ilm

2020-04-27 Thread Manuel Mendoza
Buenos días, estoy intentando reproducir el script de este github: http://uc-r.github.io/iml-pkg#interactions Todo iba bien hasta que en el 6º panel me encuentro esto: For any given loss function do 1: compute loss function for original model 2: for variable i in {1,...,p} do | randomize

Re: [R] help.start() caused high CPU loading

2020-04-27 Thread Jinsong Zhao
On 2020/4/27 16:54, Abby Spurdle wrote: What's the benchmark? I don't have any benchmark about this problem. I (still) have Windows 10 x64. Opening the task manager, causes the CPU to jump to over 90%. It will drop to about 0.5% or below very quickly. In regards to the CPU usage

Re: [R] help.start() caused high CPU loading

2020-04-27 Thread Abby Spurdle
What's the benchmark? I (still) have Windows 10 x64. Opening the task manager, causes the CPU to jump to over 90%. In regards to the CPU usage remaining high: (1) Are you running R in a standard way? (2) If (1) true, is R idle (i.e. waiting for user input)? (3) If (2) true, how much CPU is R

[R] help.start() caused high CPU loading

2020-04-27 Thread Jinsong Zhao
Hi there, After calling help.start(), I noticed that CPU loading is up to about 25% (my CPU is core i5 with 4 core). In the out html page, if I click "Packages", the CPU loading may be up to 75% or much higher. After closing the browser, the CPU loading does not drop. If I just use ?plot to

Re: [R-es] Normalidad variable > 5000 observaciones

2020-04-27 Thread José Trujillo Carmona
Efectivamente Guido tiene razón. Una prueba de normalidad a una muestra que supera las 5000 observaciones no tiene mucho sentido. Igual que ningún dado es exactamente equiprobable, a algún nivel de detalle habrá una irregularidad que lo haga en algún sentido defectuoso, ninguna variable real