Displaying 20 results from an estimated 4000 matches similar to: "as.character on OS X tiger"
2005 Aug 19
3
rsync anomalies (OS X Tiger)
Tiger's rsync anomalies
I'm trying to sort out some anomalies using rsync locally. Booted to
Volumes/LaCie_Disk_A I create a full direct clone with:
sudo asr -erase -source /Volumes/Mirrored_HD_Set -target
/Volumes/LaCie_Disk_B
then boot to it and check it out. Then booted back to Mirrored_HD_Set
I do a little other work (i.e. some files are changed). Then for a
differential
2005 Oct 18
1
RMySQL problems
I get the following error trying to connect to a MySQL database:
> library(RMySQL)
Loading required package: DBI
> drv<-dbDriver("MySQL")
> con<-dbConnect(drv, user="hothand", password=xxx,
host="localhost", dbname="hh03");
Error in mysqlNewConnection(drv, ...) : RS-DBI driver: (could not
connect hothand at localhost on dbname
2006 Mar 09
1
lsa and Rstem?
Dear r-helpers,
I can't get lsa to run because:
> library(lsa)
Loading required package: Rstem
Error in library(pkg, character.only = TRUE, logical = TRUE, lib.loc
= lib.loc) :
'Rstem' is not a valid package -- installed < 2.0.0?
In addition: Warning message:
cannot create HTML package index in: make.packages.html()
> install.packages('Rstem')
Warning in
2005 Jul 19
1
S4 Dispatching
Is it possible for S4 to (continue) dispatch to a class
created during dispatching? The code below doesn't work;
is this not possible or have I ommitted something?
Concept was to create a SEXP with R_AllocatePtr, give it
a class attribute, and continue dispatch. Example code
below omits multiple parameters that can be different types.
Essentially, any parameter would be converted to an
2006 Mar 16
3
sub returns garbage (PR#8687)
Full_Name: Todd Bailey
Version: 2.1
OS: Mac OS-X 10.4.3
Submission from: (NULL) (87.112.79.124)
sub returns garbage in some strings when replacing something with nothing and
fixed=TRUE. For example:
> a=c('hello','hello'); sub('lo','',a,fixed=TRUE)
[1] "hel" "hel\0\0"
> a=c('hello','hello');
2005 Oct 26
1
Pb encountered with demos
Hi all,
I've just installed R on my Mac & PC.
The base demo run fine.. But I'm encountering several pb with some packages
(installed using CRAN binaries using the menu)
- Lattice:
> demo(lattice,package='lattice')
demo(lattice)
---- ~~~~~~~
Type <Return> to start :
> require(grid)
[1] TRUE
> old.prompt <- grid.prompt(TRUE)
> old.settings
2005 Oct 29
1
dyn.load() error: bad external relocation length
R-helpers,
Is there an easy way to call an external (C) program using .C or .Call
without including the code in a package. I know how to do it using
system(), but that doesn't seem to be a permanent or portable solution.
Initially I tried:
.Call('filepath.to.c.function', arg1)
and got this error:
Error in .Call("filepath.to.c.function", "arg1", :
2006 Apr 19
2
par(tmag) question
Dear list,
I'm trying to understand the graphical parameters by a systematic exploration
of the par() function (if you are interested by the result it's here
http://pbil.univ-lyon1.fr/R/fichestd/tdr75.pdf, the comments are all in
french but it's pure R code under Sweave).
I have a problem with par(tmag) illustrated by the following code:
2006 Feb 08
1
invalid graphics state using dev.print (fwd)
On Mon, 6 Feb 2006 18:12, Simon Urbanek wrote:
> On Feb 6, 2006, at 5:24 PM, Paul Roebuck wrote:
>
>> Tried on R-Sig-Mac with no responses, but I need some kind
>> of answer.
>> [...]
>> Does the following work on your system?
>
> Interesting, no, it doesn't either. For png and pdf I use
> Quartz + quartz.save (it produces much nicer results) so
> I
2005 May 18
1
source-only package, but still: Error: package 'simple' was built for powerpc-apple-darwin7.9.0
I have a number simple R functions written for the biologists I work
with. These functions will evolve, and the documentation will get
steadily better. I hope to put them in a package on a local
webserver, along with lots of help files, so that the users can easily
update their installation.
The functions are pure R, with no compiled code, but alias, I cannot figure out
how to build this
2003 Dec 30
1
floor of n observations in number generators
I couldnt find a previous posting on this in the archives, maybe it has
already been mentioned.
If you use a calculation to generate n observations in random number
generators and you don't round to the nearest integer you may be
generating n-1 numbers not n numbers as you thought depending on the
storage precision of the calculation.
e.g.
> m <- 1000
> pi0 <- 0.9
>
2005 Jul 13
1
unexpected par('pin') behaviour
hi everybody,
I noticed the following: in one of my scripts 'layout' is used to
generate a (approx. square) grid of variable dimensions (depending on
no. of input files). if the no. of subplots (grid cells) becomes
moderately large (say > 9) I use a construct like
###layout grid computation and set up occurs here###
...
opar <- par(no.readonly = T);
2005 May 27
0
3D density estimation with library sm - no estimate returned
Dear List,
I have been trying to use library sm to do density estimation on a 3D
dataset. I am using the current MacOS X binary of sm from CRAN. If I do
this on a 2D dataset, sm.density returns a list including the component
"estimate" which contains the density estimate over a uniform grid. When
doing this with 3D data, although I get a nice plot (even when I don't ask
for one),
2005 Jun 30
0
R-Aqua can't open history file
Dear List,
I am running R-Aqua 2.1.0 on a powerbook with Mac OS/X 10.3.9. Here is what I get when I type "version" at the R-prompt.
platform powerpc-apple-darwin7.9.0
arch powerpc
os darwin7.9.0
system powerpc, darwin7.9.0
status Patched
major 2
minor 1.0
year
2005 Sep 13
0
inconsistant decimal marker with write.table
Hi,
My problem does not happen all the time, nor with all files I save to
csv format. I can send my test file (format rda or csv) to whoever
would like to replicate (and hopefully explain) my problem.
In short, I have a dataset with mostly numerical variables. One of my
variable is called pfi2 and is definitely numerical, as shown by this:
> summary(test$pfi2)
Min. 1st Qu. Median
2006 Feb 01
1
R CMD check barfs at 'suggested' package
I have been running R CMD check for the first time on of our own
packages, which otherwise builds, installs and runs just fine. The
package depends on package akima and suggests package multtest;
suggesting multtest is indicated because a) it loads a lot of other
Bioconductor packages, very slowly, and b) it is only needed for one
specific subroutine, which executes require(multtest)
2006 May 23
2
multiple plots with par mfg
Hi,
I'm trying to add points to 2 plots on the fly using par(mfg=vector)
so switch between them. However, the appropriate scales aren't
switched when changing from one plot to another, e.g.
par(mfcol=c(2,1))
plot(1,1, col="blue") # blue plot
plot(1.2,1.2, col="red") # red plot
points(1.1,1.1) # appears to bottom left of red point
par(mfg=c(1,1)) #
2005 Apr 30
0
lmer for mixed effects modeling of a loglinear model
I have a dataset with 25 subjects and 25 items. For each subject-item
combination, there's a 0/1 score for two parts, A and B. I'm thinking
of this as a set of 2 x 2 tables, 25 x 25 of them. I'd like to fit a
log-linear model to this data to test the independence of the A and B
scores.
If I ignore the subject and item parts, the following works just fine:
glm(count ~ A * B,
2005 Aug 24
1
extra parentheses cause death of kernel (PR#8094)
I try to type quickly, and sometimes I make mistakes that cost me more
than I think they should... It appears that any time I quickly type a
sequence such as:
quartz()
I am rewarded with the following text in red:
2005-08-24 11:02:42.388 R[2198] *** -[NSCFDate characterAtIndex:]: selector not recognized
2005-08-24 11:02:42.390 R[2198] *** NSTimer discarding exception
2005 May 19
1
Problems installing wxRuby on Mac OS X 10.3.9
I tried to install wxRuby on my Mac, but I get the following error.
g++ -fno-common -g -O2
-pipe -fno-common `wx-config --cxxflags` -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin7.9.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin7.9.0 -I. -x objective-c++
-c htmleasyprinting.cpp
htmleasyprinting.cpp: In static member function `static VALUE
WxHtmlEasyPrinting::PrinterSetup(int, VALUE*,