Displaying 20 results from an estimated 9000 matches similar to: "tests Rin and Rout"
2008 Mar 30
2
tests Rin Rout
Hi the list,
Some rumour (!) say that is it possible to prepare some tests for 
checking our code using .Rin and .Rout. It seems to be a very good 
practice, but I did not manage to find information on it.
So does someone know how it works ? What are we suppose to write in Rin ?
More precisely :
 - I have a package myPack.r in directories ~/myR/myPack/R/
 - I create the directory
2007 Nov 22
2
Clean programming with R
Hi all
Is there any compiler for R ? By compiler, I mean something that check 
the cleanliness of the code : if we declare all the variables we use, if 
we don't use external variable from a function and so on...
For exemple, something that will ring a bell on the following code 
(saying "line 4 : 'pp' undefine in function 'power' ")
1. pp <- 3
2. power <-
2009 Jun 09
3
"R CMD check" does not find a mistake
Hi the list,
I build a package. They was a mistake in it, but R CMD check did not 
find it. Is that normal ?
Here is what Kurt gets (which is right, I did this mistake):
--- 8< ----------------
* checking for code/documentation mismatches ... WARNING
S4 class codoc mismatches from documentation object 'LongData-class':
Slots for class 'LongData'
  Code: id other time traj
2011 Sep 15
1
how to install a locally built package
Hello useRs,
I am trying to put my funcs in a package to avoid clutter in my workspace as the funcs are now in .Rprofile.
All plain R code no compilations. Using win XP with a full cygwin install and R2.12
I first did
package.skeleton("mypack",list="getdfv", namespace=T) # just a single func
which created a folder with the required stuff in it.
Calling R CMD build creates a
2008 Mar 30
1
package.skeleton.S4
Hi the devel list.
I am adapting the package.skeleton to S4 classes and methods
I would have been very proud to post a new working function on this list.
Unfortunately, I do not manage to solve all the problems. Mainly
 - sys.source does not compile a file with setClass
 - dumpMethod does not exists yet
In the following code, thise two problems are notified by a line 
#################
Still
2003 Sep 16
1
package documentation
Dear all,
I writing my first package and everything seems to work (at least up to now)
However when I try to build documentation (.dvi or .pdf), using
Rcmd Rd2dvi.sh --pdf mypack.Rd
I get a mypack.pdf whose title is
"R documentation of mypack.Rd" instead of
"The mypack package"
as it should be, is it right?
Also Version, Title, ....License,  namely info from the DESCRIPTION
2008 Mar 18
1
S4 : dumpMethod
Hi the list,
I almost finished the green book (chapter 7 and 8 on S4), this is 
probably one of my last question :-)
I hope you will not miss them to much !
Here is my today nighmare: I do not manage to use dumpMethod :
setClass("A",representation(a="numeric"))
setMethod("plot","A",function(x,y,...){cat("AAAAA\n")})
2012 Dec 21
1
Rterm does not load personal library
Greetings,
I am trying to run a short script from a shell:
c:\projects\hell>Rscript --default-packages=mypack X:/4Stephen/commit/curve.R > X:/4Stephen/commit/run1.out
Loading required package: utils
Warning message:
package 'RODBC' was built under R version 2.12.2 
Error: could not find function "normalize"
Execution halted
Warning message:
closing unused RODBC handle 1
2008 Mar 29
1
S4 : the list of all the object
Hi the list,
Is it possible to get the list of all the S4 user define classes? I 
would like to set up a "package.skeleton.S4" but for that, I need the 
list of the classes...
Thanks
Christophe
2005 Jan 04
1
Difference between "R CMD build --binary" and "R CMD INSTALL --build"
As the title suggests, when building R packages on Windows, what is the
difference between:
R CMD build --binary mypack
And 
R CMD INSTALL --build mypack
??  The former is suggested by my previous notes and seems to work, and
the latter is suggested by
http://www.biostat.jhsph.edu/~kbroman/Rintro/Rwinpack.html, and also
seems to work.
Thanks in advance
Mick
2014 Mar 19
1
Memcheck: Invalid read of size 4
Hi the list,
One of my package has a memory issue that I do not manage to understand. The Memtest notes is here:
<http://www.stats.ox.ac.uk/pub/bdr/memtests/valgrind/kml-Ex.Rout>
Here is the message that I get from Memtest
--- 8< ----------------
  ~ Fast KmL ~
