Displaying 20 results from an estimated 10000 matches similar to: "bug (PR#13570)"
2009 Jan 03
1
Bug report in foreign library (PR#13425)
here appears to be a bug in the foreign library.  The following code used to
work, but now generates an error when 'package="SAS"' is specified:
ds <- read.csv("http://www.math.smith.edu/sasr/datasets/help.csv")
# running foreign package version 0.8-30
library(foreign)
# this works fine
write.foreign(ds, "foo", "bar", package="Stata")
#
2009 Feb 25
2
Fontconfig warning with X11() on MAC OS X 10.4
I posted previously about problems with X11() on my MAC using R 2.8.1 . 
After installing the securilty update for Tiger this morning, X11() now
works from an xterm :-)
However, I receive the following warnings with any plotting command using
the default X11 settings.
Fontconfig warning: no <cachedir> elements found. Check configuration.
Fontconfig warning: adding
2009 Mar 26
1
Console colors do not stick (PR#13625)
Full_Name: Sean Laverty
Version: R version 2.8.1 (2008-12-22)
OS: os x 10.5.6
Submission from: (NULL) (155.101.41.13)
In the console colors window, colors do not stick when palettes are closed.  All
custom colors are replaced by blue.  I've tried all palettes - crayons, sliders,
wheel, spectrum.
"R.bug.report" 30L, 582C[2;1H<<insert bug report here>>[6;1H--please do
2009 Feb 05
2
Unexpected mfrow, layout behavior (pdf still has multiple pages)
My goal is to create a graph with one column and three rows into a
single graphic. The mfrow, mfcol, and layout functions all have the
same effect: three graphs are produced in a single pdf file, having
one graph per page.  This is not what I want (I didn't want multiple
pages).  Just before I sent this post, I was able to generate the
desired output with split.screen.  Is this the expected
2009 Jun 30
1
possible agrep bug; R 2.9.1, Mac OS X 10.5 (PR#13789)
Same behavior was noted on R 2.9.0 OS X and WIndows.
> t(sapply(seq(0.01, .99, length=20), function(x) c(x, length(agrep("Staatssekretar im Bundeskanzleramt","Bundeskanzler",max.distance=x)))))
 [1,] 0.01000000    0
 [2,] 0.06157895    0
 [3,] 0.11315789    0
 [4,] 0.16473684    0
 [5,] 0.21631579    0
 [6,] 0.26789474    0
 [7,] 0.31947368    0
 [8,] 0.37105263    0
 [9,]
2009 Aug 03
3
session logging
Consider all the text that one sees on the console during an R session.
Is there a way, within R, to make all this text--both the "output" and the "messages"--automatically get copied to a single text file, in addition to seeing it on the console?
If I remember to save the console to a file at the end of my R session, that does it. But
(1) That requires pointing and
2009 Aug 10
4
Saving plots to file
Appologies if this has been addressed before, but I can't seem to find it in
the help archives.
I'm looking to do something like the following but it looks like save.plot
is deprecated.
save.plot(plot(glm1$residuals,gain,main = "Hist of residuals and
gain"),file="Desktop/hist1.png")
Thanks in advance,
Sean
Session Info:
R version 2.9.1 (2009-06-26)
2009 Feb 04
2
Capturing all warnings (with messages)
Dear all,
For an open-source project that I'm working on (1), which uses R for  
all its heavy lifting but includes a wrapper shell script, I was  
hoping to find a way to capture all warnings (and, in fact, errors  
too), and handle them in my own way. I realise I can do this for a  
single expression using something like:
 > f <- function(w) print(w$message)
 >
2010 Jan 19
1
Help on using WinBUGS on Mac
Dear all,
I had trouble in setting up WinBUGS on my Mac, and I'm seeking for some help 
here. 
I followed the instruction by Tom Palmer here: 
http://www.ruudwetzels.com/MacBUGS/winbugsonmacosx.pdf
I installed Darwine 1.1.21, and downloaded WinBUGS14. However, when I 
double-clicked the WinBUGS14.exe file, a black-box dialog window poped up, 
and I got error message in the Wine log as
2009 Sep 16
3
apply function across two variables by mult factors
Greetings,
I am attempting to run a function, which produces a vector and  
requires two input variables, across two nested factor levels.  I can  
do this using by(X, list(factor1, factor2), function), however I  
haven't found a simple way to extract the list output into an  
organized vector form.  I can do this using nested loops but it isn't  
exactly an optimal approach.
Thank you
2009 May 05
2
Way to handle variable length and numbers of columns using read.table(...)
I've got read.table to successfully read in my table of three columns.  Most of the time I will have a set number of rows, but sometime that will be variable and sometimes there will be only be two variables in one row, e.g. 
Time Loc1 Loc2
1 22.33 44.55
2 66.77 88.99
3 222.33344.55
4 66.77 88.99
Is there any way to have read.table handle (1) a variable number of rows, and (2) sometime there
2009 Apr 22
1
Clarification for options(OutDec)
The documentation for the OutDec option says that it should be a
'one-character string'; yet, if I try a unicode character, it doesn't seem
to work.  Are unicode chars not counted as one-character?
This is within the mac GUI, but I also see this on linux boxes.
> x <- '\u00B7'
> nchar(x)
[1] 1
> options(OutDec=x)
Error in options(OutDec = x) : invalid value for
2009 Oct 30
1
bug in `pmatch' (error with too long 'choices')?
I observed the following:
match.arg("white", colors()) 
yields 'white', but
match.arg("whit", colors())
yields:
`Error in match.arg("whit", colors()) : 
  'arg' should be one of "white", "aliceblue", '...
this message actually comes from `pmatch'. using a suitable subset of
`colors()' works OK. the precise length
2009 Oct 28
1
'R CMD check' fails with "evaluation nested too deeply: infinite recursion"
I get the error
Error : evaluation nested too deeply: infinite recursion / options(expressions=)?
during a 'R CMD check ...'
on one of my packages. The reason seems to be that this package is
mutually dependent on another one (i.e. the DESCRIPTION files of package
A lists package B under "Depends" and vice versa). this might be bad
design (having bits in both packages needed
2009 Dec 07
1
rgl keyboard shortcut for translation on Mac?
Hello Everyone.
I?m on a Mac, using rgl.  Thanks to all the developers and maintainers on
it!
If I drag the mouse, I can rotate the view, if I hold down the option key or
the ctrl key and drag, I get scaling (though at times I seem to alter the
perspective?).  Adding the shift key doesn't seem to modify anything.
So, what I can't find is a key combination that translates the object. 
2009 Oct 25
1
Segfault reporting: memory not mapped error
Is this the right place to report segfaults?
spc$ R CMD BATCH driver.q rOut.txt
spc$ tail -16 rOut.txt /Library/Frameworks/R.framework/Resources/bin/BATCH:
line 60:  5461 Segmentation fault      ${R_HOME}/bin/R -f ${in} ${opts}
${R_BATCH_OPTIONS} > ${out} 2>&1
 *** caught segfault ***
address 0x3f095116, cause 'memory not mapped'
Traceback:
 1: .Call("La_dgesv", a,
2009 Jun 03
2
Problems with plot and Quartz device (PR#13744)
Full_Name: Thomas Richardson
Version: R 2.9.0 GUI 1.28 Tiger build 32-bit (5395)
OS: 10.4.11
Submission from: (NULL) (216.254.15.72)
I have encountered a problem with points in scatterplots disappearing in a
quartz window when it is re-sized (to make it larger).
I am constructing an 8x12 matrix of scatterplots each containing approx 600
points.
In order to get them in the window I remove the
2008 Oct 16
1
packages in Depends field and NAMESPACES
Must packages in the Depends field of the DESCRIPTION file have
NAMESPACES?  I haven't seen this explicitly indicated anywhere.
I am writing a small package and find that when I add the abind
package to the list of the Depends field, I get an error in
R CMD check of the build.
* checking package name space information ... OK
* checking package dependencies ... ERROR
Packages required but not
2009 Oct 22
1
help sub setting data frame
Hi,
I'm running into a problem subsetting a data frame that I have never
encountered before:
> dim(chkPd)
[1] 3213    6
> df = head(chkPd)
> df
               PN        WB      Sire     Dam   MG SEX
601      1001  715349   61710   61702   67    F
969  1001_1  511092 616253 615037 168    F
986  1002_1  511082 616253 623905 168    F
667      1003  715617   61817   61441   67    F
2009 Jul 09
1
Bug in package.skeleton, R 2.9.0?
Dear all,
I am using package.skeleton to build a small packages of misc function  
for personal use. I have recently discovered that the option  
force=TRUE doesn't seem to do what is meant to do. Here's what I'm  
doing:
 > setwd("/Users/danielk/Documents/R/packages/dk")
 > files <- paste("codebase", dir("codebase", pattern=".R"),