Re: [R-SIG-Mac] Please help! Package Installer doesn't work.

2017-05-17 Thread David Winsemius

> On Apr 26, 2017, at 9:39 AM, Luisa Bahnemann  wrote:
> 
> Hello ,
> I’ve only installed R (R 3.4.0 GUI 1.70 El Capitan build (7338))
> a few days ago . Now every time I try to install a package I can’t even see 
> the list of packages and R completely freezes.
> Then it shows this :
> 
> Warnung: unable to access index for repository 
> https://mirrors.cicku.me/CRAN/bin/macosx/el-capitan/contrib/3.4:

In Chrome I get:
#-
This site can’t be reached

mirrors.cicku.me refused to connect.
#


See this list:
https://cran.r-project.org/mirrors.html

I think you need a different CRAN mirror?

-- 
David



>  kann URL 
> 'https://mirrors.cicku.me/CRAN/bin/macosx/el-capitan/contrib/3.4/PACKAGES' 
> nicht öffnen
> 
> Could you please help me?
> I already reinstalled but it didn’t help.
> 
> Thankyou !
> Luisa Bahnemann
> ___
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

David Winsemius
Alameda, CA, USA

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

Re: [R-SIG-Mac] R commander fonts on R 3.4.0

2017-05-17 Thread Fox, John
Dear Peter,

First, thank you very much for persisting with this. I greatly appreciate it.

> -Original Message-
> From: Peter Dalgaard [mailto:pda...@gmail.com]
> Sent: Wednesday, May 17, 2017 2:52 PM
> To: Simon Urbanek 
> Cc: Fox, John ; r-sig-mac@r-project.org
> Subject: Re: [R-SIG-Mac] R commander fonts on R 3.4.0
> 
> A few more data points:
> 
> I tried building Tcl/Tk 8.6.6 from the sources from sourceforge.
> Contrary to what it says on the package, it insists on building Tcl and
> Tk as frameworks, which in turn requires that R's configure needs
> special instructions. This works reasonably well for simple tcltk stuff
> (demos, the CRAN selection menu), but unfortunately, library(Rcmdr)
> causes an "Abort trap: 6" almost immediately. (I get a sense of deja vu
> about this... Did Brian try something similar years ago?)

I believe that Brian mentioned to me years ago that he was able to get R (and 
the Rcmdr package) to work fine with a native version of Tcl/Tk for Macs. 
Beyond that, I don't recall.

> 
> It does actually seem to work to build R against the system-supplied
> v.8.5 frameworks. However, this is Aqua-based, and the fonts are a bit
> weird (smooth, but way too small) and the Rcmdr menus get moved to the
> top bar.

Moving the menus to the top bar is desirable, in my opinion, because it's what 
Mac users expect. If the problem is simply with the font sizes, I should be 
able to adjust that automatically, as I do now.

> 
> I am pretty sure by now that all this stuff is a generic tcltk build
> problem and way out of John's domain. (Thanks for posting the font code,
> John. I hope I can get around to having a closer look at it at some
> point. Those .Tcl(paste()) constructs make me cringe a bit, but not all
> are easily eliminated.)

If you see a better way to do this, of course I'd appreciate that. It took a 
fair amount of work to adjust the fonts so that they look right on Windows, 
macOS, and Linux systems.

Best,
 John

> 
> -pd
> 
> > On 16 May 2017, at 23:52 , peter dalgaard  wrote:
> >
> >
> >> On 16 May 2017, at 21:03 , peter dalgaard  wrote:
> >>
> >> I don't think the config flags for R matter in this regard. The
> behaviour is completely paralleled by wish8.6:
> >
> > Hmmm, not sure the wish ::tk::pkgconfig thing proves anything, after I
> tried some of the ActiveState installs and a source build. This stuff is
> making my head spin!
> >
> > However, I discovered that it is possible to install R-3.4.0.pkg as
> usual, and then a customized install of (say) R-3.3-branch-
> mavericks.pkg, omitting everything except the Tcl/Tk stuff. That gives
> you R 3.4.0 and Rcmdr with antialiased fonts.
> >
> > --
> > Peter Dalgaard, Professor,
> > Center for Statistics, Copenhagen Business School Solbjerg Plads 3,
> > 2000 Frederiksberg, Denmark
> > Phone: (+45)38153501
> > Office: A 4.23
> > Email: pd@cbs.dk  Priv: pda...@gmail.com
> >
> >
> >
> >
> >
> >
> >
> >
> >
> 
> --
> Peter Dalgaard, Professor,
> Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000
> Frederiksberg, Denmark
> Phone: (+45)38153501
> Office: A 4.23
> Email: pd@cbs.dk  Priv: pda...@gmail.com
> 
> 
> 
> 
> 
> 
> 
> 

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


Re: [R-SIG-Mac] R commander fonts on R 3.4.0

2017-05-17 Thread Peter Dalgaard
And a bit more. The Rcmdr crash happens here:

debugging in: .Tcl.objv(.Tcl.args.objv(...))
debug: structure(.External(.C_dotTclObjv, objv), class = "tclObj")
Browse[2]> objv
[[1]]
 wm 

[[2]]
 protocol 

[[3]]
 .1 

[[4]]
 WM_DELETE_WINDOW 

