Displaying 20 results from an estimated 4000 matches similar to: "Install package "diagram""
2017 Sep 20
2
Install the Package "ISwR"
Dear All: good morning
I am trying to install the "" package, but I am getting this error message.
*> utils:::menuInstallPkgs()*
*Warning in install.packages(NULL, .libPaths()[1L], dependencies = NA, type
= type) :*
* 'lib = "C:/Program Files/R/R-3.4.1/library"' is not writable*
*Error in install.packages(NULL, .libPaths()[1L], dependencies = NA, type =
type) : *
2017 Sep 20
0
Install the Package "ISwR"
What if you answer 'Yes' ?
On Wed, Sep 20, 2017 at 1:03 PM, AbouEl-Makarim Aboueissa <
abouelmakarim1962 at gmail.com> wrote:
> Dear All: good morning
>
> I am trying to install the "" package, but I am getting this error message.
>
>
> *> utils:::menuInstallPkgs()*
> *Warning in install.packages(NULL, .libPaths()[1L], dependencies = NA, type
>
2017 Aug 16
0
Fwd: Install package "diagram"
Dear All:
When I selected "yes" to the question Question: "would you like to use a
personal library instead?", it works
thanks any way
abou
---------- Forwarded message ----------
From: AbouEl-Makarim Aboueissa <abouelmakarim1962 at gmail.com>
Date: Wed, Aug 16, 2017 at 11:58 AM
Subject: Install package "diagram"
To: r-help at r-project.org
Dear All:
I am
2017 Sep 12
2
Load R data files
Dear All:
It was saved, but there was a space somewhere. So it works for me now.
I do have another similar problem.
I saved an R data file
save(datahs0csv,file="
F:\Fall_2017\5-STA574\2-Notes\1-R\1-R_new\chapter4-Entering_Data/datahs0csv2
.rda")
*The new R data file "*datahs0csv2.rda*" is in the directory.*
I tried to load the file "" to R, but I got an error
2017 Sep 12
3
Load R data files
Dear All:
I am trying to load an R data set, but I got the following message. Please
see below. The file is there.
setwd("F:/Fall_2017/5-STA574/2-Notes/1-R/1-R_new/chapter4-Entering_Data")
datahs0csv <- read.table("hs0.csv", header=T, sep=",")
attach(datahs0csv)
detach(datahs0csv)
rm(list=ls())
Then I tried to reload the data, but I got this error message. I
2017 Dec 17
4
Auto Data in the ISLR Package
myAuto <- Auto[ grep("ford|toyota",Auto$name),]
On Sat, Dec 16, 2017 at 10:28 PM, Bert Gunter <bgunter.4567 at gmail.com>
wrote:
> I did not care to load the packages -- small reproducible examples are
> preferable, as the posting guide suggests.
>
> But, if I have understood correctly:
>
> See, e.g. ?subset
>
> Alternatively, you can read up on
2017 Sep 24
3
Shift the normal curve to the top or near to the top of the histogram
Dear All:
One more thing.
I want to add the normal curve to the histogram. Is there away to stretch
the peak of the curve to the top of the histogram or at least near to the
top of the histogram.
Please see the code below.
Lizard.tail.lengths <- c(6.2, 6.6, 7.1, 7.4, 7.6, 7.9, 8, 8.3, 8.4, 8.5,
8.6,8.8, 8.8, 9.1, 9.2, 9.4, 9.4, 9.7, 9.9, 10.2, 10.4, 10.8,11.3, 11.9)
x<-seq(5,12, 0.001)
2017 Sep 12
0
Load R data files
The object you load has the same name as the object you saved. In this case
datahs0csv and not the name of the file sans .rda
On Di., 12. Sep. 2017, 21:26 AbouEl-Makarim Aboueissa <
abouelmakarim1962 at gmail.com> wrote:
> Dear All:
>
>
> It was saved, but there was a space somewhere. So it works for me now.
>
> I do have another similar problem.
>
> I saved an R
2017 Dec 17
1
Auto Data in the ISLR Package
myAuto <- Auto[ grep("ford|toyota",Auto$name),]
myAuto$Make <- NA
myAuto$Make[grep("ford",myAuto$name)] <- "Ford"
myAuto$Make[grep("toyota",myAuto$name)] <- "Toyota"
Regards,
Eric
On Sun, Dec 17, 2017 at 11:58 AM, AbouEl-Makarim Aboueissa <
abouelmakarim1962 at gmail.com> wrote:
> Dear Eric:
>
> Thank you very much.
2017 Sep 19
3
Graph f(x) = 1/x
Dear All: good morning
I am trying to graph the function y=f(x)=1/x over the interval (-5,5). But
I am getting an error message. Please see below.
I am getting the error message: *Error in xy.coords(x, y, xlabel, ylabel,
log) : *
* 'x' and 'y' lengths differ*
x
x <- seq(-5, 5, 0.01)
y < 1/x
plot(x,y, type='l', xlim=c(-5, 5), ylim=c(-5, 5), xlab = "x",
2017 Dec 29
2
Draw Overlapping Circles with shaded tracks
Dear All:
I am wondering if there is a way in R to draw these two circles with shaded
tracks in both circles using R, and make both circles uncovered. I am
trying to make it in MS words, but I could not. Your help will be highly
appreciated.
In my previous post I added the image of the two circles, but the post
never published. I just thought to resent the post again without the image.
with
2017 Dec 17
0
Auto Data in the ISLR Package
Dear Eric:
Thank you very much. It works nicely.
*Just one more thing;* how to create a new variable (say, *Make*) with *Make
= Ford* for the ford brand and *Make = T**oyota* for the toyota brand.
Once again thank you all.
abou
______________________
*AbouEl-Makarim Aboueissa, PhD*
*Professor of Statistics*
*Department of Mathematics and Statistics*
*University of Southern Maine*
On
2017 Dec 16
2
Auto Data in the ISLR Package
Dear All:
I would like to create a subset data set *with only* all Ford and all
Toyota cars from the Auto data set in ISLR R Package. Thank you very much
in advance.
Please use the following code to see how is the data look like.
install.packages("ISLR")
library(ISLR)
data(Auto)
head(Auto)
with many thanks
abou
______________________
*AbouEl-Makarim Aboueissa, PhD*
*Professor
2017 Sep 25
0
Shift the normal curve to the top or near to the top of the histogram
Hi Abou,
Try this:
library(plotrix)
curve(rescale(dnorm(x
,mean=mean(Lizard.tail.lengths),sd=sd(Lizard.tail.lengths)),
c(0,6)),add=TRUE, col=2, lwd = 2)
Jim
On Mon, Sep 25, 2017 at 9:35 AM, AbouEl-Makarim Aboueissa
<abouelmakarim1962 at gmail.com> wrote:
> Dear All:
>
> One more thing.
>
> I want to add the normal curve to the histogram. Is there away to stretch
> the
2017 Sep 12
0
Load R data files
Hi Abou,
You haven't saved the datahs0csv.
When you are done manipulating datahs0csv you can use save(datahs0csv, file
= 'datahs0csv.rda'). Then you should be able to load the data.
HTH
Ulrik
On Tue, 12 Sep 2017, 20:46 AbouEl-Makarim Aboueissa <
abouelmakarim1962 at gmail.com> wrote:
> Dear All:
>
> I am trying to load an R data set, but I got the following message.
2018 Jan 10
1
svm --- type~.
Dear All: Just fixed where is the problem
I am trying to use the R function "svm" with "type~." , but I got the
following error message
SVM.Model1 <- svm(type ~ ., data=my.data.x1x2y, *type='C-classification'*,
kernel='linear',scale=FALSE)
*Error in eval(predvars, data, env) : object 'type' not found*
I am wondering if I should install a
2017 Dec 31
2
Draw Overlapping Circles with shaded tracks
That code nees the plotrix package:
library(plotrix)
pdf("circles.pdf")
plot(0:10,type="n",axes=FALSE,xlab="",ylab="")
draw.circle(4,5,radius=3,border="#ff0000aa",lwd=10)
draw.circle(6,5,radius=3,border="#0000ffaa",lwd=10)
dev.off()
On Friday, December 29, 2017, 6:06:32 PM EST, Jim Lemon <drjimlemon at gmail.com> wrote:
2017 Dec 29
0
Draw Overlapping Circles with shaded tracks
Hi Abou,
Without an illustration it's hard to work out what you want. here is a
simple example of two circles using semi-transparency. Is this any
help?
pdf("circles.pdf")
plot(0:10,type="n",axes=FALSE,xlab="",ylab="")
draw.circle(4,5,radius=3,border="#ff0000aa",lwd=10)
draw.circle(6,5,radius=3,border="#0000ffaa",lwd=10)
dev.off()
2017 Dec 16
0
Auto Data in the ISLR Package
I did not care to load the packages -- small reproducible examples are
preferable, as the posting guide suggests.
But, if I have understood correctly:
See, e.g. ?subset
Alternatively, you can read up on indexing data frames in any good basic R
tutorial.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
--
2018 Jan 10
1
svm
Dear All:
I am trying to use the R function "svm" with "type =C-classification" ,
but I got the following error message
SVM.Model1 <- svm(type ~ ., data=my.data.x1x2y, *type='C-classification'*,
kernel='linear',scale=FALSE)
*Error in eval(predvars, data, env) : object 'type' not found*
I am wondering if I should install a specific R