Displaying 20 results from an estimated 7000 matches similar to: "problem with tilde expansion in install.packages"
2007 Apr 04
1
tilde expansion with install.packages
I've noticed recently that 'update.packages' and 'install.packages' seem to not
do tilde expansion anymore, i.e. when I run
update.packages("~/R-local/lib")
on R-alpha (r41043) I get the message
/home/rpeng/install/R-alpha/lib64/R/bin/INSTALL: line 304: cd: ~/R-local/lib: No
such file or directory
and the package is subsequently installed in the current working
2002 Oct 31
1
Re: gregmisc version 0.7.3 now available
Dear Greg,
Thanks for the new release. The decomposition of the SSQ is just what I need!
Regards,
Martin.
Martin Hoyle,
School of Life and Environmental Sciences,
University of Nottingham,
University Park,
Nottingham,
NG7 2RD,
UK
Webpage: http://myprofile.cos.com/martinhoyle
>>> gregory_r_warnes at groton.pfizer.com 10/30/02 07:16PM >>>
Version 0.7.3 of the gregmisc package
2003 May 22
3
How to avoid function masking
Hi All,
I've been working on updating the 'genetics' package. As a consequence of
the upgrade, .First.lib() looks like:
.First.lib <- function(libname, pkgname)
{
if (!require(combinat))
warning("Unable to load 'combinat' library. Function
`diseq.ci' will fail.")
require(gregmisc)
genotype <-
2002 Aug 23
2
try-error in batch and interactive mode (PR#1934)
I have a tiny R script performing two tasks, the first one of which may
contain error.
mammon(12)% cat z.R
version
options(show.error.messages = FALSE)
try(b <- log("foo")) ## task 1
1 + 2 ## task 2
Running in batch mode from a solaries machine, the second task never got
started; see below:
mammon(13)% R BATCH --vanilla -q z.R
mammon(14)% cat z.Rout
>
2004 May 25
3
problems with plot.formula
With the recent changes in R 1.9.x, it is now impossible to properly call
plot on a formula() where the formula is provided via a named first
argument. On today's R-1.9.1-alpha:
> x <- 1:10
> y <- rnorm(x,0.25)
>
> plot(x~y)
>
> plot(x=x~y)
Error in terms.formula(formula, data = data) :
argument is not a valid model
>
> plot(formula=x~y)
Error in
2005 May 30
3
rbind wastes memory
Hello everybody,
if I try to (r)bind a number of large dataframes I run out of memory because R
wastes memory and seems to "forget" to release memory.
For example I have 10 files. Each file contains a large dataframe "ds" (3500 cols
by 800 rows) which needs ~20 MB RAM if it is loaded as the only object.
Now I try to bind all data frames to a large one and need more than
2005 Mar 22
1
make install fails with makeinfo < 4.7
When I build R-devel (or the alpha snapshots) on a system without
makeinfo >= 4.7, I get a warning about not being able to build
HTML/Info help pages after running 'configure' (but 'make' runs
smoothly and there are no errors). However, when I run 'make install'
I get an error, something like
make[2]: Entering directory
2004 Jun 11
3
Change in grep behavior from 1.9.0 to R-patched
I've noticed a change in the way grep() behaves between the 1.9.0
release and a recent R-patched. On 1.9.0 I get the following output:
> x <- dget(file = url("http://www.biostat.jhsph.edu/~rpeng/names.R"))
> length(grep("^l\\w+tmean", x, perl = TRUE, value = TRUE))
[1] 84
And on R-patched (2004-06-11) I get
> x <- dget(file =
2005 Jul 21
3
Rprof fails in combination with RMySQL
Dear R community,
I tried to optimized my R code by using Rprof. In my R code I'm using MySQL
database connections intensively. After a bunch of queries R fails with the
following error message:
Error in .Call("RS_MySQL_newConnection", drvId, con.params, groups, PACKAGE = .MySQLPkgName) :
RS-DBI driver: (could not connect mylogin@mydatabase on dbname "myDB"
2005 Oct 24
2
Strange update behavior of gregmisc
Hello,
I notice an odd behavior of gregmisc package when using
"update.packages()" via R --no-save (as root).
Every time I launch update.packages() gregmisc is repeatedly selected
for upgrade. Current available version of gregmisc is 2.08 according
to 'installed.packages()'. Despite I obviousely have already installed
the most up to date gregmisc, gregmisc will be updated
2004 Oct 18
2
why package gregmisc did not work
Dear useR
I want to know why package gregmisc did not work very
well. I did not find this package in my library
directory.
> local({a <- CRAN.packages()
+ install.packages(select.list(a[,1],,TRUE),
.libPaths()[1], available=a, dependencies=TRUE)})
trying URL
`http://cran.r-project.org/bin/windows/contrib/2.0/PACKAGES'
Content type `text/plain; charset=iso-8859-1' length
21630 bytes
2006 Oct 17
2
CTRL-C behaviour with RODBC on Solaris2.8
After loading the RODBC package version 1.1-7, Ctrl-C changes its
behaviour and is quitting R and returning to the (unix-)command prompt
on the solaris2.8 platform here. Here's what happened before and after
loading RODBC
> for (i in 1:10^5) rnorm(10)
^C
> library(RODBC)
> for (i in 1:10^5) rnorm(10)
^C
bash-3.00$
platform sparc-sun-solaris2.8
arch
2002 Aug 19
1
install the SJava package on unix
Hi,
I've got a problem to use the SJava package with R.
I have a SUN solaris 8 machine.
Then I did R INSTALL -c SJava_0.65-0.tar.gz
without problem
Now I try the test provided on the web site:
library(SJava)
and here I receive the error message:
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
2004 May 24
1
as.matrix.data.frame() in R 1.9.0 converts to character when it should (?) convert to numeric
Conversion of a data frame to a matrix using as.matrix() when a
column of the data frame is POSIXt and all other columns are numeric
has changed in R 1.9.0 from R 1.8.1. The new behavior issues a
warning message and converts to a character matrix. In R 1.8.1, such
an object was converted to a numeric matrix.
Here is an example.
#### R 1.9.0 ####
> foo <- data.frame(
2005 Jun 07
1
update.packages keeps trying to update gregmisc
If I issue the command
> update.packages()
it wants to update 'gregmisc' but then if I do it again right afterwards it
still wants to update 'gregmisc'. It should have updated everything
the first time and should not be trying to update anything the second
time. Any comments?
Here is the transcript of a session (R version at end):
> update.packages()
gregmisc :
2011 Jan 24
2
Masking commands - Permutation in gregmisc and e1071
I am using the function permutations from the package *gregmisc*. However, I
am also making use of the package *e1071*, which also contains a function
called permutations. I want to use the function permutations from the *
gregmisc* package, however, the other package is masking this function. This
happens both when I load the *e1071* package before *gregmisc* and when I
load *e1071* after I load
2008 Jul 31
2
C versions of serialize/unserialize in packages
Are the functions 'R_Unserialize' and 'R_InitFileInPStream' allowed to
be used in R packages? I guess I'm just not clear on the implications
of this comment in 'Rinternals.h':
/* The connection interface is not yet available to packages. To
allow limited use of connection pointers this defines the opaque
pointer type. */
I have a function in the
2012 Jan 05
2
CentOS6 and tilde expansion
Set up NIS and autofs on this new CentOS6 box, but it seems tilde
expansion no longer works in bash?
[root at frodo ~]# cd ~john
-bash: cd: ~john: No such file or directory
[root at frodo ~]# cd /home/john
[root at frodo john]# pwd
/home/john
[root at frodo john]#
It still works in t/csh:
[root at frodo ~]# /bin/csh
[root at frodo ~]# cd ~john
[root at frodo ~john]# pwd
/home/john
[root at
2004 Oct 01
1
gregmisc 2.0.0 release
gregmisc 2.0.0
===========
gregmisc 2.0.0 has been released and is now available on CRAN.
Important Changes
---------------------------
- Now a package bundle
For this release, gregmisc has been split into a bundle containing 4
separate packages: gdata, gmodels, gplots and gtools. All of your favorite
functions are still present, but they are now better organized into thematic
groups,
2004 Oct 01
1
gregmisc 2.0.0 release
gregmisc 2.0.0
===========
gregmisc 2.0.0 has been released and is now available on CRAN.
Important Changes
---------------------------
- Now a package bundle
For this release, gregmisc has been split into a bundle containing 4
separate packages: gdata, gmodels, gplots and gtools. All of your favorite
functions are still present, but they are now better organized into thematic
groups,