Displaying 20 results from an estimated 3000 matches similar to: "can't get text to appear over individual panels in multi-panel plot"
2003 Apr 11
1
lattice bug? (PR#2765)
I've been experimenting with the lattice graphics in chapter 3 of MASS. The
code to produce figure 3.14 is:
data(crabs)
library(mva)
lcrabs.pc <- predict(princomp(log(crabs[,4:8])))
crabs.grp <- c("B", "b", "O", "o")[rep(1:4, rep(50,4))]
splom( ~lcrabs.pc[, 1:3], groups = crabs.grp,
panel = panel.superpose,
key = list(text =
2006 Aug 02
1
Support vector in lcrabs example
Can anyone explain the root of my problem?
When I type the following code into R, I receive 42 support
vectors insted of the 21 stated in the book 'Modern Applied
Statistics with S':
library(MASS);
library(e1071);
library(class);
lcrabs <- log(crabs[,4:8]);
(svm(crabs$sp ~ ., data = lcrabs, cost = 100, gamma = 1));
By changing the value of gamma I can obtain only 21 support vectors,
2003 Jun 10
1
SOM random seed
Hi all,
I have a question about the SOM routine. You can either supply the
initial representatives for the lattice yourself or else they are
chosen randomly from the dataset. Is it possible to pass the
random-seed as an argument somehow, when choosing the random
initialisation of the lattice?
As it is now, each time I run a SOM on a dataset with the same settings
the resulting SOM will still
2000 Mar 08
3
Reading data for discriminant analysis
Dear R users,
I want to do discriminant analysis on my data. I have
successfully followed the discriminant analysis in V & R on
the iris data:
> ir <- rbind (iris3[,,1],iris3[,,2],iris3[,,3])
> ir.species <- c(rep("s",50),rep("c",50),rep("v",50))
> a <- lda(log(ir),ir.species)
> a$svd^2/sum(a$svd^2)
[1] 0.996498601 0.003501399
> a.x <-
2018 Feb 20
3
JGR not installed. Attempting to install from CRAN...
Loris, thank you thank you so much!!!
do you know which CRAN mirror i select? There are loads - all related to various countries..
so appreciate the help
Jenny
Jenny Coetzee (PhD Candidate)
Head of Prevention in Key Populations & Head of the Soweto Sex Worker Project
Perinatal HIV Research Unit (PHRU)
New Nurses Home
Chris Hani Baragwanath Academic Hospital
Soweto
B: +27 11 989 9821
M:
2018 Jan 12
0
R minor version
> .expand_R_libs_env_var("poof/%p/%v")
[1] "poof/x86_64-w64-mingw32/3.4"
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Jan 12, 2018 at 4:49 AM, Loris Bennett <loris.bennett at fu-berlin.de>
wrote:
> Hi,
>
> When I install a package as a non-root user, it gets saved in a path
> such as
>
> ~/R/x86_64-unknown-linux-gnu-library/3.4
>
2009 Jan 09
1
[R 2.8.1 on AIX 5.3] WARNING: tiffio.h: present but cannot be (PR#13440)
Dear r-bugs,
With
AIX 5.3
and
OBJECT_MODE=64
CC="xlc -q64"
CXX="g++ -maix64"
and
./configure --without-iconv --enable-R-shlib
the following warning occurs:
configure: WARNING: tiffio.h: present but cannot be compiled
configure: WARNING: tiffio.h: check for missing prerequisite
headers?
2018 Feb 20
0
JGR not installed. Attempting to install from CRAN...
Hi Jenny,
Jenny Coetzee <coetzeeJ at phru.co.za> writes:
> Hello
>
> I am new to R, and am running a programme called RDS Analyst which
> uses R. When trying to open RDS i am getting the following message:
> JGR not installed. Attempting to install from CRAN?
>
> I am not sure if the issue is a Java one or an R one?
>
> I am working off a Mac using High Sierra
2018 Jan 12
2
R minor version
Hi,
When I install a package as a non-root user, it gets saved in a path
such as
~/R/x86_64-unknown-linux-gnu-library/3.4
for any R version 3.4.x. Thus, if I want to install the packages
somewhere else, as root say, I might do
install.packages("somepackage","/some/where/else/R/site-library/3.4")
In this case I would then want to construct the appropriate path in,
say,
2017 Nov 23
0
libPaths displays truncated path?
> On Nov 23, 2017, at 4:34 AM, Loris Bennett <loris.bennett at fu-berlin.de> wrote:
>
> Hi,
>
> TL;DR
> -----
>
> I define the path
>
> /cm/shared/apps/R/site-library/3.4.2
>
> and add it to libPath. Why does libPath then display it as
>
> /cm/shared/apps/R/site-library/3.4
>
> ?
>
Because it is a symbolic link.
2018 Feb 16
0
error in loading rgdal package
Hi Lily,
lily li <chocold12 at gmail.com> writes:
> Hi R users,
>
> Could you help me to see this problem? I could now load "rgdal" even though
> I downloaded the compressed folder. Thanks for your help.
>
> Loading required package: sp
> Error in dyn.load(file, DLLpath = DLLpath, ...) :
> unable to load shared object
>
2017 Nov 23
0
libPaths displays truncated path?
> On Nov 23, 2017, at 4:34 AM, Loris Bennett <loris.bennett at fu-berlin.de> wrote:
>
> Hi,
>
> TL;DR
> -----
>
> I define the path
>
> /cm/shared/apps/R/site-library/3.4.2
>
> and add it to libPath. Why does libPath then display it as
>
> /cm/shared/apps/R/site-library/3.4
Generally one only has a different library for each major
2018 Feb 20
0
JGR not installed. Attempting to install from CRAN...
Hi Jenny,
Jenny Coetzee <coetzeeJ at phru.co.za> writes:
> Loris, thank you thank you so much!!!
>
> do you know which CRAN mirror i select? There are loads - all related to various countries..
>
> so appreciate the help
It shouldn't really matter, although I'd choose one that is
geographically close. Occasionally there can be problems with HTTP
vs. HTTPS, which
2018 Feb 20
1
JGR not installed. Attempting to install from CRAN...
thanks Loris
you are bering so helpful!
So, i have done what you explained, but the RDS package that runs ?using or through? R is now just closing each time i open it. I have googled and seen that i need to to the following:
Tips: The recent updates to the Apple Mac OS (Sierra and High Sierra) have reorganized the ways apps, like RDS Analyst, work. So sometimes RDS Analyst will not be
2018 Feb 14
2
long vectors not supported yet
Hi,
I am running R 3.3.3 and getting the following error:
Error in add_edges(res, edges = t(as.matrix(el[, 1:2])), attr = weight) :
long vectors not supported yet: ../../src/include/Rinlinedfuns.h:138
when passing a 13 GB TransitionLayer object to shortestPath from the
package 'gdistance'.
The error, albeit in a different context, is discussed here:
2017 Nov 23
5
libPaths displays truncated path?
Hi,
TL;DR
-----
I define the path
/cm/shared/apps/R/site-library/3.4.2
and add it to libPath. Why does libPath then display it as
/cm/shared/apps/R/site-library/3.4
?
Long version
------------
I run a cluster of diskless nodes for which the OS is loaded
directly into RAM and other software is provided by an NFS server.
However, in the case of R, we use the R version provided
2008 Jun 11
3
Finding Coordinate of Max/Min Value in a Data Frame
Hi,
Suppose I have the following data frame.
__BEGIN__
> library(MASS)
> data(crabs)
> crab.pca <- prcomp(crabs[,4:8],retx=TRUE)
> crab.pca$rotation
PC1 PC2 PC3 PC4 PC5
FL 0.2889810 0.3232500 -0.5071698 0.7342907 0.1248816
RW 0.1972824 0.8647159 0.4141356 -0.1483092 -0.1408623
CL 0.5993986 -0.1982263 -0.1753299 -0.1435941 -0.7416656
CW
2011 Nov 28
2
Retain parts of a matrix
Hi all,
I'm working to apply a function that will generate a matrix of results only
when a specific criteria is met.
I want my final results to be a matrix with both the values that meet the
criteria (the results of the function), and those that to do in the same
positions in the matrix (the original numbers).
Here's a sample of what I would like to do:
t.mean.1.c <- c(-15, -20,
2007 Apr 28
3
Dovecot and horde issues
Hello,
First time poster to this list, please be kind.
I am having difficulties trying to get the current stable version of
horde's imp webmail to work correctly using dovecot 1.0rc15. I am
using a pre-release version of SME Server 8 which runs on top of
CentOS 5. I have also tried using the 1.0 release of dovecot as well.
What is happenning is that when I login to imp, I don't
2008 Jan 27
3
need help opening a file
Hi, I can't believe I am unable to do this. I just installed R (never used
it before, but want to learn it). At present, though. all I want to do is
export a data file (specifically "crabs" in the MASS library) to a text file
for use in SPSS. It allows me to peek into the dataset, using the command
head(crabs) but I can neither view the entire file nor can I seem to export
it to a