[R-SIG-Mac] Rcmdr start-up issue

Robert Baer rbaer at atsu.edu
Wed Oct 4 16:08:45 CEST 2017


Thanks so much for taking the time to respond.   I followed the Xcode 
instructions in your first paragraph and  instructions and everything is 
working now as expected.  Not sure what happened before.  As of last 
year, more that half my students now live in the Mac world, so it seems 
I need to up my skill level.

Enjoyed the little tcltk exercise/test you supplied.    Thanks again.

Sincerely,

Rob


On 10/3/2017 7:35 PM, Fox, John wrote:
> Dear Robert,
>
> As a brief addendum to my previous message, I’ve now installed the newest
> version of Xcode, and I still have no trouble using the Rcmdr package.
>
> I did get the following message when I initially loaded the Rcmdr package:
> “Agreeing to the Xcode/iOS license requires admin privileges, please run
> “sudo xcodebuild -license” and then retry this command.” But the Rcmdr
> loaded properly both before *and* after I followed the instruction in the
> message.
>
> Best,
>   John
>
> -------------------------------------
> John Fox, Professor Emeritus
> McMaster University
> Hamilton, Ontario, Canada
> Web: http://socserv.mcmaster.ca/jfox/
>
>
>
>
> On 2017-10-03, 1:03 PM, "R-SIG-Mac on behalf of Fox, John"
> <r-sig-mac-bounces at r-project.org on behalf of jfox at mcmaster.ca> wrote:
>
>> Dear Robert,
>>
>> The most common Rcmdr problem on macOS is failure to install XQuartz,
>> which is required by the tcltk package. If you haven't installed XQuartz,
>> then start there, and remember to reboot after the XQuartz installation:
>> <https://www.xquartz.org/>. For more details, please see the Rcmdr
>> installation notes for macOS at
>> <http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html
>>> . You should be able to use the Rcmdr from R.app, a terminal window, or
>>> RStudio.
>> On the other hand, if you *have* installed XQuartz and rebooted, and the
>> problem still occurs, then see whether you can load and use the tcltk
>> package directly, without the Rcmdr; try, e.g. (from ?TkWidgets),
>>
>> 	library(tcltk)
>> 	tt <- tktoplevel()
>> 	label.widget <- tklabel(tt, text = "Hello, World!")
>> 	button.widget <- tkbutton(tt, text = "Push",command =
>> function()cat("OW!\n"))
>> 	tkpack(label.widget, button.widget)
>>
>> Finally, your setup is very similar to mine -- that is, I haven't yet
>> upgraded my Mac to R 3.4.2 (which I don't think is built yet for macOS)
>> but all my R packages are up-to-date. An exception is that I haven't yet
>> installed the latest version of Xcode, which I'll do now to see what
>> happens. It's unclear to me from your message whether the Rcmdr package
>> worked before you installed the newest Xcode.
>>
>> I hope this helps,
>> John
>>
>> --------------------------------------
>> John Fox, Professor Emeritus
>> McMaster University
>> Hamilton, Ontario, Canada
>> Web: socserv.mcmaster.ca/jfox
>>
>>
>>
>>> -----Original Message-----
>>> From: R-SIG-Mac [mailto:r-sig-mac-bounces at r-project.org] On Behalf Of
>>> Robert Baer
>>> Sent: Saturday, September 23, 2017 10:25 AM
>>> To: r-sig-mac at r-project.org
>>> Subject: [R-SIG-Mac] Rcmdr start-up issue
>>>
>>> I seem to be having a problem starting Rcmdr:
>>>
>>>> library(Rcmdr)
>>> Loading required package: splines
>>> Loading required package: RcmdrMisc
>>> Loading required package: car
>>> Loading required package: sandwich
>>> Loading required package: effects
>>> Loading required package: carData
>>>
>>> Attaching package: ‘carData’
>>>
>>> The following objects are masked from ‘package:car’:
>>>
>>>      Guyer, UN, Vocab
>>>
>>> lattice theme set by effectsTheme()
>>> See ?effectsTheme for details.
>>> Error: package or namespace load failed for ‘Rcmdr’:
>>>   package ‘tcltk’ does not have a namespace
>>> I tried first from within RStudio, then from R itself. Same outcome.
>>> Reinstalling Rcmdr, tcltk or tcltk2 package did not seem to help.
>>>
>>> I’m brand new to mac, so I may be missing something basic.  On the other
>>> hand I should confess to just having just “updated” Xcode.
>>>
>>>> R.Version()
>>> $platform
>>> [1] "x86_64-apple-darwin15.6.0"
>>>
>>> $arch
>>> [1] "x86_64"
>>>
>>> $os
>>> [1] "darwin15.6.0"
>>>
>>> $system
>>> [1] "x86_64, darwin15.6.0"
>>>
>>> $status
>>> [1] ""
>>>
>>> $major
>>> [1] "3"
>>>
>>> $minor
>>> [1] "4.1"
>>>
>>> $year
>>> [1] "2017"
>>>
>>> $month
>>> [1] "06"
>>>
>>> $day
>>> [1] "30"
>>>
>>> $`svn rev`
>>> [1] "72865"
>>>
>>> $language
>>> [1] "R"
>>>
>>> $version.string
>>> [1] "R version 3.4.1 (2017-06-30)"
>>>
>>> $nickname
>>> [1] "Single Candle"
>>>
>>>
>>> 	[[alternative HTML version deleted]]
>>>
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

-- 


--
Robert W. Baer, Ph.D.
Professor of Physiology
Kirksville College of Osteopathic Medicine
A T Still University of Health Sciences
800 W. Jefferson St
Kirksville, MO 63501
660-626-2321 Department
660-626-2965 FAX



More information about the R-SIG-Mac mailing list