A follow up on the actions taken.
1) In R >= 2.7.0 whether Sweave() inserts
\usepackage{/full/path/to/Sweave}
is controlled by the environment variable SWEAVE_STYLEPATH_DEFAULT which
sets the default for RweaveLatex's 'stylepath' argument. So setting
SWEAVE_STYLEPATH_DEFAULT=FALSE inserts jus
Hi the devel list
I am testing package.skeleton in R 2.7 (download today). I get an error
that I do not understand. I guess it is not an error from my code since
I have no probleme when I source it. So is it a error in
package.skeleton?
Here is my code :
--- 8< -- File essai.r --
Hi again
I get an other error on an other file. More precisely,
package.skeleton("kmt2",code_files=c("function.r","partition.r","longData.r","imputation.r","clusterization.r"))
I put 5 files in code_files, everything seems to work fine, the
directory "kmt2" is created, but I get an message :
Seems to be an R bug in evaluating the source code in your file.
As the message says, something is trying to evaluate the "list" argument
to package.skeleton. My guess is that it's the unfortunate choice of
"list" as an argument name interacting with your use of list() in the
code in essai.r
Well, the workaround does not help much. The source files will be
copied to the new package, but they are not evaluated (because
package.skeleton requires list= to be missing). Therefore you won't
have the documentation files reflecting the contents of essai.r
So, for the moment, this just se
Providing a default argument list=character() seems to fix
package.skeleton for this example. Should be in the next version of R
2.7 beta.
Regarding your other example. This looks more like a real error in your
code.
Error in le > 0 : comparaison (6) possible seulement pour les types
list
> However, try this example with the corrected package.skeleton() as well.
I did, it is working
Thanks
Christophe
>
>
> John Chambers wrote:
>> Well, the workaround does not help much. The source files will be
>> copied to the new package, but they are not evaluated (because
>> package.skele
First, sorry for the delayed reply.
You were right matprod will do exactly what I want. Thanks. On another
point, are you aware about a BLAS routine to test for semi-definite
positive matrix ? This is required for my loglikelihood and thus should
return -\infty if not.
Best,
Mathieu
Prof Bri
Hello there,
I got a small problem about logical calculation:
we can get a sequene from a+b as below:
> a<-c(1,2)
> b<-c(3,4)
> a+b
[1] 4 6
but when the sequences are logical. (I want to get (True,False) && (True,
True) ==> (True, False), but when I do as below.
> e<-c(T,T)
> f
Hi, R team.
I'm trying to build a dll from a c program to be invoked within R using
the .C() functionality.
Everything works like a charm on my Linux (Centos 5) (also 2.6.2) machines---
but under windows (Vista Ultimate) upon running (in either the windows 'Cmd'
command window or a Bash window
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Hi all,
I wanted to set up my first (private) R-package and wondered
if there was a function to prompt() for multiple aliases in one Rd-file,
e.g. to create something like the normal distribution manual page
encompassing rnorm, dnorm,...
As I didn'
Full_Name: Yasuhiro Nakajima
Version: 2.6.1
OS: WinXP SP2
Submission from: (NULL) (202.237.255.13)
Dear all,
I noticed the following behaviour of ci.plot in HH Package(ver.2.1-9):
> library(HH)
> data(women, package="datasets")
> attach(women)
> ft <- lm(height~weight)
> windows()
> ci.plot(ft,
12 matches
Mail list logo