Displaying 20 results from an estimated 10000 matches similar to: "within in R 2.6.0dev is not found"
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
2008 Mar 30
4
tests Rin and Rout
>
> Generally I find it's good to look at examples that work. For
> examples of packages using tests, look at source packages on CRAN.
> Run the tests on them (using R CMD check), and see what gets produced.
>
Do you have the name of a package that use it ? I try the 10 first
package, and 10 other at random, but none of them use tests...
>>> Create tests/myPack.R
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>
2007 Sep 19
3
delayedAssign
The last two lines of example(delayedAssign) give this:
> e <- (function(x, y = 1, z) environment())(1+2, "y", {cat(" HO! "); pi+2})
> (le <- as.list(e)) # evaluates the promises
$x
<promise: 0x032b31f8>
$y
<promise: 0x032b3230>
$z
<promise: 0x032b3268>
which contrary to the comment appears unevaluated. Is the comment
wrong or is it supposed to
2007 Jan 06
6
PXE stack access via com32
Hi,
I've checked the archives for my issue, and while there is relevant discussion, the problem the original poster was asking about didn't seem to have been resolved then either (~2 years ago). At any rate, basically what I'm trying to do is send (possibly receive) UDP packets via the PXE stack using the com32 API (using version 3.11 of syslinux). I have followed both the comboot
2008 Jan 19
1
Updating library
On Vista my R installation is in
C:\Program Files\R\R-2.6.0
and there is a library here:
%userprofile%\Documents\R\win-library\2.6
If I use the GUI Packages menu to update my library it
works ok _except_ for any packages such as lattice and
the VR bundle that come with R. For those I get this (this
is what I got when I tried to update lattice but I get a similar
message for the VR bundle
2005 Mar 18
4
Is a .R script file name available inside the script?
Hi,
if we have a file called Rscript.R that contains the following, for example:
x <- 1:100
outfile = "Rscript.Rout"
sink(outfile)
print(x)
and then we run
>> source("Rscript.R")
we get an output file called Rscript.Rout - great!
Is there an internal variable, something like .Platform, that holds
the script name when it is being executed? I would like to use
2008 Jul 18
1
Checking package help file examples
I am trying to figure out the sanctioned way for
'R CMD check pkg' to make sure that the examples
in help files give the expected results.
Writing R Extensions says that check runs the help
file examples (which INSTALL extracts from pkg/man/*.Rd
and puts into files in pkg/R-ex). It looks like check
concatenates all the example files, pkg/R-ex/*.R, into one
file, pkg/pkg-Ex.R, which it
2007 Jul 19
1
package NULL not found
In performing Rcmd check I am getting this output regarding using
Argument '' and a NULL package not found and it stops with an error:
* using log directory 'C:/Rpkgs/sqldf.Rcheck'
* using ARGUMENT '
' __ignored__ R version 2.5.1 (2007-06-27)
* checking for file 'sqldf/DESCRIPTION' ... OK
* this is package 'sqldf' version '0.1-0'
* checking package
2007 Sep 12
1
warning upon automatic close of connection
I noticed that under R 2.6.0 there is a warning about closing the connection
in the code from this post:
https://stat.ethz.ch/pipermail/r-help/2007-September/140601.html
which is evidently related to the following from the NEWS file:
o Connections will be closed if there is no R object referring to
them. A warning is issued if this is done, either at garbage
collection or if all the
2007 Sep 30
1
Ryacas check
When I do
Rcmd check Ryacas
on my Windows Vista system under
R version 2.6.0 beta (2007-09-23 r42958)
it checks out fine but here:
http://cran.r-project.org/bin/windows/contrib/checkSummaryWin.html
http://cran.r-project.org/bin/windows/contrib/2.5/check/Ryacas-check.log
it complains about the XML package even though the XML package
*is* declared in the DESCRIPTION file.
What is
2007 Nov 19
1
building packages: hhc.exe not found using xp
Hello,
Apologies in advance if this should be in R-devel, not Rhelp. I did read through the R-devel thread started by Gabor Grothendieck in September of this year - I am getting the exact same error using a new computer that has XP installed, not vista, complaining that the file hhc.exe is not found. I have downloaded the hhc.exe to HTML Help Workshop dir in Program Files but it says that
2008 Jan 02
2
Windows Shell Command under Vista
Dear R2008,
In Windows 2000, I used the following shell extension to allow right-click
rgui start in a directory (assuming rgui.exe is on the path:
-----
REGEDIT4
[HKEY_CLASSES_ROOT\Directory\shell\Run R]
[HKEY_CLASSES_ROOT\Directory\shell\Run R\command]
@="Rgui.exe --no-restore --no-save --internet2"
----
I switched to Vista this year. For reasons I don't understand, I have
2007 Sep 24
1
Inspecting promises
Is there some way of displaying the expression and evaluation environment
associated with a promise? I have found the following:
> # first run these two commands to set up example
> e <- new.env()
> delayedAssign("y", x*x, assign.env = e)
> # method 1. shows expression but not evaluation environment
> str(as.list(e))
List of 1
$ y: promise to language x * x
>
2007 Sep 07
1
Rcmd install on Vista
Has anyone successfully used Rcmd install or Rcmd check on
Windows Vista? I have been successfully been running R itself,
just not Rcmd install and Rcmd check.
Rcmd check fails, the Ryacas.Rcheck it creates is
read-only, I don't have permission to delete it and I have
to reset the permissions on it just to delete it.
With Rcmd install I am getting the following which looks like I
am running
2009 Nov 09
1
Echo canceller strange behaviour
Hi,
I use Echo Canceller from speex 1.2rc1. It works excellent, except one kind
of test: if I use overloaded (and clipped) RIN and not interlaced local
speech and echo in SIN, echo is not removed.
I checked the sources (RIN and SIN) with EC diagnostic tool - delay and
drift are ok.
I would like to understand what the problem is and how to solve it.
--
Victoria
-------------- next part
2010 Oct 10
1
segfault caused by `icfit` in `interval` package
Dear R community,
I am using the R package `interval` in order to perform some modelling
tests of the
NPMLE convergence in the case of censoring. So all I am doing is drawing a
sample
from exponential distribution, making it a censored sample and computing the
NPMLE of
its distribution function. But when run on Linux Calculate 10.4 the program
keeps
crashing and reporting a segmentation fault
2008 Mar 18
4
cut.Date and cut.POSIXt problem
cut.Date and cut.POSIXt indicate that the breaks argument
can be an integer followed by a space followed by "year", etc.
but it seems the integer is ignored.
For example, I assume that breaks = "3 months" is supposed
to cut it into quarters but, in fact, it cuts it into months as if
3 had not been there.
> d <- seq(Sys.Date(), length = 12, by = "month")
>