Re: [R-SIG-Mac] Transitioning from Mac to LInux?

2020-04-02 Thread Rainer Krug



> On 2 Apr 2020, at 10:15, Patrick Schratz  wrote:
> 
> AFAIK most people on that list would vote hard against installing R via 
> homebrew for several reasons - maybe there should be a section about this on 
> the R dev / CRAN page to address this topic, @Simon? Otherwise this will come 
> up again and again.

I think there is - at least it is clear to me (that is why I said “no support 
from here”). Although I do not see the problem why, which is a different topic 
altogether.

I was fully aware of the opposition to my way of using R (homebrew), but I 
decided to post it anyway, as I think it is a valid and useful approach 
(different discussion!).


> 
> Anyhow, this is also not relating to the initial topic of that thread and 
> should probably discussed separately.

The OP states:

 I'm wondering whether replacing my iMac (2009) with a new Mac really makes 
sense from an R - user point of view

Which I think is addressed in my post.

Cheers,

Rainer



> On 2. Apr 2020, 10:04 +0200, Rainer M Krug , wrote:
>> I am using Homebrew on a Mac (two Macs - one at home, one at work) instead 
>> of the official R package, and I did not have any problems after upgrades - 
>> maybe I am lucky, maybe not as picky in defining “problem”, but my 
>> suggestion would be to try R from homebrew to install R.
>> 
>> OK - no support from here - I know.
>> 
>> And homebrew has also binary versions. What is missing, is a hombrew R 
>> package repository. Maybe an idea to create one?
>> 
>> 
>> Cheers,
>> 
>> Rainer
>> 
>> 
>>> On 2 Apr 2020, at 02:37, Duncan Murdoch  wrote:
>>> 
>>> On 01/04/2020 2:48 p.m., Carl Witthoft wrote:
 If I should ask over at r-sig-debian instead of here, please tell me.
 I don't wish to clog r-sig-mac with off-topic stuff.
 I've been watching the massive headaches people are dealing with trying
 to keep R fully compatible with each MacOS X upgrade, I'm wondering
 whether replacing my iMac (2009) with a new Mac really makes sense from
 an R - user point of view, as opposed to getting some inexpensive
 desktop and installing Linux. I know I can run R and RStudio under
 Linux, for example, but don't know what limitations, if any there are
 when it comes to building packages from source, getting compatible
 compilers, and so on.
 What have some of you 'power R users' discovered when/if you tried to
 build , or incorporate Bioconductor or other repository's packages under
 Linux?
>>> 
>>> If your iMac is still working, try installing Ubuntu or some other Linux on 
>>> it. I think at that age Apple is no longer providing upgrades, but I just 
>>> put Ubuntu on a 2008 iMac, and it works well. (I needed to upgrade the 
>>> memory, but that just cost $40 for 4 GB.)
>>> 
>>> So I got a $40 desktop, with a nice screen.
>>> 
>>> Duncan Murdoch
>>> 
>>> ___
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac@r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> 
>> --
>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
>> UCT), Dipl. Phys. (Germany)
>> 
>> Orcid ID: -0002-7490-0066
>> 
>> Department of Evolutionary Biology and Environmental Studies
>> University of Zürich
>> Office Y34-J-74
>> Winterthurerstrasse 190
>> 8075 Zürich
>> Switzerland
>> 
>> Office: +41 (0)44 635 47 64
>> Cell: +41 (0)78 630 66 57
>> email: rainer.k...@uzh.ch
>> rai...@krugs.de
>> Skype: RMkrug
>> 
>> PGP: 0x0F52F982
>> 
>> 
>> 
>> 
>> [[alternative HTML version deleted]]
>> 
>> ___
>> R-SIG-Mac mailing list
>> R-SIG-Mac@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
>   [[alternative HTML version deleted]]
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



[[alternative HTML version deleted]]

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


Re: [R-SIG-Mac] Transitioning from Mac to LInux?

2020-04-02 Thread Dr Eberhard W Lisse


I do same, including Rstudio (Cask).

Once in a while after major updates I need to reinstall all my extra
packages, so I have written me a little script along the lines of

#!/usr/local/bin/Rscript
local({
r <- getOption("repos")
r["CRAN"] <- "https://cloud.r-project.org/";
options(repos = r)
})
install.packages(c(
"RMariaDB", "rstudioapi"
))

made it 0755 and can run it from the command line. Put it in my
handbook so I don't forget and never looked back.


greetings, el

On 02/04/2020 10:03 am, Rainer M Krug wrote:
> I am using Homebrew on a Mac (two Macs - one at home, one at work)
> instead of the official R package, and I did not have any problems
> after upgrades - maybe I am lucky, maybe not as picky in defining
> “problem”, but my suggestion would be to try R from homebrew to
> install R.
>
> OK - no support from here - I know.
>
> And homebrew has also binary versions.  What is missing, is a hombrew
> R package repository.  Maybe an idea to create one?
>
>
> Cheers,
>
> Rainer
>

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