==27283== Invalid read of size 4
==27283==    at 0x10C5DF28: kml1 (kml.c:183)
...
==27283==    by 0x10C5DE4F: kml1 (kml.c:151)
2009 Feb 25
4
Strange behavior of savePlot
Hi all,
I am using savePlot in a loop for saving several graph but I get some 
graph in 553x552, some other in 1920x1119. How comes ?
My data are almost all the same (same label, same xlim / ylim, almost 
same data. Only the color changes).  I save them in bmp.
Thanks for your help.
Christophe
2007 Apr 18
1
[rfc/patch] use hvc for xen console
Hi,
Here is a patch (on top of the paravirt patch queue) which makes xen
guests use the hvc_console.c infrastructure for the console, thereby
greatly reducing the amount console code.  xvc0 is gone too, hvc0 is
used instead.
cheers,
  Gerd
-- 
Gerd Hoffmann <kraxel@suse.de>
2007 Apr 18
1
[rfc/patch] use hvc for xen console
Hi,
Here is a patch (on top of the paravirt patch queue) which makes xen
guests use the hvc_console.c infrastructure for the console, thereby
greatly reducing the amount console code.  xvc0 is gone too, hvc0 is
used instead.
cheers,
  Gerd
-- 
Gerd Hoffmann <kraxel@suse.de>
2007 Apr 18
1
[rfc/patch] use hvc for xen console
Hi,
Here is a patch (on top of the paravirt patch queue) which makes xen
guests use the hvc_console.c infrastructure for the console, thereby
greatly reducing the amount console code.  xvc0 is gone too, hvc0 is
used instead.
cheers,
  Gerd
-- 
Gerd Hoffmann <kraxel@suse.de>
2012 Oct 13
2
Problem with a submission to jss
Hi the list,
I am about to submit an article describing an R package to the Journal of Statistical Software but I 
encounter a strange behavior of LaTeX: the numbering of the figure is correct (1. 2. 3. ...), but 
when I make a reference to a figure, the section (or the subsection) number appears instead of the 
figure number.
I check if this behavior occurs with the file example provide in the
2009 Jun 29
1
R CMD build for windows package from linux
Hi, exist any way to create a windows installable package from a Linux R
installation ??
I try R CMD build --binary --use-zip MyPack But generate a tar.gz file.
Thanks in advance
2008 Mar 15
3
empty array
Hi the list
Is it possible to create an empty matrix ? I do not mean an matrix with 
a single value that is NA (which is not empty) but a real empty one, 
with length=0.
I do not understand why we have length(numeric()), length(factor()) and 
length(character()) to zero, and length(array()) to one... Any rason for 
that ?
Thanks
Christophe
2013 Aug 06
1
Error in building pdf manual with Rtools
Dear list,
I am trying to produce a pdf manual using Rtools (version 3.1.0.1936) on Windows 8 (64-bit). I am also aware of the inconsolata issue posted in the forum (https://stat.ethz.ch/pipermail/r-devel/2013-June/066850.html), and then I have installed the patched version of R-3.0.1. However I still have some errors with the following message:
R CMD Rd2pdf mypack
Hmm ... looks like a package
2009 Mar 01
1
probleme with savePlot (to eps)
Hi the list,
I used savePlot to export some eps graph but it seems that the graph 
file hold a bug. I include the graph.eps in a LaTeX file. Running latex 
is ok. But the dvi file contain some mistake, the graph overprint on 
some text and hide it. Then, when I try to convert it to another format, 
I get :
Ignoring remaining special text following unkown PS operator: "SDict"
Remainder