Re: [R] unable to move temporary installation of package

2018-03-27 Thread Paul Lantos
I don't believe I've gotten a reply from a Kevin Thorpe. Original message From: Jeff Newmiller Date: 3/27/18 5:57 PM (GMT-05:00) To: Paul Lantos Cc: r-help@r-project.org Subject: RE: [R] unable to move temporary installation of

Re: [R] unable to move temporary installation of package

2018-03-27 Thread Paul Lantos
I think MalwareBytes may have been the culprit. I disabled it and it's working now (even with my regular antivirus running). Thanks all for the advice! Paul -Original Message- From: Paul Lantos Sent: Tuesday, March 27, 2018 8:35 PM To: Kevin E. Thorpe ; Jeff

Re: [R] R and Java 10 ➜ rJava not able to build

2018-03-27 Thread Jeff Newmiller
I am not a Mac user, but I do use Linux and I would recommend not running R with sudo unless you are an admin ninja. That defensive practice would render the answer to your question moot. It is possible that your problem may have started with inappropriate use of sudo in configuring java, but

Re: [R] unable to move temporary installation of package

2018-03-27 Thread peter dalgaard
Everyone else did, and you were on the list of recipients... Check your spam folder and/or the list archive. -pd > On 28 Mar 2018, at 01:32 , Paul Lantos wrote: > > I don't believe I've gotten a reply from a Kevin Thorpe. > > > Original message >

Re: [R] unable to move temporary installation of package

2018-03-27 Thread Paul Lantos
Thanks, Kevin. I have done that but no luck. Paul -Original Message- From: Kevin E. Thorpe [mailto:kevin.tho...@utoronto.ca] Sent: Tuesday, March 27, 2018 2:15 PM To: Paul Lantos ; Jeff Newmiller Cc: r-help@r-project.org Subject: Re: [R]

Re: [R] unable to move temporary installation of package

2018-03-27 Thread Paul Lantos
Ok, thanks -- > sessionInfo() R version 3.4.4 (2018-03-15) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200) Matrix products: default locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United

[R] Shading specific region in R

2018-03-27 Thread Eliza Botto
Dear useRs, Following the given codes below, I generated a plot that has 6 regions around a center point (IL), with 5 regions containing a point (L1, L2 to L5) and sixth vacant region. I want background of all the filled regions turned "green", while "red" for the vacant region. Can it be

Re: [R] Shading specific region in R

2018-03-27 Thread S Ellison
> Following the given codes below, I generated a plot that has 6 regions around > a > center point (IL), with 5 regions containing > > a point (L1, L2 to L5) and sixth vacant region. I want background of all the > filled > regions turned "green", while "red" for the > > vacant region. Can it

Re: [R] unable to move temporary installation of package

2018-03-27 Thread Jeff Newmiller
Nothing jumps out at me yet. 1) You missed including the text of your command (presumably install.packages) along with the actual text of the error. 2) What is the output of: getOption("repos") 3) You might also consider looking at system2( "cacls.exe", .libPaths()[1] ) though we may not

Re: [R] unable to move temporary installation of package

2018-03-27 Thread Paul Lantos
Thanks, Here's the error, for example: > install.packages("mgcv") Installing package into 'C:/Users/pl39/Documents/R/win-library/3.4' (as 'lib' is unspecified) trying URL 'https://mirrors.nics.utk.edu/cran/bin/windows/contrib/3.4/mgcv_1.8-23.zip' Content type 'application/zip' length 2775362

Re: [R] unable to move temporary installation of package

2018-03-27 Thread Kevin E. Thorpe
I have seen that error from students trying to install, usually from the Rcpp package. One suggestion I received was to try disabling your virus scanner while doing the install. The reason being that the scanner has not completed its job by the time the installer wants to move stuff around.

Re: [R] unable to move temporary installation of package

2018-03-27 Thread Jeff Newmiller
Do you have other instances of R open at the time you are doing this? Did you already have mgcv installed in your personal library when you tried installing it again? There is clearly something preventing you from writing to your library, or at least to specific packages in your library. On

Re: [R] unable to move temporary installation of package

