Can someone please direct me to an answer to the question as to how R differs for these two operating systems, if at all? Thanks - Neil
I can't remember having seen my students write code that runs correctly on one platform but not the other. Obviously under the hood there are significant differences, but as far as code goes, R seems quite foolproof. There are GUI differences in base R - but AFAIK no such differences in the RStudio IDE. B.> On Mar 30, 2017, at 9:21 PM, Neil Salkind <neiljsalkind at gmail.com> wrote: > > Can someone please direct me to an answer to the question as to how R differs for these two operating systems, if at all? Thanks - Neil > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
David Winsemius
2017-Mar-31 05:36 UTC
[R] Difference between R for the Mac and for Windows
> On Mar 30, 2017, at 8:40 PM, Boris Steipe <boris.steipe at utoronto.ca> wrote: > > I can't remember having seen my students write code that runs correctly on one platform but not the other. Obviously under the hood there are significant differences, but as far as code goes, R seems quite foolproof. There are GUI differences in base R - but AFAIK no such differences in the RStudio IDE. > > B. > >The Mac version of R is more like the Linux version when run from the UNIX command line. RStudio and the R.app GUI's are both nice IDE's. A few packages are not available because of the need to link to programs that are only available on a particular OS. You can see which ones with a visit to the Cran package checks pages. -- David> > >> On Mar 30, 2017, at 9:21 PM, Neil Salkind <neiljsalkind at gmail.com> wrote: >> >> Can someone please direct me to an answer to the question as to how R differs for these two operating systems, if at all? Thanks - Neil >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.David Winsemius Alameda, CA, USA
File encodings differ when you move outside of standard ASCII code. Not really R's problem, but it is a fly in the ointment when teaching classes with mixed laptop armoury and there are also differences between classroom and desktop computers. RStudio does have features to switch encodings, but I usually sidestep the issue by commenting scripts in English. -pd> On 31 Mar 2017, at 05:40 , Boris Steipe <boris.steipe at utoronto.ca> wrote: > > I can't remember having seen my students write code that runs correctly on one platform but not the other. Obviously under the hood there are significant differences, but as far as code goes, R seems quite foolproof. There are GUI differences in base R - but AFAIK no such differences in the RStudio IDE. > > B. > > > > >> On Mar 30, 2017, at 9:21 PM, Neil Salkind <neiljsalkind at gmail.com> wrote: >> >> Can someone please direct me to an answer to the question as to how R differs for these two operating systems, if at all? Thanks - Neil >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
The only place I've noticed differences is in encoding and string sorting, both of which are locale and library dependent. Best, Ista On Mar 31, 2017 8:14 AM, "Neil Salkind" <neiljsalkind at gmail.com> wrote:> Can someone please direct me to an answer to the question as to how R > differs for these two operating systems, if at all? Thanks - Neil > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/ > posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
Berend Hasselman
2017-Mar-31 17:15 UTC
[R] Difference between R for the Mac and for Windows
I have noted a difference between R on macOS en on Kubuntu Trusty (64bits) with complex division. I don't know what would happen R on Windows. R.3.3.3: macOS (10.11.6) -----------------> (1+2i)/0[1] NaN+NaNi> (-1+2i)/0[1] NaN+NaNi> > 1i/0[1] NaN+NaNi> 1i/(0+0i)[1] NaN+NaNi KubuntuTrusty -----------------> (1+2i)/0[1] Inf+Infi> (-1+2i)/0[1] -Inf+Infi> > 1i/0[1] NaN+Infi> 1i/(0+0i)[1] NaN+Infi Interesting to see what R on Windows delivers. Berend Hasselman