Re: [R-SIG-Mac] Transitioning from Mac to LInux?

2020-04-02 Thread Patrick Schratz
AFAIK most people on that list would vote hard against installing R via 
homebrew for several reasons - maybe there should be a section about this on 
the R dev / CRAN page to address this topic, @Simon? Otherwise this will come 
up again and again.

Anyhow, this is also not relating to the initial topic of that thread and 
should probably discussed separately.
On 2. Apr 2020, 10:04 +0200, Rainer M Krug , wrote:
> I am using Homebrew on a Mac (two Macs - one at home, one at work) instead of 
> the official R package, and I did not have any problems after upgrades - 
> maybe I am lucky, maybe not as picky in defining “problem”, but my suggestion 
> would be to try R from homebrew to install R.
>
> OK - no support from here - I know.
>
> And homebrew has also binary versions. What is missing, is a hombrew R 
> package repository. Maybe an idea to create one?
>
>
> Cheers,
>
> Rainer
>
>
> > On 2 Apr 2020, at 02:37, Duncan Murdoch  wrote:
> >
> > On 01/04/2020 2:48 p.m., Carl Witthoft wrote:
> > > If I should ask over at r-sig-debian instead of here, please tell me.
> > > I don't wish to clog r-sig-mac with off-topic stuff.
> > > I've been watching the massive headaches people are dealing with trying
> > > to keep R fully compatible with each MacOS X upgrade, I'm wondering
> > > whether replacing my iMac (2009) with a new Mac really makes sense from
> > > an R - user point of view, as opposed to getting some inexpensive
> > > desktop and installing Linux. I know I can run R and RStudio under
> > > Linux, for example, but don't know what limitations, if any there are
> > > when it comes to building packages from source, getting compatible
> > > compilers, and so on.
> > > What have some of you 'power R users' discovered when/if you tried to
> > > build , or incorporate Bioconductor or other repository's packages under
> > > Linux?
> >
> > If your iMac is still working, try installing Ubuntu or some other Linux on 
> > it. I think at that age Apple is no longer providing upgrades, but I just 
> > put Ubuntu on a 2008 iMac, and it works well. (I needed to upgrade the 
> > memory, but that just cost $40 for 4 GB.)
> >
> > So I got a $40 desktop, with a nice screen.
> >
> > Duncan Murdoch
> >
> > ___
> > R-SIG-Mac mailing list
> > R-SIG-Mac@r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
> --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
> UCT), Dipl. Phys. (Germany)
>
> Orcid ID: -0002-7490-0066
>
> Department of Evolutionary Biology and Environmental Studies
> University of Zürich
> Office Y34-J-74
> Winterthurerstrasse 190
> 8075 Zürich
> Switzerland
>
> Office: +41 (0)44 635 47 64
> Cell: +41 (0)78 630 66 57
> email: rainer.k...@uzh.ch
> rai...@krugs.de
> Skype: RMkrug
>
> PGP: 0x0F52F982
>
>
>
>
> [[alternative HTML version deleted]]
>
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

[[alternative HTML version deleted]]

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


Re: [R-SIG-Mac] Transitioning from Mac to LInux?

2020-04-02 Thread Rainer M Krug
I am using Homebrew on a Mac (two Macs - one at home, one at work) instead of 
the official R package, and I did not have any problems after upgrades - maybe 
I am lucky, maybe not as picky in defining “problem”, but my suggestion would 
be to try R from homebrew to install R. 

OK - no support from here - I know.

And homebrew has also binary versions. What is missing, is a hombrew R package 
repository. Maybe an idea to create one?


Cheers,

Rainer


> On 2 Apr 2020, at 02:37, Duncan Murdoch  wrote:
> 
> On 01/04/2020 2:48 p.m., Carl Witthoft wrote:
>>   If I should ask over at r-sig-debian instead of here, please tell me.
>> I don't wish to clog r-sig-mac with off-topic stuff.
>> I've been watching the massive headaches people are dealing with trying
>> to keep R fully compatible with each MacOS X upgrade,  I'm wondering
>> whether replacing my iMac (2009) with a new Mac really makes sense from
>> an R - user point of view, as opposed to getting some inexpensive
>> desktop and installing Linux.  I know I can run R and RStudio under
>> Linux, for example,  but don't know what limitations, if any there are
>> when it comes to building packages from source, getting compatible
>> compilers,  and so on.
>> What have some of you 'power R users' discovered when/if you tried to
>> build , or incorporate Bioconductor or other repository's packages under
>> Linux?
> 
> If your iMac is still working, try installing Ubuntu or some other Linux on 
> it.  I think at that age Apple is no longer providing upgrades, but I just 
> put Ubuntu on a 2008 iMac, and it works well.  (I needed to upgrade the 
> memory, but that just cost $40 for 4 GB.)
> 
> So I got a $40 desktop, with a nice screen.
> 
> Duncan Murdoch
> 
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Orcid ID: -0002-7490-0066

