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 c

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 Newmiller Cc: r-help@r-pro

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] unable to move temporary installation of package

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 > From: Jeff Newmiller > Dat

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 package Have you investigated the issue Kevin Th

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 library. > >-Origin

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: r-help@r-project.org Subject: RE:

[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 g

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] unable to move temporary installation of package Do

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 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] 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 problem

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 byt

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 b

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 be

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 Sta

[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 done