Displaying 20 results from an estimated 10000 matches similar to: "Error when library() called with no arguments (PR#1215)"
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
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
2001 May 24
1
Problem with hist(x, prob=T) (PR#947)
Full_Name: Roger Peng
Version: 1.2.3
OS: Linux
Submission from: (NULL) (128.97.86.109)
In R version 1.2.3, the hist command does not respond to the probability=TRUE
parameter. So
hist(x, probability=FALSE)
and
hist(x, probability=TRUE)
produce the same (graphical) output.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
2007 May 04
1
Display list redraw incomplete
Since compiling R 2.5.0 from source on my Mac (PowerBook) I've noticed
some strange behavior when plotting. I'm not sure if it's a problem
with my setup/compilation because I feel like a problem as basic as
this one would have been reported already. I'm running R with X11 and
R was built with gcc 4.0.1.
Basically, I run
> plot(0, 0)
> dev.off()
X11
4
Warning message:
2004 Jun 23
1
problem with tilde expansion in install.packages
In R 1.9.0 on Solaris/Sparc when I run, for example,
install.packages("gregmisc", "~/R-local/lib"), instead of installing
the `gregmisc' package in the directory
/users/student/rpeng/R-local/lib the package gets installed in
/users/student/rpeng/\~/R-local/lib, so the directory \~ is created in
my home directory. This doesn't happen to me on Linux or Windows so I
2005 Sep 20
2
Error report upon using the help.search( ) command (PR#8144)
Full_Name: P?l Trosvik
Version: 2.0.1
OS: Windows XP
Submission from: (NULL) (129.240.91.220)
Hi
Upon entering the command: help.search("linear") .I get the following error
report:
Error in rbind(...) : number of columns of matrices must match (see arg 8)
I get the same error message whichever search term I enter between the quotation
marks. This function was working fine just a few
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
2007 Apr 13
1
directory/filename completion
I've noticed something recently in R-beta that has changed since R 2.4.1
and I'm not sure if it's a readline problem or an R problem. I am on a
Linux FC5 system and in R 2.4.1 I could do
load("my-directory/
and then hit TAB and it would list all of the files in 'my-directory',
after which I could start typing the beginning of the file, hit TAB
again, and it would
2004 Nov 11
5
expressions and paste
I have written a function to plot data which will be used for various different chemistries.
A simplified version is:
plot_data <- function(risk,levels,chem,sd2,measure){
plot(risk, levels,main=paste ("per", sd2, measure, "\n in usual", chem))
}
The problem is with the title.
This works fine if the variable "chem" is just text, but if it is an expression then
2005 Dec 21
1
random output with sub(fixed = TRUE)
I've noticed what I think is curious behavior in using 'sub(fixed = TRUE)' and
was wondering if my expectation is incorrect. Here is one example:
v <- paste(0:10, "asdf", sep = ".")
sub(".asdf", "", v, fixed = TRUE)
The results I get are
> sub(".asdf", "", v, fixed = TRUE)
[1] "0"
2007 Nov 14
1
isOpen on closed connections
As far as I can tell, 'isOpen' cannot return FALSE in the case when 'rw = ""'.
If the connection has already been closed by 'close' or some other function,
then isOpen will produce an error. The problem is that when isOpen calls
'getConnection', the connection cannot be found and 'getConnection' produces an
error. The check to see if it is
2004 Mar 12
1
Re: [R] No traceback available when using try(...) (PR#6669)
On Fri, 12 Mar 2004 11:44:14 -0500, "Roger D. Peng" <rpeng@jhsph.edu>
wrote :
>Funny, it works for me on R-patched
>
> > f <- function(a) { return(log(a)) }
> > f("A")
>Error in log(x) : Non-numeric argument to mathematical function
> > traceback()
>2: log(a)
>1: f("A")
> > try(f("A"))
>Error in log(x) :
2003 Jan 08
0
New package: gpclib
I have just uploaded a package to CRAN called `gpclib' for clipping large
and complex polygons. This package provides an R interface to Alan
Murta's very fast General Polygon Clipper library (written in C), which
has an optimized version of the Vatti algorithm. Not all features of
Murta's library are implemented -- right now you can do intersections,
differences, and unions. There
2003 Jan 08
0
New package: gpclib
I have just uploaded a package to CRAN called `gpclib' for clipping large
and complex polygons. This package provides an R interface to Alan
Murta's very fast General Polygon Clipper library (written in C), which
has an optimized version of the Vatti algorithm. Not all features of
Murta's library are implemented -- right now you can do intersections,
differences, and unions. There
2008 Mar 18
4
cut.Date and cut.POSIXt problem
cut.Date and cut.POSIXt indicate that the breaks argument
can be an integer followed by a space followed by "year", etc.
but it seems the integer is ignored.
For example, I assume that breaks = "3 months" is supposed
to cut it into quarters but, in fact, it cuts it into months as if
3 had not been there.
> d <- seq(Sys.Date(), length = 12, by = "month")
>
2005 Nov 20
1
mapply() gives seg fault (PR#8332)
--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Hi, people. Wandering in R archives, and seeing the message attached
below, I noticed that:
mapply(rep,times=1:4, MoreArgs=42)
still segfaults on R 2.2.0, and thought I should be a good citizen and
report it, even if I do not have an actual problem
2002 Dec 30
2
Writing packages with `methods' package
I'm trying to write a package which uses classes/methods as defined in the
`methods' package. I have a single .R file which defines the class and
various methods for that class. At the top of the file I have
require(methods)
and then
setClass("myclass", ...)
setGeneric("intersect")
setMethod("intersect", "myclass", function(x,y) ...)
I noticed
2008 Aug 06
1
Weibull Likelihod function.
Is there a likelihod function for the Weibull distribution in 'R'? I found the following reference:
http://www.weibull.com/LifeDataWeb/weibull_log_likelihood_functions_and_their_partials.htm
But I had a hard time understanding the parameters required Particularly 'number of groups of times-to-failure data points", "number of groups of suspension data points", and
2008 Aug 07
1
Fitted values with small weights in lm.wfit (PR#11979)
Full_Name: Alexander Blocker
Version: 2.7.1
OS: Ubuntu 8.04 / Windows XP
Submission from: (NULL) (76.119.235.225)
When running lm(modeleq, weights=wt, data=dataset) with small weights (<1e-10),
I have encountered an odd phenomenon with fitted values. Due to numerical
precision issues, the fitted values and residuals returned by lm.wfit (from its
.Fortran call to dqrls) can differ greatly from
2003 Jan 16
7
X11 device now needs to be explicitly started?
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 6.2
year 2003
month 01
day 10
language R
>
Until this version, I've not had to explicitly start the x11 device.
Now,