Department of Evolutionary Biology and Environmental Studies
University of Zürich
Office Y34-J-74
Winterthurerstrasse 190
8075 Zürich
Switzerland

Office: +41 (0)44 635 47 64
Cell:   +41 (0)78 630 66 57
email:  rainer.k...@uzh.ch
rai...@krugs.de
Skype: RMkrug

PGP: 0x0F52F982




[[alternative HTML version deleted]]

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


Re: [R-SIG-Mac] Transitioning from Mac to LInux?

2020-04-01 Thread Duncan Murdoch

On 01/04/2020 2:48 p.m., Carl Witthoft wrote:


   If I should ask over at r-sig-debian instead of here, please tell me.
I don't wish to clog r-sig-mac with off-topic stuff.


I've been watching the massive headaches people are dealing with trying
to keep R fully compatible with each MacOS X upgrade,  I'm wondering
whether replacing my iMac (2009) with a new Mac really makes sense from
an R - user point of view, as opposed to getting some inexpensive
desktop and installing Linux.  I know I can run R and RStudio under
Linux, for example,  but don't know what limitations, if any there are
when it comes to building packages from source, getting compatible
compilers,  and so on.

What have some of you 'power R users' discovered when/if you tried to
build , or incorporate Bioconductor or other repository's packages under
Linux?




If your iMac is still working, try installing Ubuntu or some other Linux 
on it.  I think at that age Apple is no longer providing upgrades, but I 
just put Ubuntu on a 2008 iMac, and it works well.  (I needed to upgrade 
the memory, but that just cost $40 for 4 GB.)


So I got a $40 desktop, with a nice screen.

Duncan Murdoch

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


Re: [R-SIG-Mac] Transitioning from Mac to LInux?

2020-04-01 Thread Eberhard W Lisse
Actually, you can easily run Linux in Virtual Box.

But I agree, with Homebrew there is tons of unix tools available from the 
command line, and then some.

el

—
Sent from Dr Lisse’s iPad Mini 5
On 1 Apr 2020, 23:42 +0200, Simon Urbanek , wrote:
> Carl,
>
> I would argue that you won't really gain anything - if you use R the 
> Linux-way (build R from sources), it would be the same on macOS and Linux - 
> and some people do that. So for R I don't think there is a difference. I'm 
> using Linux for everything other than my desktop/laptop and the main reason 
> I'm sticking with macOS at the edge is the availability of software for 
> dealing with the rest of the world (MS Office, Adobe, Apple Mail etc.). If 
> you don't need any of it, then you may be happy with Linux. The biggest issue 
> there tends to be setting up your machine as the hardware support is far less 
> streamlined than on macOS. Some of my friends are running Linux on Mac 
> hardware - but you need the be real expert for that.
>
> Cheers,
> Simon
>
>
> > On 2/04/2020, at 7:48 AM, Carl Witthoft  wrote:
> >
> >
> > If I should ask over at r-sig-debian instead of here, please tell me. I 
> > don't wish to clog r-sig-mac with off-topic stuff.
> >
> >
> > I've been watching the massive headaches people are dealing with trying to 
> > keep R fully compatible with each MacOS X upgrade, I'm wondering whether 
> > replacing my iMac (2009) with a new Mac really makes sense from an R - user 
> > point of view, as opposed to getting some inexpensive desktop and 
> > installing Linux. I know I can run R and RStudio under Linux, for example, 
> > but don't know what limitations, if any there are when it comes to building 
> > packages from source, getting compatible compilers, and so on.
> >
> > What have some of you 'power R users' discovered when/if you tried to build 
> > , or incorporate Bioconductor or other repository's packages under Linux?
> >
> >
> > --
> > Carl Witthoft
> > c...@witthoft.com
> > resume: https://app.box.com/file/498153801347
> >
> > ___
> > 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

[[alternative HTML version deleted]]

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


Re: [R-SIG-Mac] Transitioning from Mac to LInux?

2020-04-01 Thread Simon Urbanek
Carl,

I would argue that you won't really gain anything - if you use R the Linux-way 
(build R from sources), it would be the same on macOS and Linux - and some 
people do that. So for R I don't think there is a difference. I'm using Linux 
for everything other than my desktop/laptop and the main reason I'm sticking 
with macOS at the edge is the availability of software for dealing with the 
rest of the world (MS Office, Adobe, Apple Mail etc.). If you don't need any of 
it, then you may be happy with Linux. The biggest issue there tends to be 
setting up your machine as the hardware support is far less streamlined than on 
macOS. Some of my friends are running Linux on Mac hardware - but you need the 
be real expert for that.

