Displaying 20 results from an estimated 7000 matches similar to: "how to detach a library?"
2000 Nov 09
1
file processing with a FORTRAN subroutine
Dear all,
Is it possible to call a FORTRAN subroutine which does
file processing (open an input and write to an output file)
using the .Fortran command.
FYI, I am using R 1.1.1 for windows,
Thanks,
Agus
Agus Salim
PhD student
Dept. of Statistics
University College Cork
Ireland
Tel:353-21-4902197
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing
2000 Oct 20
1
How to convert .Rd format in windows
Thanks for everyone who answered my query.
I put an extra line in AUTOEXEC.BAT to specify the R_HOME variable.
And the Rdconv command works perfectly if I execute the AUTOEXEC
from DOS prompt. However, if I execute the AUTOEXEC from inside windows
system the command does not work.
Thanks,
Agus
------------------------
Agus Salim
PhD student
Dept. of Statistics
University College Cork,
Ireland
2000 Nov 08
1
Real data type in FORTRAN
Dear all,
In FORTRAN we specify real*4 data type,
what is the equivalence of this data type
in R? is it single?
Thanks,
Agus
Agus Salim
PhD student
Dept. of Statistics
University College Cork
Ireland
Tel:353-21-4902197
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2001 Aug 29
2
Missing functions in package e1071(Win*)
Hi!
After unziping the CRAN file e1071.zip
on my Win95 library directory, I start R and
type
>library(e1071)
After that, help commands of the e1071
functions work (i.e., help(read.pnm), BUT
some functions themselves are not available:
> read.pnm
Error: Object "read.pnm" not found
I've looked at the file library/R/e1071 with
an ascii editor and it seems like the functions
2003 Feb 21
1
require vs library
There seems to be a widespread assumption that the way for package foo to
require package bar is via `require(bar)'. It isn't!
That returns a logical which is in the vast majority of cases unchecked.
So if the package is really required, the code will fail without a warning
if the package is unavailable. You may as well call library() and let it
do the checking. (In a few cases you
2004 Feb 08
1
APE: compar.gee( )
Dear all,
I don't understand the following behaviour: Running compar.gee (in
library ape ) with and without the option 'data', it give me different
results
Example:
.... Start R ....
> load("eiber.RData")
> ls()
[1] "gee.na" "mydata" "mytree"
> library(ape)
> # runnig with the option data= mydata
> compar.gee(alt ~ R,
2003 Apr 22
2
Handling of upper/lowercase in package names (PR#2816)
Hi,
This is (presumably?) a bug in R 1.7.0 under Windows. I have not tested it
on other systems. Attachment of packages is case sensitive but not
library(), resulting in multiple loadings of the same package if the library
name is spelled differently. The following example loads the `tools'
package, once as `tools' and once as `Tools'. This behavior is the same with
all packages and
2000 Sep 19
4
methods for interval-censored data
Dear all,
Are there functions or packages in R that can handle interval-censored
data? I have looked in various packages (such as survival5 or event), but
it seems that only right-censored data can be analysed.
More generally, are there methods to analyse both interval-censored
observations and right-censored observations in the same data set?
Thanks in advance.
Emmanuel Paradis
2001 Mar 29
1
Detaching "ctest"
Hi Everyone,
We have just upgraded to R-1.2.1, and I note, in contrast to R-1.1.1, that
ctest is now loaded automatically. The mechanism for this is to create a
.First function in base:
.First <- function() {
require("ctest", quietly=TRUE)
}
Now I don't want ctest, but I find that simply putting
if (length(grep("ctest", search())))
detach(package:ctest)
into
2000 Jun 02
1
problem loading packages (PR#559)
Dear R team,
I had a strange problem that appeared suddenly, and which I'd like to
to mention in case it is of interest (although I suspect that I
may have unwittingly done something dumb: if so please accept my apology)
> library(ctest) ## or any package other than "oz" that I tried
Error in as.character(table) : Object ".Dyn.libs" not found
> traceback()
[1]
2000 Jun 19
1
Using --R CMD build-- command under windows
Dear all,
I want to know if there is an equivalence command for
R CMD build under windows? if there isn't such a thing?
how could I make a release file (.tar.gz file) using
windows OS?
Thanks,
Agus
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2002 Feb 22
2
R gnome and lda: found the difference
Saving lda.default as text files from within gui="none" and from within
gui="gnome"
and comparing afterwards with diff, I get:
alobo at humboldt:> diff lda.default.gnome.txt lda.default.nognome.txt
1c1
< function (x, grouping, prior = proportions, tol = 1, method =
c("moment",
---
> function (x, grouping, prior = proportions, tol = 1e-04, method =
2004 Mar 16
2
Documentation on how to put classes and methods in packages with namespace?
Documentation on how to put classes and methods in packages with namespace?
How should I define my classes and methods in "dynamicGraph"???
(That is - Can some one point me to the documentation on
how to put classes and methods in packages with a namespace? )
Currently it is done by the code below.
This gives problems, when a workspace with a "dynmaicGraph" is
2003 Sep 30
2
dump/source problem with hclust object (PR#4361)
library(mva)
data(USArrests)
hc <- hclust(dist(USArrests), "ave")
plot(hc) # OK
dump(c("hc"), "tst")
rm(hc)
source("tst")
plot(hc) # Error in plot.hclust(hc) : invalid dendrogram input
The same problem occurs with dput/dget
--please do not edit the information below--
Version:
platform =
2002 Jun 28
1
package `methods' has persistent effects even if detached (PR#1715)
This came from an error in reg-tests-1.R
> x <- as.data.frame(x=I("C"))[[1]]
> class(x)
[1] "AsIs"
> library(methods)
> detach("package:methods")
> search()
[1] ".GlobalEnv" "package:ctest" "Autoloads" "package:base"
> x <- as.data.frame(x=I("C"))[[1]]
> class(x)
[1] "AsIs"
2000 Jun 03
1
.rpm (splines, ctest) install problem - LinuxPPC
On a PMac 7200 (running LinuxPPC 3Q 99), trying to install
"R-ctest-0.9.R16-1.ppc.rpm" and "R-splines-2.0.R3-3.ppc.rpm" rpms currently
in the linuxppc binary download directory results in error messages saying
that files in these rpms conflict with files from R-base 1.01-1.
Of course, "R-rpart" and "R-survival4" then also can't be installed because
the
2008 Nov 28
1
confidence interval for glm
Hi all,
simple Q:
how do I extract the upper and lower CI for predicted probabilities
directly for a glm - I'm sure there's a one line to do it but I can't find
it.
the predicted values I get with the predict (.. "response")
Thanks
Gerard
**********************************************************************************
The information transmitted is intended only for
2001 Sep 27
1
list of all objects - just being curious
Hello all,
to obtain a list of all objects in all search paths, I've found the
following to work:
> biglist <- sapply(1:length(search()), objects)
This more obvious one, however, does not work:
> biglist <- sapply(search(), objects)
Error in pos.to.env(pos) : invalid argument
Still, search() gives
[1] ".GlobalEnv" "package:ctest" "Autoloads"
2003 Jun 12
3
defaults in R: packages, .Rhistory
With the current version (rw1070), every time I start R it loads a whole
bunch of packages, many of which I do not need in a typical session:
> search()
[1] ".GlobalEnv" "package:methods" "package:ctest" "package:mva"
[5] "package:modreg" "package:nls" "package:ts" "Autoloads"
[9]
2008 Dec 22
2
queue simulation
Hi all,
I have a multiple queing situation I'd like to simulate to get some idea of
the distributions - waiting times and allocations etc.
Does R has a package available for this - many years ago there used to be a
language called "simscript" for discrete event simulation and I was
wondering if R has an equivalent (or hopefully with graphics, something
better!).
Apologies if there