[R-SIG-Mac] Problem generating an SVG file from a CSV file on the Mac - updated with test script and test data

Roy Mendelssohn - NOAA Federal roy@mende|@@ohn @end|ng |rom no@@@gov
Wed Aug 21 05:31:16 CEST 2019


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.fuhr using 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.mendelssohn using 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.fuhr using 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 using 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.Mendelssohn using 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.Mendelssohn using 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.



More information about the R-SIG-Mac mailing list