Several of my students have had this type of difficulty with Rstudio.
Rstudio masks install.packages with a similarly named function in an
environment that does not appear in
either conflicts(details=TRUE) or in search().
The workaround is an explicit call to utils
utils::install.packages("package.name")
Rich
On Tue, Feb 9, 2016 at 10:34 AM, Vito M. R. Muggeo <vito.muggeo at
unipa.it> wrote:> dear John,
> Thanks for your prompt reply
>
> Il 09/02/2016 16.23, Fox, John ha scritto:
>>
>> Dear Vito,
>>
>> I've never experienced this problem myself in a general way,
>
> Me too. I have always installed R packages straightforwardly..
>
> and I'm sure that Windows users of R call install.packages() all the
time to
> install packages from CRAN mirrors.
> Of course..
>
> So the question to ask, I think, is what's preventing
install.packages()
> from working in your case -- possibly an Internet connectivity problem
> due to a firewall, proxy server, use of https, etc.
> I'm sure that others more knowledgeable about these issues than I am
will
> be able to make more specific suggestions for fixing the problem.
>
> However I have just checked that it works with *http* servers (but not for
> any other *https*..)
>
> Thanks for your support,
> best,
> vito
>
>
>>
>> Best,
>> John
>>
>> -----------------------------
>> John Fox, Professor
>> McMaster University
>> Hamilton, Ontario
>> Canada L8S 4M4
>> web: socserv.mcmaster.ca/jfox
>>
>>
>> ________________________________________
>> From: R-help [r-help-bounces at r-project.org] on behalf of Vito M. R.
Muggeo
>> [vito.muggeo at unipa.it]
>> Sent: February 9, 2016 10:15 AM
>> To: Sekhar Venkatesan; Duncan Murdoch; R-help at r-project.org
>> Cc: R-windows at r-project.org
>> Subject: Re: [R] Help required for Rcmdr
>>
>> dear all,
>> I don't know if that problem is related to the Rcmdr package
itself..
>> (Sekhar try to install any other packages..)
>>
>> I am experiencing the same problem, in that when typing
>>
>> > install.packages("_ANY_PACKAGE_")
>>
>> I get the message
>> Warning message:
>> package ?_ANY_PACKAGE_? is not available (for R version 3.2.3)
>>
>> But I can download the .zip file and unzip it..
>>
>> I tried different CRAN mirrors...
>>
>> best,
>> vito
>>
>>
>> Il 09/02/2016 12.44, Sekhar Venkatesan ha scritto:
>>>
>>> Dear Mr. Murdoch,
>>> I am extremely sorry to have sent the mail to you instead of
R-help.
>>> Thanks
>>> for directing me.
>>> I have downloaded R 3.2.3 version. After that i asked for
>>> install.packages("Rcmdr") . It says that Rcmdr is not
available with
>>> version 3.2.3. On looking at the pdf file for getting started with
R, i
>>> found that i should download with SDI Graphical interface which I
did
>>> once
>>> again but still i could not get the Rcmdr console.
>>> I attended a workshop where the faculty brought out the R console
as well
>>> as the R-commander console where i could import files and also do
all the
>>> statistics easily. I am not getting the R-commander console.
>>> Shall be grateful if i could get help on getting the R-commander
console
>>> with the user friendly way of doing the statistical operations.
>>> Thanks and regards,
>>> Once again apologize to Dr. Duncan Murdoch for disturbing him.
>>> Sekhar
>>>
>>> On Mon, Feb 8, 2016 at 8:56 PM, Duncan Murdoch <murdoch.duncan
at gmail.com>
>>> wrote:
>>>
>>>> On 08/02/2016 8:56 AM, Sekhar Venkatesan wrote:
>>>>
>>>>> Dear Sirs,
>>>>> I have downloaded R 3.2.3 version from the CRAN site. I
have tried to
>>>>> download with both MDI and SDI user interface. But Rcmdr is
not opening
>>>>> in
>>>>> as a console along with R console. Help is required to
open Rcmdr. I
>>>>> have
>>>>> tried install.packages("Rcmdr"), library(Rcmdr)
etc but to no avail.
>>>>> thanks
>>>>> Sekhar
>>>>> Delhi
>>>>> India
>>>>>
>>>>> This is the wrong email address for help. Please write to
R-help, and
>>>>
>>>> describe what happens when you try the commands that are
failing.
>>>>
>>>> Duncan Murdoch
>>>>
>>>
>>> [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> 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.
>>>
>>
>> --
>> =============================================>> Vito M.R. Muggeo
>> Dip.to Sc Statist e Matem `Vianelli'
>> Universit? di Palermo
>> viale delle Scienze, edificio 13
>> 90128 Palermo - ITALY
>> tel: 091 23895240
>> fax: 091 485726
>> http://dssm.unipa.it/vmuggeo
>> Associate Editor, Statistical Modelling
>>
>> ______________________________________________
>> 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.
>>
>
> --
> =============================================> Vito M.R. Muggeo
> Dip.to Sc Statist e Matem `Vianelli'
> Universit? di Palermo
> viale delle Scienze, edificio 13
> 90128 Palermo - ITALY
> tel: 091 23895240
> fax: 091 485726
> http://dssm.unipa.it/vmuggeo
> Associate Editor, Statistical Modelling
>
> ______________________________________________
> 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.
Hi Rich,> -----Original Message----- > From: Richard M. Heiberger [mailto:rmh at temple.edu] > Sent: February 9, 2016 4:57 PM > To: Vito M. R. Muggeo <vito.muggeo at unipa.it> > Cc: Fox, John <jfox at mcmaster.ca>; Sekhar Venkatesan > <venkatesansekhar at gmail.com>; Duncan Murdoch > <murdoch.duncan at gmail.com>; R-help at r-project.org; R-windows at r- > project.org > Subject: Re: [R] Help required for Rcmdr > > Several of my students have had this type of difficulty with Rstudio. >Good to know, but the original poster tried both with the R Windows SDI and MDI. Best, John> Rstudio masks install.packages with a similarly named function in an > environment that does not appear in either conflicts(details=TRUE) or in > search(). > > The workaround is an explicit call to utils > > utils::install.packages("package.name") > > Rich > > On Tue, Feb 9, 2016 at 10:34 AM, Vito M. R. Muggeo <vito.muggeo at unipa.it> > wrote: > > dear John, > > Thanks for your prompt reply > > > > Il 09/02/2016 16.23, Fox, John ha scritto: > >> > >> Dear Vito, > >> > >> I've never experienced this problem myself in a general way, > > > > Me too. I have always installed R packages straightforwardly.. > > > > and I'm sure that Windows users of R call install.packages() all the > > time to install packages from CRAN mirrors. > > Of course.. > > > > So the question to ask, I think, is what's preventing > > install.packages() from working in your case -- possibly an Internet > > connectivity problem due to a firewall, proxy server, use of https, etc. > > I'm sure that others more knowledgeable about these issues than I am > > will be able to make more specific suggestions for fixing the problem. > > > > However I have just checked that it works with *http* servers (but not > > for any other *https*..) > > > > Thanks for your support, > > best, > > vito > > > > > >> > >> Best, > >> John > >> > >> ----------------------------- > >> John Fox, Professor > >> McMaster University > >> Hamilton, Ontario > >> Canada L8S 4M4 > >> web: socserv.mcmaster.ca/jfox > >> > >> > >> ________________________________________ > >> From: R-help [r-help-bounces at r-project.org] on behalf of Vito M. R. > >> Muggeo [vito.muggeo at unipa.it] > >> Sent: February 9, 2016 10:15 AM > >> To: Sekhar Venkatesan; Duncan Murdoch; R-help at r-project.org > >> Cc: R-windows at r-project.org > >> Subject: Re: [R] Help required for Rcmdr > >> > >> dear all, > >> I don't know if that problem is related to the Rcmdr package itself.. > >> (Sekhar try to install any other packages..) > >> > >> I am experiencing the same problem, in that when typing > >> > >> > install.packages("_ANY_PACKAGE_") > >> > >> I get the message > >> Warning message: > >> package ?_ANY_PACKAGE_? is not available (for R version 3.2.3) > >> > >> But I can download the .zip file and unzip it.. > >> > >> I tried different CRAN mirrors... > >> > >> best, > >> vito > >> > >> > >> Il 09/02/2016 12.44, Sekhar Venkatesan ha scritto: > >>> > >>> Dear Mr. Murdoch, > >>> I am extremely sorry to have sent the mail to you instead of R-help. > >>> Thanks > >>> for directing me. > >>> I have downloaded R 3.2.3 version. After that i asked for > >>> install.packages("Rcmdr") . It says that Rcmdr is not available with > >>> version 3.2.3. On looking at the pdf file for getting started with > >>> R, i found that i should download with SDI Graphical interface which > >>> I did once again but still i could not get the Rcmdr console. > >>> I attended a workshop where the faculty brought out the R console as > >>> well as the R-commander console where i could import files and also > >>> do all the statistics easily. I am not getting the R-commander console. > >>> Shall be grateful if i could get help on getting the R-commander > >>> console with the user friendly way of doing the statistical operations. > >>> Thanks and regards, > >>> Once again apologize to Dr. Duncan Murdoch for disturbing him. > >>> Sekhar > >>> > >>> On Mon, Feb 8, 2016 at 8:56 PM, Duncan Murdoch > >>> <murdoch.duncan at gmail.com> > >>> wrote: > >>> > >>>> On 08/02/2016 8:56 AM, Sekhar Venkatesan wrote: > >>>> > >>>>> Dear Sirs, > >>>>> I have downloaded R 3.2.3 version from the CRAN site. I have tried > >>>>> to download with both MDI and SDI user interface. But Rcmdr is not > >>>>> opening in as a console along with R console. Help is required to > >>>>> open Rcmdr. I have tried install.packages("Rcmdr"), library(Rcmdr) > >>>>> etc but to no avail. > >>>>> thanks > >>>>> Sekhar > >>>>> Delhi > >>>>> India > >>>>> > >>>>> This is the wrong email address for help. Please write to R-help, > >>>>> and > >>>> > >>>> describe what happens when you try the commands that are failing. > >>>> > >>>> Duncan Murdoch > >>>> > >>> > >>> [[alternative HTML version deleted]] > >>> > >>> ______________________________________________ > >>> 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. > >>> > >> > >> -- > >> =============================================> >> Vito M.R. Muggeo > >> Dip.to Sc Statist e Matem `Vianelli' > >> Universit? di Palermo > >> viale delle Scienze, edificio 13 > >> 90128 Palermo - ITALY > >> tel: 091 23895240 > >> fax: 091 485726 > >> http://dssm.unipa.it/vmuggeo > >> Associate Editor, Statistical Modelling > >> > >> ______________________________________________ > >> 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. > >> > > > > -- > > =============================================> > Vito M.R. Muggeo > > Dip.to Sc Statist e Matem `Vianelli' > > Universit? di Palermo > > viale delle Scienze, edificio 13 > > 90128 Palermo - ITALY > > tel: 091 23895240 > > fax: 091 485726 > > http://dssm.unipa.it/vmuggeo > > Associate Editor, Statistical Modelling > > > > ______________________________________________ > > 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.
Dear Sekhar,
I'm sorry that you're experiencing these problems. Although you
haven't said so directly, I assume that you aren't able to use
install.packages() to install *any* CRAN packages, not just the Rcmdr package.
Downloading and unpacking the Rcmdr zip file doesn't install the package.
You can install the zip-file binary package from the R Windows GUI via the
"Packages > Install package(s) from local zip files" menu, but that
too won't really help because it won't install the many CRAN packages on
which the Rcmdr depends.
As I said earlier, my guess is that you're experiencing a problem with a
firewall, proxy server, or HTTPS. If the latter (which was Vito's problem),
you can easily solve the problem by using an HTTP CRAN server in preference to
the default HTTPS:
Enter the command chooseCRANmirror(useHTTPS=FALSE) at the R Console > prompt
and select a CRAN mirror -- I suggest the first (0-Cloud) mirror. Then issue the
command install.packages("Rcmdr"), as before.
If that doesn't work, I'm afraid I don't have other suggestions.
You appear to have sent this message only to me, not to r-help. That not a good
idea for several reasons, not least of which is that people who have other
suggestions won't see your message. I'm cc'ing this response to
r-help.
Best,
John
> -----Original Message-----
> From: Sekhar Venkatesan [mailto:venkatesansekhar at gmail.com]
> Sent: February 10, 2016 12:03 AM
> To: Fox, John <jfox at mcmaster.ca>
> Subject: Re: [R] Help required for Rcmdr
>
> Dear Sirs,
> Thanks to everyone for trying to help me. i have tried several CRAN mirrors
> but to no help. I am getting the Zip file for Rcmdr and can also unzip the
> same. However, after that i am unable to open the Rcmdr console.
> that is the problem.
> regards
> sekhar
>
> On Tue, Feb 9, 2016 at 10:00 PM, Fox, John <jfox at mcmaster.ca
> <mailto:jfox at mcmaster.ca> > wrote:
>
>
> Hi Rich,
>
> > -----Original Message-----
> > From: Richard M. Heiberger [mailto:rmh at temple.edu
> <mailto:rmh at temple.edu> ]
> > Sent: February 9, 2016 4:57 PM
> > To: Vito M. R. Muggeo <vito.muggeo at unipa.it
> <mailto:vito.muggeo at unipa.it> >
> > Cc: Fox, John <jfox at mcmaster.ca <mailto:jfox at
mcmaster.ca> >;
> Sekhar Venkatesan
> > <venkatesansekhar at gmail.com
> <mailto:venkatesansekhar at gmail.com> >; Duncan Murdoch
> > <murdoch.duncan at gmail.com
> <mailto:murdoch.duncan at gmail.com> >; R-help at r-project.org
<mailto:R-
> help at r-project.org> ; R-windows at r-
> > project.org <http://project.org>
> > Subject: Re: [R] Help required for Rcmdr
> >
> > Several of my students have had this type of difficulty with Rstudio.
> >
>
> Good to know, but the original poster tried both with the R Windows
> SDI and MDI.
>
> Best,
> John
>
>
> > Rstudio masks install.packages with a similarly named function in an
> > environment that does not appear in either conflicts(details=TRUE)
> or in
> > search().
> >
> > The workaround is an explicit call to utils
> >
> > utils::install.packages("package.name
<http://package.name> ")
> >
> > Rich
> >
> > On Tue, Feb 9, 2016 at 10:34 AM, Vito M. R. Muggeo
> <vito.muggeo at unipa.it <mailto:vito.muggeo at unipa.it> >
> > wrote:
> > > dear John,
> > > Thanks for your prompt reply
> > >
> > > Il 09/02/2016 16.23, Fox, John ha scritto:
> > >>
> > >> Dear Vito,
> > >>
> > >> I've never experienced this problem myself in a general
way,
> > >
> > > Me too. I have always installed R packages straightforwardly..
> > >
> > > and I'm sure that Windows users of R call install.packages()
all the
> > > time to install packages from CRAN mirrors.
> > > Of course..
> > >
> > > So the question to ask, I think, is what's preventing
> > > install.packages() from working in your case -- possibly an
> Internet
> > > connectivity problem due to a firewall, proxy server, use of
https,
> etc.
> > > I'm sure that others more knowledgeable about these issues
> than I am
> > > will be able to make more specific suggestions for fixing the
> problem.
> > >
> > > However I have just checked that it works with *http* servers
> (but not
> > > for any other *https*..)
> > >
> > > Thanks for your support,
> > > best,
> > > vito
> > >
> > >
> > >>
> > >> Best,
> > >> John
> > >>
> > >> -----------------------------
> > >> John Fox, Professor
> > >> McMaster University
> > >> Hamilton, Ontario
> > >> Canada L8S 4M4
> > >> web: socserv.mcmaster.ca/jfox
> <http://socserv.mcmaster.ca/jfox>
> > >>
> > >>
> > >> ________________________________________
> > >> From: R-help [r-help-bounces at r-project.org
<mailto:r-help-
> bounces at r-project.org> ] on behalf of Vito M. R.
> > >> Muggeo [vito.muggeo at unipa.it <mailto:vito.muggeo at
unipa.it>
> ]
> > >> Sent: February 9, 2016 10:15 AM
> > >> To: Sekhar Venkatesan; Duncan Murdoch; R-help at
r-project.org
> <mailto:R-help at r-project.org>
> > >> Cc: R-windows at r-project.org <mailto:R-windows at r-
> project.org>
> > >> Subject: Re: [R] Help required for Rcmdr
> > >>
> > >> dear all,
> > >> I don't know if that problem is related to the Rcmdr
package
> itself..
> > >> (Sekhar try to install any other packages..)
> > >>
> > >> I am experiencing the same problem, in that when typing
> > >>
> > >> > install.packages("_ANY_PACKAGE_")
> > >>
> > >> I get the message
> > >> Warning message:
> > >> package ?_ANY_PACKAGE_? is not available (for R version
3.2.3)
> > >>
> > >> But I can download the .zip file and unzip it..
> > >>
> > >> I tried different CRAN mirrors...
> > >>
> > >> best,
> > >> vito
> > >>
> > >>
> > >> Il 09/02/2016 12.44, Sekhar Venkatesan ha scritto:
> > >>>
> > >>> Dear Mr. Murdoch,
> > >>> I am extremely sorry to have sent the mail to you
instead of R-
> help.
> > >>> Thanks
> > >>> for directing me.
> > >>> I have downloaded R 3.2.3 version. After that i asked
for
> > >>> install.packages("Rcmdr") . It says that Rcmdr
is not available
> with
> > >>> version 3.2.3. On looking at the pdf file for getting
started with
> > >>> R, i found that i should download with SDI Graphical
interface
> which
> > >>> I did once again but still i could not get the Rcmdr
console.
> > >>> I attended a workshop where the faculty brought out the
R
> console as
> > >>> well as the R-commander console where i could import
files
> and also
> > >>> do all the statistics easily. I am not getting the
R-commander
> console.
> > >>> Shall be grateful if i could get help on getting the
R-commander
> > >>> console with the user friendly way of doing the
statistical
> operations.
> > >>> Thanks and regards,
> > >>> Once again apologize to Dr. Duncan Murdoch for
disturbing
> him.
> > >>> Sekhar
> > >>>
> > >>> On Mon, Feb 8, 2016 at 8:56 PM, Duncan Murdoch
> > >>> <murdoch.duncan at gmail.com
> <mailto:murdoch.duncan at gmail.com> >
> > >>> wrote:
> > >>>
> > >>>> On 08/02/2016 8:56 AM, Sekhar Venkatesan wrote:
> > >>>>
> > >>>>> Dear Sirs,
> > >>>>> I have downloaded R 3.2.3 version from the CRAN
site. I
> have tried
> > >>>>> to download with both MDI and SDI user
interface. But
> Rcmdr is not
> > >>>>> opening in as a console along with R console.
Help is
> required to
> > >>>>> open Rcmdr. I have tried
install.packages("Rcmdr"),
> library(Rcmdr)
> > >>>>> etc but to no avail.
> > >>>>> thanks
> > >>>>> Sekhar
> > >>>>> Delhi
> > >>>>> India
> > >>>>>
> > >>>>> This is the wrong email address for help.
Please write to R-
> help,
> > >>>>> and
> > >>>>
> > >>>> describe what happens when you try the commands that
are
> failing.
> > >>>>
> > >>>> Duncan Murdoch
> > >>>>
> > >>>
> > >>> [[alternative HTML version deleted]]
> > >>>
> > >>> ______________________________________________
> > >>> R-help at r-project.org <mailto: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.
> > >>>
> > >>
> > >> --
> > >> =============================================> >
>> Vito M.R. Muggeo
> > >> Dip.to Sc Statist e Matem `Vianelli'
> > >> Universit? di Palermo
> > >> viale delle Scienze, edificio 13
> > >> 90128 Palermo - ITALY
> > >> tel: 091 23895240
> > >> fax: 091 485726
> > >> http://dssm.unipa.it/vmuggeo
> > >> Associate Editor, Statistical Modelling
> > >>
> > >> ______________________________________________
> > >> R-help at r-project.org <mailto: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.
> > >>
> > >
> > > --
> > > =============================================> > >
Vito M.R. Muggeo
> > > Dip.to Sc Statist e Matem `Vianelli'
> > > Universit? di Palermo
> > > viale delle Scienze, edificio 13
> > > 90128 Palermo - ITALY
> > > tel: 091 23895240
> > > fax: 091 485726
> > > http://dssm.unipa.it/vmuggeo
> > > Associate Editor, Statistical Modelling
> > >
> > > ______________________________________________
> > > R-help at r-project.org <mailto: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.
>
>