After invoking update.packages() I was able to successfully run the script
and generate the plots using all the file formats, including SVG.
Thanks for your help. I appreciate it.
On Tue, Aug 20, 2019 at 8:35 PM Richard Fuhr wrote:
> I am an R newbie and when I upgraded to 3.6 I did nothing in
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,
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 land line
206-491-5640 cell phone
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
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
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
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,
1. No reprex (we don't have WeightThru2018.csv) !
2. Please post in plain text, not html . (did no har here, but could).
3. The following worked fine on my mac.
> svg()
> plot(1:5)
> dev.off()
> sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under:
I have encountered a problem generating an SVG file from a CSV file using R
on the Mac.
When I invoke the exact same script on two different Linux machines things
work fine.
Here is the script
Sys.setenv(TZ="US/Pacific")
w<-read.csv("WeightThru2018.csv")
x<-as.Date(w$Date, "%m/%d/%y")
y<-w$Weight