Cheers,
Simon


> On 2/04/2020, at 7:48 AM, Carl Witthoft  wrote:
> 
> 
> If I should ask over at r-sig-debian instead of here, please tell me. I don't 
> wish to clog r-sig-mac with off-topic stuff.
> 
> 
> I've been watching the massive headaches people are dealing with trying to 
> keep R fully compatible with each MacOS X upgrade,  I'm wondering whether 
> replacing my iMac (2009) with a new Mac really makes sense from an R - user 
> point of view, as opposed to getting some inexpensive desktop and installing 
> Linux.  I know I can run R and RStudio under Linux, for example,  but don't 
> know what limitations, if any there are when it comes to building packages 
> from source, getting compatible compilers,  and so on.
> 
> What have some of you 'power R users' discovered when/if you tried to build , 
> or incorporate Bioconductor or other repository's packages under Linux?
> 
> 
> -- 
> Carl Witthoft
> c...@witthoft.com
> resume: https://app.box.com/file/498153801347
> 
> ___
> 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


Re: [R-SIG-Mac] Transitioning from Mac to LInux?

2020-04-01 Thread Hervé Pagès
My 2 cents: Just go for the inexpensive desktop + Linux. Debian-based or 
RedHat-based distros are great for developing R/Bioconductor packages. 
I've been maintaining/troubleshooting package builds on 
Linux/Windows/Mac for 15 years and Linux is **by far** the easiest 
platform to deal with. Still a mystery to me why one would choose macOS 
for developing R/Bioconductor packages.


H.

On 4/1/20 11:48, Carl Witthoft wrote:


  If I should ask over at r-sig-debian instead of here, please tell me. 
I don't wish to clog r-sig-mac with off-topic stuff.



I've been watching the massive headaches people are dealing with trying 
to keep R fully compatible with each MacOS X upgrade,  I'm wondering 
whether replacing my iMac (2009) with a new Mac really makes sense from 
an R - user point of view, as opposed to getting some inexpensive 
desktop and installing Linux.  I know I can run R and RStudio under 
Linux, for example,  but don't know what limitations, if any there are 
when it comes to building packages from source, getting compatible 
compilers,  and so on.


What have some of you 'power R users' discovered when/if you tried to 
build , or incorporate Bioconductor or other repository's packages under 
Linux?





--
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpa...@fredhutch.org
Phone:  (206) 667-5791
Fax:(206) 667-1319

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


Re: [R-SIG-Mac] Transitioning from Mac to LInux?

2020-04-01 Thread Bert Gunter
As you are asking about R experience from Unix-alike OS users, I think
you would clearly do better to ask on the - debian and/or -fedora
sigs.

Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Wed, Apr 1, 2020 at 11:49 AM Carl Witthoft  wrote:
>
>
>   If I should ask over at r-sig-debian instead of here, please tell me.
> I don't wish to clog r-sig-mac with off-topic stuff.
>
>
> I've been watching the massive headaches people are dealing with trying
> to keep R fully compatible with each MacOS X upgrade,  I'm wondering
> whether replacing my iMac (2009) with a new Mac really makes sense from
> an R - user point of view, as opposed to getting some inexpensive
> desktop and installing Linux.  I know I can run R and RStudio under
> Linux, for example,  but don't know what limitations, if any there are
> when it comes to building packages from source, getting compatible
> compilers,  and so on.
>
> What have some of you 'power R users' discovered when/if you tried to
> build , or incorporate Bioconductor or other repository's packages under
> Linux?
>
>
> --
> Carl Witthoft
> c...@witthoft.com
> resume: https://app.box.com/file/498153801347
>
> ___
> 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


[R-SIG-Mac] Transitioning from Mac to LInux?

2020-04-01 Thread Carl Witthoft



 If I should ask over at r-sig-debian instead of here, please tell me. 
I don't wish to clog r-sig-mac with off-topic stuff.



I've been watching the massive headaches people are dealing with trying 
to keep R fully compatible with each MacOS X upgrade,  I'm wondering 
whether replacing my iMac (2009) with a new Mac really makes sense from 
an R - user point of view, as opposed to getting some inexpensive 
desktop and installing Linux.  I know I can run R and RStudio under 
Linux, for example,  but don't know what limitations, if any there are 
when it comes to building packages from source, getting compatible 
compilers,  and so on.


What have some of you 'power R users' discovered when/if you tried to 
build , or incorporate Bioconductor or other repository's packages under 
Linux?



--
Carl Witthoft
c...@witthoft.com
resume: https://app.box.com/file/498153801347

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