Displaying 20 results from an estimated 1000 matches similar to: "testInstalledBasic question"
2011 Jun 29
0
Error in testInstalledBasic
Hi,
I am running R 2.13.0 on a Windows 7 machine.
I ran the script:
testInstalledBasic('devel')
and received the following warning message:
running tests of consistency of as/is.*
creating ?isas-tests.R?
running code in ?isas-tests.R?
comparing ?isas-tests.Rout? to ?isas-tests.Rout.save? ...running tests of random deviate generation -- fails occasionally
running code in
2011 Jun 30
1
testInstalledBasic
Hello,
I installed R 2.13.0 on a Windows 2003 server.? I downloaded the Rtools213.exe from http://www.murdoch-sutherland.com/Rtools/ and placed it in the path (C:\Program Files\R\R-2.13.0\bin).
I submitted the following code:
library(tools)
Sys.setenv(LC_COLLATE=C)
testInstalledBasic('basic')
I get the following message in the R Console, which I believe corresponds to a failure of the
2015 Jul 26
1
R3.2.1: tools::testInstalledBasic("both") fails since no tests are installed by default. Confirmed?
Dear R-SIG-Debian team,
I have installed R3.2.1 as described at cran.r-project.org
on my Ubuntu 14.04 using the Ubuntu packages for R (r-base and
r-base-dev) from the package URL
deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu trusty/
I wanted to test the installation using the R commands:
Sys.setenv(LC_COLLATE = "C", LANGUAGE = "en")
2009 Oct 02
1
environment( seq.int ) is NULL
... and also all objects that actually live in the .GenericArgsEnv
environment.
> all( sapply( ls( .GenericArgsEnv ), function(.)
is.null(environment(.)) ) )
[1] TRUE
This has the consequence preventing argsAnywhere to get the args of
seq.int.
> argsAnywhere( seq.int )
Error in exists(".packageName", envir = envir, inherits = FALSE) :
use of NULL environment is defunct
2014 Nov 24
0
tools::testInstalledBasic
Dear users,
I have a problem when using the testInstalledBasic function in the tools
package on my windows 7 machine. I specified the environment variables as
stated in the Installation and administration manual (Sys.setenv(LC_COLLATE
= "C", LANGUAGE = "en")) and ran the function on an installation without
additional packages. However the test fails on the script
2013 Feb 20
4
Error in setwd(outDir) : cannot change working directory
I installed R on my Windows laptop in C:\Program Files\R\R-2.15.2
and am able to open RGUI (640bit), see packages and run commands. However,
when I test the installation and run the basic tests and all the tests on
the standard and recommended packages i.e.:
library("tools")
testInstalledBasic("both")
testInstalledPackages("base", errorsAreFatal
2015 Jan 07
2
Failing lm-tests due to extra 0 in scientific notation?
Hello.
I've compiled R on Windows many times, and this is the first time I've
seen this error. While running make check-all (and using
testInstalledBasic("both")), the lm-tests routines fail, and, as far
as I can tell, the diff is failing because in one file, answers are
coming back like this "3.11e-004" while in the save file they are
"3.11e-04". Every value
2006 Aug 30
1
setMethod() and log()
Hi
I am having difficulty with setMethod(). I have a "brob" class of
objects whose
representation has two slots: "x" and "positive". Slot "x" (double)
holds the log
of a number and slot "positive" (logical) its sign. The idea is
that large numbers
can be handled.
I'm trying to implement a log() method using an analogue of the
2012 May 09
1
Compiling R on Windows XP - Rgui crashes yet Rterm works
Hello.
I am trying to build R on Windows. It appears that my build passes the various "make checks" (unless I missed some error) and running Rterm seems to work fine whereas Rgui has an immediate error stating "
AppName: rgui.exe AppVer: 2.150.58871.0 ModName: rzlib.dll
ModVer: 0.0.0.0 Offset: 0000a9e5
The taskbar still works, but the console window has nothing in it, and
2010 May 30
0
New package RSQLite.extfuns and minor upgrade for RSQLite
RSQLite.extfuns provides SQLite extension functions for use with
RSQLite. The package is a wrapper of extension functions written by
Liam Healy and made available through the SQLite website
(http://www.sqlite.org/contrib).
You can make the extension functions available on a per db connection
basis like this:
library("RSQLite.extfuns")
db <- dbConnect(SQLite(), dbname =
2010 May 30
0
New package RSQLite.extfuns and minor upgrade for RSQLite
RSQLite.extfuns provides SQLite extension functions for use with
RSQLite. The package is a wrapper of extension functions written by
Liam Healy and made available through the SQLite website
(http://www.sqlite.org/contrib).
You can make the extension functions available on a per db connection
basis like this:
library("RSQLite.extfuns")
db <- dbConnect(SQLite(), dbname =
2011 Jun 30
0
help with interpreting what nnet() output gives:
Greetings list,
I am new to programming in R, and am using nnet() function for a project on
neural networking.
Firstly I wish to ask if there is any pdf explaining the algorithm nnet
uses, which could tell me what the objects of the nnet class, like 'conn',
'nconn, 'nsunits', n and 'nunits' mean, and how weights are calculated.
The package pdf has little or no
2010 Jan 04
1
polygamma or Hurwitz zeta function
Hi,
Is there any R library that is capable of handling polygamma function
(Hurwitz zeta function also works)? I am aware of digamma(0 and trigamma(),
but could not find more advanced versions.
I'd appreciate any help.
Hakan Demirtas
2004 Feb 29
1
digamma with negative arguments (PR#6626)
Full_Name: Chanseok Park
Version: 1.8.1
OS: linux-gnu
Submission from: (NULL) (130.127.112.183)
digamma with any negative value does not give a right answer.
It gives -1.797693e+308 for any negative arguments.
For example, digamma(-1.1) gives -1.797693e+308.
The right answer should be 10.15416
This bug can be easily fixed by using the following digamma identity.
digamma(x) = digamma(1-x) -
2007 Oct 14
1
Extending deriv3()
Hello,
I was wondering if the functions deriv3(), deriv() etc. could be extended
to handle psigamma() and its special cases (digamma(), trigamma()
etc.). From the error message it seems that 'psigamma' needs to be
added to the derivatives table.
This might be easy since psigamma() has a deriv argument.
Additionally, this error message is also obtained when requesting for
the Hessian of
2005 Apr 07
1
complex tangent (PR#7781)
Full_Name: Peter Fortini
Version: 2.0.1
OS: Windows 2000
Submission from: (NULL) (65.246.187.164)
When the imaginary part of the argument is very large, the complex tangent
function returns 0+NaNi. For example, tan(1+1000i)=0+NaNi; it should be 0+1i
Easy to fix in complex.c, as the original NaN came from division of sinh and
cosh that had reached machine infinity.
static void z_tan(Rcomplex
2007 Jul 21
1
Gamma MLE
Hello,
I was asked to try the following code on R,
gamma.mles
function (xx,shape0,rate0)
{
n<- length(xx)
xbar<- mean(xx)
logxbar<- mean(log(xx))
theta<-c(shape0,rate0)
repeat {
theta0<- theta
shape<- theta0[1]
rate<- theta0[2]
S<- n*matrix(c(log(rate)-digamma(shape)+logxbar,shape/rate-xbar),ncol=1)
I<- n*matrix(c(trigamma(shape),-1/rate,-1/rate,shape/rate^2),ncol=2)
2003 May 30
3
Missing 'getGroupMembers()'
Hi,
I'm trying to write a method such that my own classes can be used with the
groups like "Summary" and "Math", but when I tried to look for examples or
just wanted to get an idea of which functions are the members of a group, I
found out that the function "getGroupMembers" is not present... I couldn't
find an alternative function, if there is one. Does
2014 Jul 14
2
cummax / cummin for complex numbers
Dear all,
in R 3.1.0, this is happening:
> cummin(c(1+1i,2-3i,4+5i))
Error in cummin(c(1 + (0+1i), 2 - (0+3i), 4 + (0+5i))) :
'cummax' not defined for complex numbers
> cummax(c(1+1i,2-3i,4+5i))
Error in cummax(c(1 + (0+1i), 2 - (0+3i), 4 + (0+5i))) :
'cummin' not defined for complex numbers
It may be fixed in R-devel, but I thought I'd mention it to make sure
2015 May 17
1
The function cummax() seems to have a bug.
Hi,
The function cummax() seems to have a bug.
> x <- c(NA, 0)
> storage.mode(x) <- "integer"
> cummax(x)
[1] NA 0
The correct result of this case should be NA NA. The mistake in [
https://github.com/wch/r-source/blob/trunk/src/main/cum.c#L130-L136] may be
the reason.
Best Regards,
Dongcan
--
Dongcan Jiang
Team of Search Engine & Web Mining
School of Electronic