Displaying 20 results from an estimated 4000 matches similar to: "S internal function AsciiToIn"
1999 Jan 11
0
R: Regression with t errors?
> Date: Mon, 11 Jan 1999 15:23:10 +0100
> From: Kjetil Halvorsen <khal at alumni.uv.es>
> To: "Morris, Jeffrey (JCD-RL)" <JMorris at OCDUS.JNJ.COM>
> CC: "'R-Help'" <r-help at stat.math.ethz.ch>
> Subject: [R] R: Regression with t errors?
>
> Has anybody implemented/knows about ways to do in R regression
> based on
1998 Nov 11
1
Just curiosity
Can anybody explain why
> ?function
+
+
+ )
Error: syntax error
so that
> ?"function"
is necessarty???
This seems reasonable with
?"?",
but I can not see why the "" are necessary with function
(and some other examples)
Kjetil Halvorsen
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
1999 Mar 01
1
Inconsistencies with is.function
> debug(sin)
Error in debug(sin) : argument must be a function
> is.function(sin)
[1] TRUE
> debug("[<-")
Error in debug("[<-") : argument must be a function
> is.function(get("[<-"))
[1] TRUE
>
The problem having to do with .Primitive functions. R should agree
with itself on what is a function! to work around, I used
is.Primfun <-
1998 Nov 14
2
S-Poetry in R
Kjetil Halvorsen mentioned a book call "S-Poetry in R". I checked with
amazon.com and Barnes and Noble but they don't have it listed. Can somebody
please give me the complete reference and where it can be obtained.
Suggestion: Might it be possible to put a list of the most important and
new literature about R, S, and S+ which has a direct bearing on R in the
Documentation section
1999 Mar 01
1
"xpdrows.data.frame" (PR#131)
This is a follow-up to bug sent to days ago, which bounced from r-devel
because
the example was to large. Now example is smaller, and behaviour is as
belo,
EXEPT that r-windows not any more bombs, so main problem is
"xpdrows.data.frame"???
By the way, how to debug this example under windows? debug() doesnt
accept
the functions used (.Primitive), and R wont run under gdb --- may have
2007 Jul 02
0
Branch 'as' - 4 commits - libswfdec/swfdec_as_interpret.c test/trace
libswfdec/swfdec_as_interpret.c | 51 +
test/trace/Makefile.am | 16
test/trace/chartoascii-4.swf |binary
test/trace/chartoascii-4.swf.trace | 7
test/trace/chartoascii-5.swf |binary
test/trace/chartoascii-5.swf.trace | 1011 ++++++++++++++++++++++++++++++++++++
test/trace/chartoascii-6.swf |binary
test/trace/chartoascii-6.swf.trace | 1008
2003 Oct 23
1
Re: ichar() function in R : 1st implementation, RFC
(RFC := Request For Comments)
>>>>> "Tim" == Tim Keighley <Tim.Keighley@csiro.au>
>>>>> on Thu, 23 Oct 2003 11:45:22 +1000 writes:
Tim> Hi Martin,
Tim> In October 2000 you wrote to r-help:
>>> which reminds me that I've had a desire for something like
>>> the old S function [from the blue book, and
2010 Oct 05
0
Fw: Re: R editor in ubuntu!
Hello friends,
I would like to thank you all for your advices. Rcmdr is gread.
All the best,
Mehdi
********************* Mehdi Zarrei, PhDPostdoctoral fellowUniversity of Toronto
Dept. of Ecology & Evolutionary Biology
Royal Ontario Museum
Department of Natural History
Green Plant Herbarium (TRT)
100 Queen's Park
Toronto, On., M5S 2C6, CanadaE-mail:
2001 Dec 07
2
error in parse
I am trying to source a file defining a dataset, giving the full path.
(rw1031 on windows 98)
> source("c:\\kjetil\\audiometria\\data\\audiometria.R")
Error in parse(file, n, text, prompt) : syntax error on line 6
also:
> parse(file="c:\\kjetil\\audiometria\\data\\audiometria.R", n=-1)
Error in parse(file, n, text, prompt) : syntax error on line 6
This seems very
2004 Dec 08
2
Strange error from R CMD INSTALL
I am trying to install a local package and get this unexpected
error:
---------- Making package UMSA ------------
adding build stamp to DESCRIPTION
installing R files
installing data files
installing man source files
installing indices
Error: couldn't find function "na.omit"
Execution halted
na.omit of course is in package stats, and that is listed in the
Depends field in
2005 May 28
3
Incompatibility with VGAM
I just discovered that when the VGAM package (not on CRAN) is loaded,
glm() doesn't work. This is because VGAM defines a family function()
which gets found
by glm() in place of the family function from stats.
Then VGAM:::family returns an object which doesn't have a $family
component, (it has a component
$vfamily).
I thought namespaces should protect us from this happening?
Kjetil
--
2004 Oct 04
4
Off-Topic: LaTeX package listings
Hola!
I ask here since I learnt from this list that the LaTeX package listings
should be good
for typesetting R code. I encountered one problem:
\begin{lstlisting}
X %*% V
\end{lstlisting}
in the output the * in %*% disappears! same with %/%, etc, the /
disappears.
Any ideas?
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
--
1999 Oct 18
1
reading binary file
Is there facility in R to read binary file? In Splus scan() has
'width=' argument and AsciiToInt() command to translate the
binary data. Is there something similar in R?
Thanks,
-Yudi-
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2004 Mar 09
1
bug(?) in chisq.test
This is a message for whoever maintains "chisq.test": For an
outcome more extreme than 2000 simulations, a Monte Carlo p-value of "<
2.2e-16" was printed. Ripley said the proper p-value for such cases
should be 1/(B+1) = 1/2001. This can be easily fixed by adding
"if(PVAL==0)PVAL <- 1/(B+1)" right after the following line in the code
for chisq.test (in R
2005 Mar 29
2
strange error with rw2010dev
With rw2010dev I get a strange protect(): protection stack overflow
error with a small data frame which otherwise is usable:
If anybody wants to have a look I can provide an RData file
with the problematic data frame.
Doesn't seem to be necessary, the following simulated example
generates the error:
> testmat <- matrix(1:80, 20,4)
> dim(testmat)
[1] 20 4
> str(testmat)
int
2004 Sep 24
2
rw2000dev: problems with library(foreign)
I get the following
> library(foreign)
Error in namespaceExport(ns, exports) : undefined exports: write.foreign
Error in library(foreign) : package/namespace load failed for 'foreign'
with rw2000dev as of (2004-09-17
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
-- Mahdi Elmandjra
2004 Dec 23
1
small problem with R CMD check
On trying with very smll test packages
to try drilling down to som problems earlier reported in this list,
I detected the following:
R CMD check
on a package with an R subdirectory empty, reports:
* checking R files for syntax errors ... ERROR
Syntax error in file
On removing the empty subdirectory, the
error disappears.
Kjetil
--
Kjetil Halvorsen.
Peace is the most effective weapon of
2004 Oct 29
1
as.list.matrix
I found the need of converting a matrix into a list of its columns
(for use with do.call), and was surprised there was no method
as.list.matrix, it could easily be a part of as.list default
I wrote
my.as.list.matrix <- function(mat) {
if(!is.matrix(mat))stop("Argument must be a matrix")
n <- NCOL(mat)
res <- vector(mode="list", length=n)
2004 Nov 06
3
foreign(read.spss) in rw2000 and re2001beta
I encountered something strange with read.spss (package foreign, version
0.7 with R2.0.0 and
version 0.8 with R2.0.1 beta, windows XP)
I made a test file test.sav with SPSS version 11.5.1
containing only one numeric variable, with a value label
for one value not occuring in the file. According to ?read.spss
this should result in a factor, but it results in all NA. Using the
argument
1998 Jan 23
0
S-Plus graphs to LaTeX picture commands
Well, R ( http://lib.stat.cmu.edu/R/CRAN/ )
has a pictex(..) driver.
>>>>> "kjetil" == kjetil halvorsen <kjetil@caoba.entelnet.bo> writes:
kjetil> Is there any possibility to write code which ``translates''
kjetil> from splus graphics to latex picture commands? Or somebody has
kjetil> written something like that?
kjetil> I did