Displaying 20 results from an estimated 200 matches similar to: "heplot3d / rgl : example causes R GUI to crash"
2006 Dec 11
2
updating rgl on debian stable
Running: R Version 2.3.1 (2006-06-01), debian stable
I'm testing an application that uses rgl (installed with apt-get install
r-cran-rgl)
but fails, at least partly because that application uses a more current
version.
There is also a mysterious error msg from Xlib:
> library(car)
> library(rgl)
> iris.mod <- lm(cbind(Sepal.Length, Sepal.Width, Petal.Length,
Petal.Width) ~
2010 Jul 29
0
[R-pkgs] heplots 0.9-3 and candisc 0.5-18 released to CRAN
I've just released the latest R-Forge versions of heplots 0.9-3 and
candisc 0.5-18 to CRAN.
They should appear there within a day or two.
== heplots
The heplots package provides functions for visualizing hypothesis tests
in multivariate linear models (MANOVA, multivariate multiple regression,
MANCOVA, etc.). They
represent sums-of-squares-and-products matrices for linear hypotheses
and for
2008 Oct 05
1
building packages: "R Help for package foo" vs. "HTML Help"?
In building a package, what are the settings in the package files or the
build commands that
determine whether the compiled HTML help windows have the window title
"R Help for package foo" vs. "HTML Help"?
I often have quite a few help files active, and it is much more
convenient to navigate among
them if the window has an informative title.
If this is simple to test for in
2007 Aug 28
0
help with aggregate(): tables of means for terms in an mlm
I'm trying to extend some work in the car and heplots packages
that requires getting a table of multivariate means for one
(or later, more) terms in an mlm object. I can do this for
concrete examples, using aggregate(), but can't figure out how to
generalize it. I want to return a result that has the factor-level
combinations as rownames, and the means as the body of the table
2012 May 10
2
setting global options for a package
This may be elementary, but I can't find an answer: How can I set up
global options for
some specific arguments to functions in a package which can be easily
changed by the user?
This question relates to the selection of colors used in functions in
several packages (heplots,
genridge), where I want to provide reasonable default values for plots,
but allow users to
change those defaults
2008 Dec 10
1
trouble loading candisc
Hello,
I am having trouble loading the package candisc onto my R distribution. I am
using 2.7.1-2. I do a "> install.packages("candisc"
and get the following output.
Warning in install.packages("candisc") :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk
2007 Sep 12
0
constructing an lm() formula in a function
I'm working on some functions for generalized canonical discriminant
analysis in conjunction with the heplots package. I've written a
candisc.mlm function that takes an mlm object and computes a
candisc object containing canonical scores, coeficients, etc.
But I'm stumped on how to construct a mlm for the canonical scores,
in a function using the *same* right-hand-side of the model
2006 Nov 21
4
means over factors in mlm terms
I'm trying to write a function to find the means over factors of the
responses in a mlm (something I would do easily in SAS with PROC SUMMARY).
The not-working stub of a function to do what I want is below,
and my problem is that I don't know how to call aggregate (or
some other function) in the context of terms in a linear model
extracted from a lm/mlm object.
means.mlm <-
2008 Oct 29
2
sessionInfo() error
[Using R 2.7.2 on Windows XP]
After re-building our heplots package, I've begun to get the following
error from sessionInfo(),
even though it passes R CMD check and builds without errors:
> sessionInfo()
Error in x$Priority : $ operator is invalid for atomic vectors
In addition: Warning message:
In FUN(c("MASS", "heplots", "car", "rgl",
2008 Nov 17
1
CITATION file with multiple citEntry(): no BibTeX produced by citation()
[Using R 2.8.0 / Win XP / ]
I just added a CITATION file to the heplots package--- appended below.
From the document ion for ?CITATION, there can be *one or more* calls to
citEntry() within the CITATION file, and each should produce an object
of class "citation".
With just a single citEntry(), citation produces the expected output,
with BibTeX entry:
>
2012 Jun 06
1
stumped on re-building package vignette
[Env: Win Xp / StatET 2.0 / R 2.15.0]
In my heplots package I extended the HE-examples.Rnw vignette under
inst/doc. The package passes R CMD check
on my machine:
* using log directory 'C:/eclipse-3.7/heplots.Rcheck'
* using R version 2.15.0 (2012-03-30)
* using platform: i386-pc-mingw32 (32-bit)
...
* checking sizes of PDF files under 'inst/doc' ... OK
* checking installed files
2009 Apr 11
1
Error in R CMD check 2.8.1
Env: R 2.8.1, Win Xp, Eclipse/StatET
In a .Rd file, I have an example containing the lines:
# calculate Y M, using polynomial contrasts
trends <- as.matrix(VocabGrowth) %*% poly(8:11, degree=3)
colnames(trends)<- c("Linear", "Quad", "Cubic")
[At the risk of a long message, I'll append the complete .Rd file at the
end of this message, in case this was
2013 Mar 29
3
weird error with a lazyload .RData file in a package
I added a new data file, NLSY.RData, to a package that uses LazyData: Yes
It passed R CRAN check and R CMD install worked w/o significant complaints.
* installing to library 'C:/R/R-2.15.2/library'
* installing *source* package 'heplots' ...
** R
** data
** moving datasets to lazyload DB
** demo
** inst
** preparing package for lazy loading
Warning: package 'nnet' was
2012 May 03
1
bwplot: using a numeric variable to position boxplots
[Env: R 2.14.2 / Win Xp]
In the examples below, I'm using lattice::bwplot to plot boxplots of 4
variables, grouped by a factor 'epoch'
which also corresponds to a numeric year. I'd like to modify the plots
to position the boxplots according to
the numeric value of year, but I can't figure out how to do this.
Also, I'd to modify the strip labels that give the variable
2013 Jan 16
1
Declaring/importing non-exported functions [car] in another package
A new function in my heplots package wants to use a non-exported utility
function in the car package,
df.terms, but this depends on other non-exported functions.
From the Writing R extensions manual, I thought I could do this via (in
my NAMESPACE)
importFrom(car, car:::df.terms, car:::df.terms.default, car:::is.aliased)
but I get:
** preparing package for lazy loading
Error : objects
2013 Apr 21
2
vignettes: problems with PDF compaction
[Env: OS: Win Xp; R 2.15.2; IDE: eclipse/StatET]
Each time I update my heplots package, I get warnings from R CMD check
on R-Forge,
* checking sizes of PDF files under ?inst/doc? ... WARNING
?gs+qpdf? made some significant size reductions:
compacted ?HE-examples.pdf? from 739Kb to 366Kb
and upon submission to CRAN, a message from maintainers:
On CRAN now: but again there were warnings
2011 Apr 13
3
latex, eps graphics and transparent colors
I have a diagram to be included in latex, where all my figures are .eps
graphics (so pdflatex is not an
option) and I want to achieve something
like the following: three concentric filled circles varying in lightness
or saturation. It is easiest to do this using
transparency, but in my test using the postscript driver, the
transparent color fills do not appear. Is it
correct that postscript()
2011 Aug 09
1
rgl how to plot a cylinder like arrow3d?
Dear List,
I'm trying to draw vector in XYZ with rgl under use of a cylinder3d.
Therefore I scale and rotate a basis-cylinder).
However, somehow the rotation is wrong as
verified by overplotting arrow3d().
Where is my mistake?
library(heplots)
library(rgl)
# ... 2 vectors
data=data.frame(row.names=c('X','Y','Z'), x1=c(2,1,5),y=c(4,3,2))
2013 Oct 25
2
R CMD check problem with R 3.0.2
Using SUSE Linux, Windows 32 bit and Windows 64 bit R 3.0.2 , I am unable
to use R CMD check successfully. Here is the Windows 64 bit report:
Z:\R\source\effects>R CMD check pkg
* using log directory 'Z:/R/source/effects/pkg.Rcheck'
* using R version 3.0.2 (2013-09-25)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file
2010 Aug 10
1
influence measures for multivariate linear models
Barrett & Ling, JASA, 1992, v.87(417), pp184-191 define general classes
of influence measures for multivariate
regression models, including analogs of Cook's D, Andrews & Pregibon
COVRATIO, etc. As in univariate
response models, these are based on leverage and residuals based on
omitting one (or more) observations at
a time and refitting, although, in the univariate case, the