2018-03-27 Thread Paul Lantos
No other instances of R running, and I get the same error with any installation, new or old. Original message From: Jeff Newmiller Date: 3/27/18 2:21 PM (GMT-05:00) To: Paul Lantos Cc: r-help@r-project.org Subject: RE: [R]

[R] R and Java 10 ➜ rJava not able to build

2018-03-27 Thread Luis Puerto
Hi! I’m on macOS 10.13.3 and just installed the new Java 10 using Homebrew Cask. I also have installed R with Homebrew. Everything seems to work fine, however I just get different outputs if I run sudo R CMD javareconf or R CMD javareconf. With sudo I get pointed to Java 9 and without sudo I

Re: [R] Using R and the Tidyverse for an economic model

2018-03-27 Thread Jeff Newmiller
Looks like you have made an impressive start and some attractive introductions. I have no significant interest in your topic (sorry), but it seems that you are re-inventing the wheel a bit in regards to much of your documentation and modularization... R packages can help you solve these

Re: [R] unable to move temporary installation of package

2018-03-27 Thread Paul Lantos
I deleted my library, reinstalled R, and had the same issue -- couldn't install anything into its newly created library. -Original Message- From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] Sent: Tuesday, March 27, 2018 2:26 PM To: Paul Lantos Cc:

Re: [R] unable to move temporary installation of package

2018-03-27 Thread Jeff Newmiller
Have you investigated the issue Kevin Thorpe suggested? -- Sent from my phone. Please excuse my brevity. On March 27, 2018 2:31:31 PM PDT, Paul Lantos wrote: >I deleted my library, reinstalled R, and had the same issue -- couldn't >install anything into its newly created

Re: [R-es] Condición if

2018-03-27 Thread Carlos Ortega
En tu función, has incluido la condición de "si", te falta un argumento adicional para "entonces"... Puedes hacerlo así: CUADRO_FINAL$VA_con_reemplazo <- ifelse(CUADRO_FINAL$VA < 0, CUADRO_FINAL$Remuneraciones_Brutas, CUADRO_FINAL$VA) o así: library(dplyr) Cuadro_final_otro <- CUADRO_FINAL %>%

Re: [R-es] Goal seek

2018-03-27 Thread Freddy Omar López Quintero
Hola. ¿Y qué es *el* goal seek? ... 2018-03-27 16:39 GMT-03:00 Juan Carlos Cardenas Oliveros < juan.carde...@pucp.pe>: > Hola > > es la primera vez que escribo por acá. > > Alguno de ustedes tiene el goal seek hecho en R? > > Gracias > > [[alternative HTML version deleted]] > >

Re: [R-es] Goal seek

2018-03-27 Thread Javier Marcuzzi
Estimados Yo tampoco se que es, mire un video https://www.youtube.com/watch?v=fcKCUDyF73Y de excel, por lo que vi se generan números hasta que se cumple una condición, en R ese tipo de análisis o utilización tiene muchas formas, entra en lo denominado de optimización matemática, sin embargo el

[R-es] Goal seek

2018-03-27 Thread Juan Carlos Cardenas Oliveros
Hola es la primera vez que escribo por acá. Alguno de ustedes tiene el goal seek hecho en R? Gracias [[alternative HTML version deleted]] ___ R-help-es mailing list R-help-es@r-project.org https://stat.ethz.ch/mailman/listinfo/r-help-es

Re: [R-es] Goal seek

2018-03-27 Thread Juan Carlos Cardenas Oliveros
Hola Freddy, respecto a tu consulta. Por ejemplo, supongamos que necesita pedir prestado dinero. Usted sabe cuánto dinero quiere, cuánto tiempo quiere que pague el préstamo y cuánto puede pagar cada mes. Puede usar Goal Seek para determinar qué tasa de interés necesitará asegurar para cumplir con

Re: [R-es] Goal seek

2018-03-27 Thread Freddy Omar López Quintero
Hola. De acuerdo a lo que comentas, lo que dijo don Javier y una búsqueda de internet, parece que sí, con un loop o un optimize se puede alcanzar lo que describes. Aquí un enlace que parece atacar tu inquietud: