Displaying 20 results from an estimated 10000 matches similar to: "how to get a numeric vector?"
2018 Jan 14
1
SpreadLevelPlot for more than one factor
Dear Ashim,
I?ll address your questions briefly but they?re really not appropriate for
this list, which is for questions about using R, not general statistical
questions.
(1) The relevant distribution is within cells of the wool x tension
cross-classification because it?s the deviations from the cell means that
are supposed to be normally distributed with equal variance. In the
warpbreaks data
2018 Apr 27
0
Package 'data.table' in version R-3.5.0 not successfully being installed
Akhilesh,
I don't know if I am adding signal or noise here, but I installed R 3.5.0 yesterday and installed data.table just fine, but I have Rtools installed. "Building packages from source" may sound intimidating, but Rtools is really easy to install and once installed, it does all the work for you.
Thanks,
Roger
-----Original Message-----
From: R-help [mailto:r-help-bounces
2018 Apr 27
2
Package 'data.table' in version R-3.5.0 not successfully being installed
Dear Akhilesh,
I hope that it's clear that the Windows binary I provided for the data.table package is a temporary solution, and that the maintainer should fix the package so that it passes its own tests. You should be careful using the package in its current state.
Best,
John
> -----Original Message-----
> From: Akhilesh Singh [mailto:akhileshsingh.igkv at gmail.com]
> Sent:
2018 Jan 09
0
SpreadLevelPlot for more than one factor
Dear Sir,
Many thanks for your reply.
I have a query.
I have a whole set of distributions which should be made normal /
homoscedastic. Take for instance the warpbreaks data set.
We have the following boxplots for the warpbreaks dataset:
a. boxplot(breaks ~ wool)
b. boxplot(breaks ~ tension)
c. boxplot(breaks ~ interaction(wool,tension))
d. boxplot(breaks ~ wool @ each level of tension)
e.
2023 Mar 13
1
tcl tk: set the position button
Dear Rodrigo,
Try tkwm.geometry(win1, "-0+0"), which should position win1 at the top
right.
I hope this helps,
John
--
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
web: https://socialsciences.mcmaster.ca/jfox/
On 2023-03-12 8:41 p.m., Rodrigo Badilla wrote:
> Hi all,
> I am using tcltk2 library to show buttons and messages. Everything
> work
2020 Jun 07
0
use of the tcltk package crashes R 4.0.1 for Windows
Not happening on Mac, so likely a Windows build issue.
(There's no 4.0.1 CRAN package yet, and no nightly build of 4.0.1 Patched, but the only thing changed in the sources since r78644 is the VERSION file.)
-pd
> On 7 Jun 2020, at 03:13 , Fox, John <jfox at mcmaster.ca> wrote:
>
> Hi,
>
> The following code, from the examples in ?TkWidgets , immediately crashes R
2018 Apr 26
3
Package 'data.table' in version R-3.5.0 not successfully being installed
Dear A.K. Singh,
As you discovered, the data.table package has an error under R 3.5.0 that prevents CRAN from distributing a Windows binary for the package. The reason that you weren't able to install the package from source is apparently that you haven't installed the R package-building tools for Windows. See <https://cran.r-project.org/bin/windows/Rtools/>.
Because a number of
2020 Jun 07
1
use of the tcltk package crashes R 4.0.1 for Windows
John,
The Windows installation instructions document has the following. So, one obvious question is whether you did select it. (I haven't installed on WIndows for ages, so I don't know whether this was changed recently or even whether the selection is on or off by default).
-pd
Using package tcltk
===================
The package tcltk supports building graphical interfaces with Tcl/Tk.
2018 Feb 14
0
Parallel assignments and goto
Dear Thomas,
This looks like a really interesting project, and I don't think that anyone responded to your message, though I may be mistaken.
I took at a look at implementing parallel assignment, and came up with:
passign <- function(..., envir=parent.frame()){
exprs <- list(...)
vars <- names(exprs)
exprs <- lapply(exprs, FUN=eval, envir=envir)
for (i in
2018 Jan 07
2
SpreadLevelPlot for more than one factor
Dear Ashim,
Try spreadLevelPlot(breaks ~ interaction(tension, wool), data=warpbreaks) .
I hope this helps,
John
-----------------------------
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
Web: socialsciences.mcmaster.ca/jfox/
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Ashim
> Kapoor
> Sent:
2023 Feb 22
1
MFA variables graph, filtered by separate.analyses
Dear gavin,
I think that it's likely that Jim meant the hetcor() function in the
polycor package.
Best,
John
--
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
web: https://socialsciences.mcmaster.ca/jfox/
On 2023-02-21 5:42 p.m., gavin duley wrote:
> Hi Jim,
>
> On Tue, 21 Feb 2023 at 22:17, Jim Lemon <drjimlemon at gmail.com> wrote:
>>
2018 Jan 15
0
About levene.test
Dear Mariano,
See the function leveneTest() in the car package.
I hope that this helps,
John
-----------------------------
John Fox, Professor Emeritus
McMaster University
Hamilton, Ontario, Canada
Web: socialsciences.mcmaster.ca/jfox/
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Marcelo
> Mariano Silva
> Sent: Monday, January
2018 Feb 26
0
questions about performing Robust multiple regression using bootstrap
Dear Faiz,
Bootstrapping R^2 using Boot() is straightforward: Simply write a function that returns R^2, possibly in a vector with the regression coefficients, and use it as the f argument to Boot(). That will get you, e.g., bootstrapped confidence intervals for R^2. (Why you want that is another question.) See the example in ?Boot that shows how to bootstrap the estimated error variance (without
2020 Oct 04
0
how to get a numeric vector?
Always hard to tell if THIS is a homework project. As with most things in R,
if you can not find at least a dozen ways to do it, it is not worth doing.
The question (way below) was how to take two vectors of length two and make
a longer results based on using the ":" operator to generate a range between
the first element of each array and then between the second elements and
return the
2018 Apr 26
0
Package 'data.table' in version R-3.5.0 not successfully being installed
On 26/04/2018 1:54 PM, Akhilesh Singh wrote:
> My thanks to Dr. John Fox and Dr. Duncan Murdoch. But, I have upgraded
> all my R-3.4.3 libraries to R-3.5.0, and I have not backed-up copies of
> old version. So, I would give a try each to the solutions suggested by
> John Fox and Dengan Murdoch.
Here is some unsolicited advice: I would strongly recommend that you
make it a higher
2018 Apr 26
2
Package 'data.table' in version R-3.5.0 not successfully being installed
My thanks to Dr. John Fox and Dr. Duncan Murdoch. But, I have upgraded all
my R-3.4.3 libraries to R-3.5.0, and I have not backed-up copies of old
version. So, I would give a try each to the solutions suggested by John Fox
and Dengan Murdoch.
With regards,
Dr. A.K. Singh
On Thu 26 Apr, 2018, 9:44 PM Duncan Murdoch, <murdoch.duncan at gmail.com>
wrote:
> On 26/04/2018 10:33 AM, Fox,
2018 Apr 26
0
Package 'data.table' in version R-3.5.0 not successfully being installed
If you're installing packages to the default location in your home
account and you didn't remove those library folders, you still have
you R 3.4 package installs there, e.g.
> dir(dirname(.libPaths()[1]), full.names = TRUE)
[1] "/home/hb/R/x86_64-pc-linux-gnu-library/3.4"
[2] "/home/hb/R/x86_64-pc-linux-gnu-library/3.5"
[3]
2020 Jun 07
7
use of the tcltk package crashes R 4.0.1 for Windows
Hi,
The following code, from the examples in ?TkWidgets , immediately crashes R 4.0.1 for Windows:
--------------------- snip --------------------
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,
2018 Apr 26
2
Package 'data.table' in version R-3.5.0 not successfully being installed
You are right. I do take backups. But, this time I was too sure that
nothing will go wrong. But, this was over-confidence. I need to take more
care in future. Thanks anyway.
With regards,
Dr. A.K. Singh
On Thu 26 Apr, 2018, 11:49 PM Duncan Murdoch, <murdoch.duncan at gmail.com>
wrote:
> On 26/04/2018 1:54 PM, Akhilesh Singh wrote:
> > My thanks to Dr. John Fox and Dr. Duncan
2018 Apr 27
0
Package 'data.table' in version R-3.5.0 not successfully being installed
Hmm, looks like that thread has more noise than signal...
AFAICT, data.table currently fails selftests i 3.5.0 on all platforms on the CRAN builders, so RTools issues are only incidental and it would be better to fix data.table in the sources.
From the looks of it, I wouldn't be surprised if the root cause is the changes to POSIXlt methods in 3.5.0, but I haven't actually been digging