Displaying 20 results from an estimated 600 matches similar to: "installing tree pkg on linux"
2008 Apr 14
1
clean-up actions after non-local exits
Dear R-devel,
Some time ago I started a thread that boiled down to clean-up actions after non-local exits in R, see below. I wonder if there has been any progress on this? R-ext 2.6.1 doesn't say much on the subject.
How, for example, do people deal with a situation where their C (C++) function opens a file and then receives a signal or longjump-s on error(), how do they make sure the
2004 Oct 15
2
tree version 1.0-16
Hi
There is something weird going on with the "tree" package version
1.0-16.
So I want to download an updated tree package. I found that R website
has version 1.0-18. I want to try this one and see how the tree
algorithm is performing.
What is the best way to download tree package version 1.0-18 which can
be found in index of src/contrib at www.r-project.org?
So far I tried two different
2007 Apr 19
1
Innstalling packages in Vista
Hi
I am having problems innstalling new packages in R on my vista system.
The error message was
Error in zip.unpack(pkg, tmpDir) : cannot open file 'C:/Program
Files/R/R-2.4.1/library/file195610e4/tree/chtml/tree.chm
When I tried to find a solution to the problem it became clear to me that
I was not the only one having the same problem. I tried deleting the
file from the .zip file and
2012 May 16
1
TukeyHSD plot error
Hi, I am seeking help with an error when running the example from R
Documentation for TukeyHSD. The error occurs with any example I run, from
any text book or website. thank you...
> plot(TukeyHSD(fm1, "tension")).
Error in plot(confint(as.glht(x)), ylim = c(0.5, n.contrasts + 0.5), ...) :
error in evaluating the argument 'x' in selecting a method for function
2001 Jul 17
3
variable number of variables in data frames
I would like to specify that certain columns in a data frame should be
treated as ordered factors. I know what numbers these columns are, but
not their names.
How do I do this?
For example, if I know columns 1:4 are to be treated as factors, I can
write
dat <- matrix(c(2,1,1,1, 1,1,1,1), 2, 4)
D <- as.data.frame(dat)
# force all variables to be treated as binary
# regardless of the small
2008 Feb 01
6
Accessing the elements of a list
Hi R,
I wanted to know how do we access the elements of a list. In particular,
v=list(c(1,2,3,4,5),c(1,2,33,4,5),c(1,2,333,4,5),c(1,2,3333,4,5))
I want to access all the thirds items of the elements of the list. i.e.,
I want to access the elements, 3,33,333,3333. This can be done through
sapply as:
sapply(v,function(x) x[3])
But I need to access this without using
2001 Jul 13
0
ordered factors in tree package - bug? (PR#1025)
I am new to R, and didn't know which list to send this to, since it is a
bug report about a package, not about core R...
I have created a regression tree using 4 predictors: 3 are unordered
(binary) predictors, and the last is a date (integer), which I declare
to be an ordered factor. However, the tree treats the date as if it were
un-ordered, splitting into non-consecutive subsets.
My code
2011 Mar 25
0
testing presence of pdflatex in R CMD check
The nodes of our cluster do not have pdflatex installed. When
running R CMD check there on a package with no errors in documentation,
then R-2.13.0-alpha and R-2.12.2 report a possible error in Rd files,
while R-2.11.1 did not. The platform is 64 bit CentOS.
The output of
R CMD check tree_1.0-28.tar.gz
under the above three versions of R contains the following.
R-2.11.1
stderr
sh:
2001 Jul 26
0
tree and rpart
There have been various messages about packages tree and rpart whilst
I have been travelling, and I have now prepared updates.
tree
====
Tree is one of the oldest packages on CRAN (Feb 2000 apart from adding
the maintainer field), and I had been hoping that it would fade away
in favour of rpart.
1) sys.parent needed to be replaced by parent.frame in all but the
most recent R (post 1.3.0).
2001 Mar 06
3
Bootstrapping on R
Does R have a bootstrap command like SPlus, or do we have to form our
own code if we want to do bootstrapping in R?
Jason Parcon
Western Michigan University
e-mail addresses: s0parcon at wmich.edu
parcon at stat.wmich.edu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2001 Jul 13
0
ordered factors in tree package - bug?
I am new to R, and didn't know which list to send this to, since it is a
bug report about a package, not about core R...
I have created a regression tree using 4 predictors: 3 are unordered
(binary) predictors, and the last is a date (integer), which I declare
to be an ordered factor. However, the tree treats the date as if it were
un-ordered, splitting into non-consecutive subsets.
My code
2001 Jul 20
1
frames and formulas
I can build a tree at the command line using
tr <- tree(V4 ~ ., dat)
but I don't know how to build one inside a function - the following does
not work
foo <- function(dummy) {
tr <- tree(V4 ~ ., dummy)
}
tr2 <- foo(dat)
and produces the error
Error in model.frame.default(formula = V4 ~ ., data = dummy) :
Object "dummy" not found
I know the solution has
2004 Aug 04
1
installing package with version number using namespaces & dynamic library
Hi,
I wonder whether a package with namespace & dynamic library can be installed
with the version number attached, ie. with the argument --with-package-versions.
Is this currently possible?
Using R 1.9.1 on Debian 3.0 I encounter a problem when trying to load a package
installed with
R91 CMD INSTALL --with-package-versions -l /mnt/local/R/R-1.9.x-libs-EpiR RIO
in R started with
R91
2003 Aug 07
5
gregmisc
Hi
How do I install "gregmisc" packages?
I did-
% sudo R
> install.packages("gregmisc")
.
.
> barplot2()
but,
Error: couldn't find function "barplot2"
--
atuya
Mac OSX 10.2.6
R 1.7.1
2002 May 24
0
2.2.4 and XP Pro
I have Samba 2.2.4 running on RedHat 7.3 and I am trying to connect a
Win XP Pro laptop to it. I installed the latest (as of today) registry
fix on the laptop, but when I browse to the samba server in network
neighborhood, I get the message:
\\Localhost
<file:///\\Localhost%20is%20not%20accessible.%20You%20might%20not%20have
2008 Feb 20
0
New Package 'JM' for the Joint Modelling of Longitudinal and Survival Data
Dear R-users,
I'd like to announce the release of the new package JM (JM_0.1-0
available from CRAN) for the joint modelling of longitudinal and
time-to-event data.
The package has a single model-fitting function called jointModel(),
which accepts as main arguments a linear mixed effects object fit
returned by function lme() of package nlme, and a survival object fit
returned by either
2008 Feb 20
0
New Package 'JM' for the Joint Modelling of Longitudinal and Survival Data
Dear R-users,
I'd like to announce the release of the new package JM (JM_0.1-0
available from CRAN) for the joint modelling of longitudinal and
time-to-event data.
The package has a single model-fitting function called jointModel(),
which accepts as main arguments a linear mixed effects object fit
returned by function lme() of package nlme, and a survival object fit
returned by either
2004 Feb 05
2
I am totally lost on how to install R . . .
First . . . SUBSCRIBE (I want to subscribe to the list).
Second, I am trying to install R on windows XP. In looking at the
instruction manual I get the following:
The simplest way is to use 'rw1081.exe' or 'miniR.exe'. Just
double-click on the icon
and follow the instructions. If you installed R this way you can
uninstall it from the Control Panel.
How do I get the
1998 Jan 19
2
R-beta: updating the library index / overriding compile options
Would it be possible to include a new command in the ${RHOME}/etc path, which
updates the Library index (Rd and html) via "R LIBINDEX".
I need it because I use RPM to manage three different R installations (at home,
at the institute and in the seminar rooms). I put all libraries into several
packages, so it is easy for me to update a single library at all these
different places.
But
2004 May 19
3
Accessing more than 2GB memory in Windows
Greetings,
Can anyone confirm that R can access more than 2GB
of virtual memory on Windows? We are in the process
of porting a memory-hungry routine from Linux.
We are using R 1.8.1 on Windows 2000 Advanced Server;
we've set the 3GB switch in boot.ini, and rebooted
twice. We have run editbin against Rgui.exe ad Rterm.exe
and confirmed the header settings with dumpbin.exe.
We are invoking R