[[5]]
 R_call 0x7fedc1987ff8 

Browse[2]> 
Abort trap: 6

and I can make the same thing happen in wish, so it is Not Our Fault:

Peter-Dalgaards-iMac:BUILD pd$ /usr/local/bin/wish
% toplevel .1
.1
% wm protocol .1 WM_DELETE_WINDOW {puts hi}   
/usr/local/bin/wish: line 2: 32765 Abort trap: 6   "$(dirname 
$0)/../../../Library/Frameworks/Tk.framework/Versions/8.6/Resources/Wish.app/Contents/MacOS/Wish"
 "$@"


-pd

> On 17 May 2017, at 20:51 , Peter Dalgaard  wrote:
> 
> A few more data points:
> 
> I tried building Tcl/Tk 8.6.6 from the sources from sourceforge. Contrary to 
> what it says on the package, it insists on building Tcl and Tk as frameworks, 
> which in turn requires that R's configure needs special instructions. This 
> works reasonably well for simple tcltk stuff (demos, the CRAN selection 
> menu), but unfortunately, library(Rcmdr) causes an "Abort trap: 6" almost 
> immediately. (I get a sense of deja vu about this... Did Brian try something 
> similar years ago?)
> 
> It does actually seem to work to build R against the system-supplied v.8.5 
> frameworks. However, this is Aqua-based, and the fonts are a bit weird 
> (smooth, but way too small) and the Rcmdr menus get moved to the top bar.
> 
> I am pretty sure by now that all this stuff is a generic tcltk build problem 
> and way out of John's domain. (Thanks for posting the font code, John. I hope 
> I can get around to having a closer look at it at some point. Those 
> .Tcl(paste()) constructs make me cringe a bit, but not all are easily 
> eliminated.)
> 
> -pd
> 
>> On 16 May 2017, at 23:52 , peter dalgaard  wrote:
>> 
>> 
>>> On 16 May 2017, at 21:03 , peter dalgaard  wrote:
>>> 
>>> I don't think the config flags for R matter in this regard. The behaviour 
>>> is completely paralleled by wish8.6: 
>> 
>> Hmmm, not sure the wish ::tk::pkgconfig thing proves anything, after I tried 
>> some of the ActiveState installs and a source build. This stuff is making my 
>> head spin!
>> 
>> However, I discovered that it is possible to install R-3.4.0.pkg as usual, 
>> and then a customized install of (say) R-3.3-branch-mavericks.pkg, omitting 
>> everything except the Tcl/Tk stuff. That gives you R 3.4.0 and Rcmdr with 
>> antialiased fonts.
>> 
>> -- 
>> Peter Dalgaard, Professor,
>> Center for Statistics, Copenhagen Business School
>> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
>> Phone: (+45)38153501
>> Office: A 4.23
>> Email: pd@cbs.dk  Priv: pda...@gmail.com
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> -- 
> Peter Dalgaard, Professor,
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Office: A 4.23
> Email: pd@cbs.dk  Priv: pda...@gmail.com
> 
> 
> 
> 
> 
> 
> 
> 
> 

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd@cbs.dk  Priv: pda...@gmail.com

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


Re: [R-SIG-Mac] R commander fonts on R 3.4.0

2017-05-17 Thread Peter Dalgaard
A few more data points:

I tried building Tcl/Tk 8.6.6 from the sources from sourceforge. Contrary to 
what it says on the package, it insists on building Tcl and Tk as frameworks, 
which in turn requires that R's configure needs special instructions. This 
works reasonably well for simple tcltk stuff (demos, the CRAN selection menu), 
but unfortunately, library(Rcmdr) causes an "Abort trap: 6" almost immediately. 
(I get a sense of deja vu about this... Did Brian try something similar years 
ago?)

It does actually seem to work to build R against the system-supplied v.8.5 
frameworks. However, this is Aqua-based, and the fonts are a bit weird (smooth, 
but way too small) and the Rcmdr menus get moved to the top bar.

I am pretty sure by now that all this stuff is a generic tcltk build problem 
and way out of John's domain. (Thanks for posting the font code, John. I hope I 
can get around to having a closer look at it at some point. Those .Tcl(paste()) 
constructs make me cringe a bit, but not all are easily eliminated.)

-pd

> On 16 May 2017, at 23:52 , peter dalgaard  wrote:
> 
> 
>> On 16 May 2017, at 21:03 , peter dalgaard  wrote:
>> 
>> I don't think the config flags for R matter in this regard. The behaviour is 
>> completely paralleled by wish8.6: 
> 
> Hmmm, not sure the wish ::tk::pkgconfig thing proves anything, after I tried 
> some of the ActiveState installs and a source build. This stuff is making my 
> head spin!
> 
> However, I discovered that it is possible to install R-3.4.0.pkg as usual, 
> and then a customized install of (say) R-3.3-branch-mavericks.pkg, omitting 
> everything except the Tcl/Tk stuff. That gives you R 3.4.0 and Rcmdr with 
> antialiased fonts.
> 
> -- 
> Peter Dalgaard, Professor,
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Office: A 4.23
> Email: pd@cbs.dk  Priv: pda...@gmail.com
> 
> 
> 
> 
> 
> 
> 
> 
> 

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd@cbs.dk  Priv: pda...@gmail.com

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