issue with Rcmdr

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

issue with Rcmdr

tzahaf-2
Dear

I have a problem when trying to use Rcmdr.  This is the msg I receive:


package ‘Rcmdr’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
         
C:\Users\toufiz00\AppData\Local\Temp\RtmpgXuxDP\downloaded_packages
> local({pkg <- select.list(sort(.packages(all.available =
> TRUE)),graphics=TRUE)
+ if(nchar(pkg)) library(pkg, character.only=TRUE)})
Loading required package: RcmdrMisc
Error: package or namespace load failed for ‘RcmdrMisc’ in rbind(info,
getNamespaceInfo(env, "S3methods")):
  number of columns of matrices must match (see arg 2)
Error: package ‘RcmdrMisc’ could not be loaded
>

I am running R 3.5.3 on WIN 10

thanks for your help

Best

Toufik

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: issue with Rcmdr

David Winsemius

On 1/6/20 5:16 AM, tzahaf wrote:

> Dear
>
> I have a problem when trying to use Rcmdr.  This is the msg I receive:
>
>
> package ‘Rcmdr’ successfully unpacked and MD5 sums checked
>
> The downloaded binary packages are in
> C:\Users\toufiz00\AppData\Local\Temp\RtmpgXuxDP\downloaded_packages
>> local({pkg <- select.list(sort(.packages(all.available =
>> TRUE)),graphics=TRUE)
> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
> Loading required package: RcmdrMisc
> Error: package or namespace load failed for ‘RcmdrMisc’ in rbind(info,
> getNamespaceInfo(env, "S3methods")):
>  number of columns of matrices must match (see arg 2)
> Error: package ‘RcmdrMisc’ could not be loaded
>>

Do you have RcmdrMisc installed? You can answer that question by running
this in your R console window:


grep("RcmdrMisc", installed.packages()[,1])


If you get, as I did since I do not use Rcmdr,  this result: integer(0),
then it means you have not yet installed the package and you should now run:


install.packages("RcmdrMisc", dependencies=TRUE)


Best;

David.

>
> I am running R 3.5.3 on WIN 10
>
> thanks for your help
>
> Best
>
> Toufik
>
> ______________________________________________
> [hidden email] 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.

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: issue with Rcmdr

Fox, John
In reply to this post by tzahaf-2
Dear Toufik,

You've already had a suggestion to check whether RcmdrMisc is installed. It should have been installed automatically when you installed the Rcmdr package.

If RcmdrMisc is installed, see whether you can load it directly via the command library(RcmdrMisc). If that too fails, you could try reinstalling RcmdrMisc via install.packages("RcmdrMisc").

Finally, you're using an old version of R. You might try installing the current version, which is 3.6.2. Then install the Rcmdr package by install.packages("Rcmdr").

I hope this helps,
 John

-----------------------------------------------------------------
John Fox
Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
Web: https://socialsciences.mcmaster.ca/jfox/



> -----Original Message-----
> From: R-help <[hidden email]> On Behalf Of tzahaf
> Sent: Monday, January 6, 2020 8:16 AM
> To: [hidden email]
> Subject: [R] issue with Rcmdr
>
> Dear
>
> I have a problem when trying to use Rcmdr.  This is the msg I receive:
>
>
> package ‘Rcmdr’ successfully unpacked and MD5 sums checked
>
> The downloaded binary packages are in
>
> C:\Users\toufiz00\AppData\Local\Temp\RtmpgXuxDP\downloaded_packages
> > local({pkg <- select.list(sort(.packages(all.available =
> > TRUE)),graphics=TRUE)
> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
> Loading required package: RcmdrMisc
> Error: package or namespace load failed for ‘RcmdrMisc’ in rbind(info,
> getNamespaceInfo(env, "S3methods")):
>   number of columns of matrices must match (see arg 2)
> Error: package ‘RcmdrMisc’ could not be loaded
> >
>
> I am running R 3.5.3 on WIN 10
>
> thanks for your help
>
> Best
>
> Toufik
>
> ______________________________________________
> [hidden email] 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.
______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: issue with Rcmdr

Jeff Newmiller
That version of R happens to be "current" if using MRAN... which has some benefits (MKL comes pre-configured) and some... ah... "philosophical" ideas about stability (uses checkpoint package out of the box... which freezes packages at 2019-04-15 UTC unless actions are taken to use a different snapshot [1]). The OP may be "stuck in time" at Rcmdr 2.5-2 if they have not invoked checkpoint or adjusted the "repos" option... and if the latter then they may be encountering package incompatibilities with R 3.5.3 that should have been caught with a minimum R-version spec in the Rcmdr package.

[1] https://mran.microsoft.com/documents/rro/reproducibility

On January 6, 2020 10:20:04 AM PST, "Fox, John" <[hidden email]> wrote:

>Dear Toufik,
>
>You've already had a suggestion to check whether RcmdrMisc is
>installed. It should have been installed automatically when you
>installed the Rcmdr package.
>
>If RcmdrMisc is installed, see whether you can load it directly via the
>command library(RcmdrMisc). If that too fails, you could try
>reinstalling RcmdrMisc via install.packages("RcmdrMisc").
>
>Finally, you're using an old version of R. You might try installing the
>current version, which is 3.6.2. Then install the Rcmdr package by
>install.packages("Rcmdr").
>
>I hope this helps,
> John
>
>-----------------------------------------------------------------
>John Fox
>Professor Emeritus
>McMaster University
>Hamilton, Ontario, Canada
>Web: https://socialsciences.mcmaster.ca/jfox/
>
>
>
>> -----Original Message-----
>> From: R-help <[hidden email]> On Behalf Of tzahaf
>> Sent: Monday, January 6, 2020 8:16 AM
>> To: [hidden email]
>> Subject: [R] issue with Rcmdr
>>
>> Dear
>>
>> I have a problem when trying to use Rcmdr.  This is the msg I
>receive:
>>
>>
>> package ‘Rcmdr’ successfully unpacked and MD5 sums checked
>>
>> The downloaded binary packages are in
>>
>> C:\Users\toufiz00\AppData\Local\Temp\RtmpgXuxDP\downloaded_packages
>> > local({pkg <- select.list(sort(.packages(all.available =
>> > TRUE)),graphics=TRUE)
>> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
>> Loading required package: RcmdrMisc
>> Error: package or namespace load failed for ‘RcmdrMisc’ in
>rbind(info,
>> getNamespaceInfo(env, "S3methods")):
>>   number of columns of matrices must match (see arg 2)
>> Error: package ‘RcmdrMisc’ could not be loaded
>> >
>>
>> I am running R 3.5.3 on WIN 10
>>
>> thanks for your help
>>
>> Best
>>
>> Toufik
>>
>> ______________________________________________
>> [hidden email] 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.
>______________________________________________
>[hidden email] 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.

--
Sent from my phone. Please excuse my brevity.

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: issue with Rcmdr

tzahaf
Dears

Thanks a lot , I understand that may be Rcmdr is not ‘adapted’ to run with R 3.5.3 so I will try to update R version to 3.6.2 or use the oldest version of R I used in the past.

I will let you know the outcome

Best regards
Toufik

> Le 6 janv. 2020 à 20:37, Jeff Newmiller <[hidden email]> a écrit :
>
> That version of R happens to be "current" if using MRAN... which has some benefits (MKL comes pre-configured) and some... ah... "philosophical" ideas about stability (uses checkpoint package out of the box... which freezes packages at 2019-04-15 UTC unless actions are taken to use a different snapshot [1]). The OP may be "stuck in time" at Rcmdr 2.5-2 if they have not invoked checkpoint or adjusted the "repos" option... and if the latter then they may be encountering package incompatibilities with R 3.5.3 that should have been caught with a minimum R-version spec in the Rcmdr package.
>
> [1] https://mran.microsoft.com/documents/rro/reproducibility
>
>> On January 6, 2020 10:20:04 AM PST, "Fox, John" <[hidden email]> wrote:
>> Dear Toufik,
>>
>> You've already had a suggestion to check whether RcmdrMisc is
>> installed. It should have been installed automatically when you
>> installed the Rcmdr package.
>>
>> If RcmdrMisc is installed, see whether you can load it directly via the
>> command library(RcmdrMisc). If that too fails, you could try
>> reinstalling RcmdrMisc via install.packages("RcmdrMisc").
>>
>> Finally, you're using an old version of R. You might try installing the
>> current version, which is 3.6.2. Then install the Rcmdr package by
>> install.packages("Rcmdr").
>>
>> I hope this helps,
>> John
>>
>> -----------------------------------------------------------------
>> John Fox
>> Professor Emeritus
>> McMaster University
>> Hamilton, Ontario, Canada
>> Web: https://socialsciences.mcmaster.ca/jfox/
>>
>>
>>
>>> -----Original Message-----
>>> From: R-help <[hidden email]> On Behalf Of tzahaf
>>> Sent: Monday, January 6, 2020 8:16 AM
>>> To: [hidden email]
>>> Subject: [R] issue with Rcmdr
>>>
>>> Dear
>>>
>>> I have a problem when trying to use Rcmdr.  This is the msg I
>> receive:
>>>
>>>
>>> package ‘Rcmdr’ successfully unpacked and MD5 sums checked
>>>
>>> The downloaded binary packages are in
>>>
>>> C:\Users\toufiz00\AppData\Local\Temp\RtmpgXuxDP\downloaded_packages
>>>> local({pkg <- select.list(sort(.packages(all.available =
>>>> TRUE)),graphics=TRUE)
>>> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
>>> Loading required package: RcmdrMisc
>>> Error: package or namespace load failed for ‘RcmdrMisc’ in
>> rbind(info,
>>> getNamespaceInfo(env, "S3methods")):
>>>  number of columns of matrices must match (see arg 2)
>>> Error: package ‘RcmdrMisc’ could not be loaded
>>>>
>>>
>>> I am running R 3.5.3 on WIN 10
>>>
>>> thanks for your help
>>>
>>> Best
>>>
>>> Toufik
>>>
>>> ______________________________________________
>>> [hidden email] 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.
>> ______________________________________________
>> [hidden email] 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.
>
> --
> Sent from my phone. Please excuse my brevity.

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: issue with Rcmdr

Fox, John
Dear Toufik,

> -----Original Message-----
> From: Toufik Zahaf <[hidden email]>
> Sent: Monday, January 6, 2020 4:07 PM
> To: Jeff Newmiller <[hidden email]>
> Cc: [hidden email]; Fox, John <[hidden email]>; tzahaf
> <[hidden email]>
> Subject: Re: [R] issue with Rcmdr
>
> Dears
>
> Thanks a lot , I understand that may be Rcmdr is not ‘adapted’ to run with R
> 3.5.3 so I will try to update R version to 3.6.2 or use the oldest version of R I
> used in the past.

The Rcmdr worked perfectly fine with R 3.5.3 about a year ago but it's possible that you've installed incompatible versions of some packages. As a general matter, keeping R up-to-date isn't a bad idea.

Best,
 John

>
> I will let you know the outcome
>
> Best regards
> Toufik
>
> > Le 6 janv. 2020 à 20:37, Jeff Newmiller <[hidden email]> a écrit :
> >
> > That version of R happens to be "current" if using MRAN... which has some
> benefits (MKL comes pre-configured) and some... ah... "philosophical" ideas
> about stability (uses checkpoint package out of the box... which freezes
> packages at 2019-04-15 UTC unless actions are taken to use a different
> snapshot [1]). The OP may be "stuck in time" at Rcmdr 2.5-2 if they have not
> invoked checkpoint or adjusted the "repos" option... and if the latter then they
> may be encountering package incompatibilities with R 3.5.3 that should have
> been caught with a minimum R-version spec in the Rcmdr package.
> >
> > [1] https://mran.microsoft.com/documents/rro/reproducibility
> >
> >> On January 6, 2020 10:20:04 AM PST, "Fox, John" <[hidden email]>
> wrote:
> >> Dear Toufik,
> >>
> >> You've already had a suggestion to check whether RcmdrMisc is
> >> installed. It should have been installed automatically when you
> >> installed the Rcmdr package.
> >>
> >> If RcmdrMisc is installed, see whether you can load it directly via
> >> the command library(RcmdrMisc). If that too fails, you could try
> >> reinstalling RcmdrMisc via install.packages("RcmdrMisc").
> >>
> >> Finally, you're using an old version of R. You might try installing
> >> the current version, which is 3.6.2. Then install the Rcmdr package
> >> by install.packages("Rcmdr").
> >>
> >> I hope this helps,
> >> John
> >>
> >> -----------------------------------------------------------------
> >> John Fox
> >> Professor Emeritus
> >> McMaster University
> >> Hamilton, Ontario, Canada
> >> Web: https://socialsciences.mcmaster.ca/jfox/
> >>
> >>
> >>
> >>> -----Original Message-----
> >>> From: R-help <[hidden email]> On Behalf Of tzahaf
> >>> Sent: Monday, January 6, 2020 8:16 AM
> >>> To: [hidden email]
> >>> Subject: [R] issue with Rcmdr
> >>>
> >>> Dear
> >>>
> >>> I have a problem when trying to use Rcmdr.  This is the msg I
> >> receive:
> >>>
> >>>
> >>> package ‘Rcmdr’ successfully unpacked and MD5 sums checked
> >>>
> >>> The downloaded binary packages are in
> >>>
> >>>
> C:\Users\toufiz00\AppData\Local\Temp\RtmpgXuxDP\downloaded_packages
> >>>> local({pkg <- select.list(sort(.packages(all.available =
> >>>> TRUE)),graphics=TRUE)
> >>> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
> >>> Loading required package: RcmdrMisc
> >>> Error: package or namespace load failed for ‘RcmdrMisc’ in
> >> rbind(info,
> >>> getNamespaceInfo(env, "S3methods")):
> >>>  number of columns of matrices must match (see arg 2)
> >>> Error: package ‘RcmdrMisc’ could not be loaded
> >>>>
> >>>
> >>> I am running R 3.5.3 on WIN 10
> >>>
> >>> thanks for your help
> >>>
> >>> Best
> >>>
> >>> Toufik
> >>>
> >>> ______________________________________________
> >>> [hidden email] 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.
> >> ______________________________________________
> >> [hidden email] 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.
> >
> > --
> > Sent from my phone. Please excuse my brevity.

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: issue with Rcmdr

tzahaf-2
Dear John, Jeff

I have updated R version (3.6.2) as suggested and now Rcmdr works :-)

Thanks again for your time et great help

Best regards

Toufik


On 06.01.2020 23:59, Fox, John wrote:

> Dear Toufik,
>
>> -----Original Message-----
>> From: Toufik Zahaf <[hidden email]>
>> Sent: Monday, January 6, 2020 4:07 PM
>> To: Jeff Newmiller <[hidden email]>
>> Cc: [hidden email]; Fox, John <[hidden email]>; tzahaf
>> <[hidden email]>
>> Subject: Re: [R] issue with Rcmdr
>>
>> Dears
>>
>> Thanks a lot , I understand that may be Rcmdr is not ‘adapted’ to run
>> with R
>> 3.5.3 so I will try to update R version to 3.6.2 or use the oldest
>> version of R I
>> used in the past.
>
> The Rcmdr worked perfectly fine with R 3.5.3 about a year ago but it's
> possible that you've installed incompatible versions of some packages.
> As a general matter, keeping R up-to-date isn't a bad idea.
>
> Best,
>  John
>
>>
>> I will let you know the outcome
>>
>> Best regards
>> Toufik
>>
>> > Le 6 janv. 2020 à 20:37, Jeff Newmiller <[hidden email]> a écrit :
>> >
>> > That version of R happens to be "current" if using MRAN... which has some
>> benefits (MKL comes pre-configured) and some... ah... "philosophical"
>> ideas
>> about stability (uses checkpoint package out of the box... which
>> freezes
>> packages at 2019-04-15 UTC unless actions are taken to use a different
>> snapshot [1]). The OP may be "stuck in time" at Rcmdr 2.5-2 if they
>> have not
>> invoked checkpoint or adjusted the "repos" option... and if the latter
>> then they
>> may be encountering package incompatibilities with R 3.5.3 that should
>> have
>> been caught with a minimum R-version spec in the Rcmdr package.
>> >
>> > [1] https://mran.microsoft.com/documents/rro/reproducibility
>> >
>> >> On January 6, 2020 10:20:04 AM PST, "Fox, John" <[hidden email]>
>> wrote:
>> >> Dear Toufik,
>> >>
>> >> You've already had a suggestion to check whether RcmdrMisc is
>> >> installed. It should have been installed automatically when you
>> >> installed the Rcmdr package.
>> >>
>> >> If RcmdrMisc is installed, see whether you can load it directly via
>> >> the command library(RcmdrMisc). If that too fails, you could try
>> >> reinstalling RcmdrMisc via install.packages("RcmdrMisc").
>> >>
>> >> Finally, you're using an old version of R. You might try installing
>> >> the current version, which is 3.6.2. Then install the Rcmdr package
>> >> by install.packages("Rcmdr").
>> >>
>> >> I hope this helps,
>> >> John
>> >>
>> >> -----------------------------------------------------------------
>> >> John Fox
>> >> Professor Emeritus
>> >> McMaster University
>> >> Hamilton, Ontario, Canada
>> >> Web: https://socialsciences.mcmaster.ca/jfox/
>> >>
>> >>
>> >>
>> >>> -----Original Message-----
>> >>> From: R-help <[hidden email]> On Behalf Of tzahaf
>> >>> Sent: Monday, January 6, 2020 8:16 AM
>> >>> To: [hidden email]
>> >>> Subject: [R] issue with Rcmdr
>> >>>
>> >>> Dear
>> >>>
>> >>> I have a problem when trying to use Rcmdr.  This is the msg I
>> >> receive:
>> >>>
>> >>>
>> >>> package ‘Rcmdr’ successfully unpacked and MD5 sums checked
>> >>>
>> >>> The downloaded binary packages are in
>> >>>
>> >>>
>> C:\Users\toufiz00\AppData\Local\Temp\RtmpgXuxDP\downloaded_packages
>> >>>> local({pkg <- select.list(sort(.packages(all.available =
>> >>>> TRUE)),graphics=TRUE)
>> >>> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
>> >>> Loading required package: RcmdrMisc
>> >>> Error: package or namespace load failed for ‘RcmdrMisc’ in
>> >> rbind(info,
>> >>> getNamespaceInfo(env, "S3methods")):
>> >>>  number of columns of matrices must match (see arg 2)
>> >>> Error: package ‘RcmdrMisc’ could not be loaded
>> >>>>
>> >>>
>> >>> I am running R 3.5.3 on WIN 10
>> >>>
>> >>> thanks for your help
>> >>>
>> >>> Best
>> >>>
>> >>> Toufik
>> >>>
>> >>> ______________________________________________
>> >>> [hidden email] 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.
>> >> ______________________________________________
>> >> [hidden email] 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.
>> >
>> > --
>> > Sent from my phone. Please excuse my brevity.

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: issue with Rcmdr

tzahaf-2
In reply to this post by David Winsemius
Dear David

I have updated R version (3.6.2) as suggested by John and now Rcmdr
works :-)

Thanks again for your time and great help

Best regards

Toufik
On 06.01.2020 17:31, David Winsemius wrote:

> On 1/6/20 5:16 AM, tzahaf wrote:
>> Dear
>>
>> I have a problem when trying to use Rcmdr.  This is the msg I receive:
>>
>>
>> package ‘Rcmdr’ successfully unpacked and MD5 sums checked
>>
>> The downloaded binary packages are in
>> C:\Users\toufiz00\AppData\Local\Temp\RtmpgXuxDP\downloaded_packages
>>> local({pkg <- select.list(sort(.packages(all.available =
>>> TRUE)),graphics=TRUE)
>> + if(nchar(pkg)) library(pkg, character.only=TRUE)})
>> Loading required package: RcmdrMisc
>> Error: package or namespace load failed for ‘RcmdrMisc’ in rbind(info,
>> getNamespaceInfo(env, "S3methods")):
>>  number of columns of matrices must match (see arg 2)
>> Error: package ‘RcmdrMisc’ could not be loaded
>>>
>
> Do you have RcmdrMisc installed? You can answer that question by
> running this in your R console window:
>
>
> grep("RcmdrMisc", installed.packages()[,1])
>
>
> If you get, as I did since I do not use Rcmdr,  this result:
> integer(0), then it means you have not yet installed the package and
> you should now run:
>
>
> install.packages("RcmdrMisc", dependencies=TRUE)
>
>
> Best;
>
> David.
>
>>
>> I am running R 3.5.3 on WIN 10
>>
>> thanks for your help
>>
>> Best
>>
>> Toufik
>>
>> ______________________________________________
>> [hidden email] 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.

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: issue with Rcmdr

Norman Matloff
In reply to this post by tzahaf-2
Glad to hear it now works for you.  But speaking more generally, note that R-squared is the squared correlation between the predicted Y and actual Y values.  E.g.

lmout <- lm(y ~ x)
print(cor(lmout$fitted.values,y)^2)

One can use this in any regression setting, even machine learning methods.

Norm

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: issue with Rcmdr

Bert Gunter-2
... and even more generally, is generally misleading. ;-)

(search "problems with R^2" or similar for why).

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, Jan 8, 2020 at 9:37 AM Norm Matloff <[hidden email]> wrote:

> Glad to hear it now works for you.  But speaking more generally, note that
> R-squared is the squared correlation between the predicted Y and actual Y
> values.  E.g.
>
> lmout <- lm(y ~ x)
> print(cor(lmout$fitted.values,y)^2)
>
> One can use this in any regression setting, even machine learning methods.
>
> Norm
>
> ______________________________________________
> [hidden email] 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]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: issue with Rcmdr

Norman Matloff
In reply to this post by tzahaf-2

> Message: 14
> Date: Wed, 8 Jan 2020 09:59:56 -0800
> From: Bert Gunter <[hidden email]>
> To: Norm Matloff <[hidden email]>
> Cc: R-help <[hidden email]>
> Subject: Re: [R] issue with Rcmdr
 
> ... and even more generally, is generally misleading. ;-)
 
> (search "problems with R^2" or similar for why).
 
> Bert Gunter

I was addressing the OP's issue of computing R^2.  Its value in analysis
is a separate question.  If one's goal is prediction, it arguably is
fairly good providing we avoid overfitting.  If our goal is inference,
R^2 still is informative, but limited.

Norm

______________________________________________
[hidden email] 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.