Run (in an R console session)

update.packages(checkBuilt=TRUE, ask=FALSE)


On a Mac the .Rprofile file would normally be invisible (to the Finder anyway) and you would need to tell Finder to display "dot-files". (Search with Google for how to do that.).


--

David

On 8/20/19 8:35 PM, Richard Fuhr wrote:
I am an R newbie and when I upgraded to 3.6 I did nothing in addition (and I 
didn’t reinstall any packages).
I don’t have a file in my home directory named .Rprofile or anything similar to 
that name.
---
Richard Fuhr
206-524-8049 <tel:(206)%20524-8049> land line
206-491-5640 <tel:(206)%20491-5640> cell phone
https://richardfuhr.neocities.org <https://richardfuhr.neocities.org/>





On Aug 20, 2019, at 8:31 PM, Roy Mendelssohn - NOAA Federal 
<roy.mendelss...@noaa.gov> wrote:

Looks similar to mine.  I am just guessing here,  but did you upgrade to 3.6 
and not reinstall all of your packages?  Or have you checked if you have 
something in .Rprofile or the like that is setting the path to something that 
conflicts?

-Roy


On Aug 20, 2019, at 8:20 PM, Richard Fuhr <richard.f...@gmail.com> wrote:

Roy,

Thanks for testing it.

I am running MacOS Mojave 10.14.6

When I invoke the commands interactively from within R, the system also hangs 
when I try to create the SVG file.

I don’t see an error message; it just hangs.

Invoking sessionInfo() yields the following:


sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.6

Matrix products: default
BLAS:   
/Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRblas.0.dylib
LAPACK: 
/Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

Random number generation:
RNG:     Mersenne-Twister
Normal:  Inversion
Sample:  Rounding

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] compiler_3.6.1
Thanks,

Richard







On Aug 20, 2019, at 8:11 PM, Roy Mendelssohn - NOAA Federal 
<roy.mendelss...@noaa.gov> wrote:

Worked on my machine.  I think you need to give more info,  including what 
version of the OS you are running,  and from within R the result of 
'sessionInfo()',  also what happens if you run it from within R,  rather than 
from RScript.

HTH,

-Roy


On Aug 20, 2019, at 7:27 PM, Richard Fuhr <richard.f...@gmail.com> wrote:

I am sending this message again to the distribution list, and this time I am
* making this message plain text
* attaching an R file called FuhrTest.R
* attaching an input file called FuhrTest.csv ( a small file but it does 
duplicate the problem)

The purpose of the code is to read the csv file, which consists of a few dates 
and weights and to generate plots of the data using various formats.

The formats PDF, JPG, PNG and SVG get successfully generated on my Linux 
machine running the Pop!_OS distribution.

However, on my Mac, using the identical R script, the system hangs when trying 
to generate an SVG plot.

I have also duplicated the problem interactively.

If the lines to generate an SVG file are commented out on the Mac, then the R 
code runs as desired.

I invoked the script via the command

Rscript FuhrTest.R

So if someone can take a look at this case when running R on a Mac, that would 
be very helpful.

It would be nice to be able to generate SVG files using R on my Mac that 
represent data plots


Thanks,



Richard Fuhr
<FuhrTest.csv><FuhrTest.R>_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac
**********************
"The contents of this message do not reflect any position of the U.S. Government or 
NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: roy.mendelss...@noaa.gov www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.

**********************
"The contents of this message do not reflect any position of the U.S. Government or 
NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: roy.mendelss...@noaa.gov www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.


        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to