Dear R-Developers and -Community,
after compiling and installing R 1.2.2., I started 'demo(graphics)' for
a test, and got:
'Error in rnorm(0): .Random.seed(0) is not a Normal type'
Obviously .Random.seed was not initialized appropriately. Following the
the documentation for '.Random.seed' [see below 'Examples'], this can be
fixed
rm(.Random.seed); runif(1); .Random.seed
and all seems to work nicely.
But two questions remain:
- was this my fault, is it intended, or are corrections inside R necessary ?
- are there any other objects in R, which unintentionally are not initialized
at start? (This may lead to unobserved errors.)
Thank you for a great System !! Best wishes - Hartmut Oldenbürger
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
.Random.seed(0) is not a valid Normal type
8 messages · Hartmut Oldenbuerger, Peter Dalgaard, Richard Rowe +3 more
Hartmut Oldenbuerger <holdenb1 at wwpu00.Wipaed.Wiso.Uni-Goettingen.de> writes:
after compiling and installing R 1.2.2., I started 'demo(graphics)' for a test, and got: 'Error in rnorm(0): .Random.seed(0) is not a Normal type'
...
But two questions remain: - was this my fault, is it intended, or are corrections inside R necessary ? - are there any other objects in R, which unintentionally are not initialized at start? (This may lead to unobserved errors.)
This doesn't normally happen. Did you by any chance load an old workspace (.RData) on startup? If it is reproduceable, then we'd like to have the instructions to reproduce it as well as some information about which system you're running it on.
O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
FYI The ggobi interface for both Linux and Windows have been available at http://www.ggobi.org/ for several weeks now. Both versions come with an R interface library (Rggobi, apparently to be RSggobi when the Splus version is finalised). "GGobi is a data visualization system for viewing high-dimensional data and is the next edition of xgobi. It provides a new interface to many of the features of xgobi, built using Gtk, the GIMP toolkit and provides several new features: A new, simpler and more modern interface. Better portability to PCs. Direct access from R Perl and Python New input format using XML. Database (MySQL) support. " More expert users may wish to comment and advise the rest of us, Richard Rowe Senior Lecturer Department of Zoology and Tropical Ecology, James Cook University Townsville, Queensland 4811, Australia fax (61)7 47 25 1570 phone (61)7 47 81 4851 e-mail: Richard.Rowe at jcu.edu.au http://www.jcu.edu.au/school/tbiol/zoology/homepage.html -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dear Peter Dalgaard, Brian Ripley, and R-Community,
after compiling and installing R 1.2.2., I started 'demo(graphics)' for a test, and got: 'Error in rnorm(0): .Random.seed(0) is not a Normal type'
My TypingErr: ^50 is correct !
It occured in just the first part of 'demo(graphics)'.
This doesn't normally happen. Did you by any chance load an old workspace (.RData) on startup?
Yes!! After moving .RData away to .old.RData the error vanished !
And yes, the .RData contained '... .Random.seed ... (seen by 'mc').
But no, it dated '3 Feb ...', thus worked with R 1.2.1. and not
about 0.63 .
Many thanks for your very prompt answers at sunday evening !!
Best - Hartmut Oldenbuerger
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hello, R 1.2.0 / Win98 I just downloaded the Win version of Rggobi from http://www.ggobi.org/ and installed it with Rwinst. When I tried to load the library, I got the following error message:
library(rggobi)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"E:/PROGRAMS/R/RW1020/library/rggobi/libs/Rggobi.dll":
LoadLibrary failure: Une des biblioth?ques n?cessaires ? l'ex?cution
de cette application n'a pu ?tre trouv?e.
Error in library(rggobi) : .First.lib failed
I rebooted my computer but the problem still occurred. I checked in the
rggobi/libs directory, and Rggobi.ddl is there. Does anyone know how to
fix this ?
Thanks in advance and best regards,
Renaud
Richard Rowe wrote:
FYI The ggobi interface for both Linux and Windows have been available at http://www.ggobi.org/ for several weeks now. Both versions come with an R interface library (Rggobi, apparently to be RSggobi when the Splus version is finalised). "GGobi is a data visualization system for viewing high-dimensional data and is the next edition of xgobi. It provides a new interface to many of the features of xgobi, built using Gtk, the GIMP toolkit and provides several new features: A new, simpler and more modern interface. Better portability to PCs. Direct access from R Perl and Python New input format using XML. Database (MySQL) support. " More expert users may wish to comment and advise the rest of us, Richard Rowe Senior Lecturer Department of Zoology and Tropical Ecology, James Cook University Townsville, Queensland 4811, Australia fax (61)7 47 25 1570 phone (61)7 47 81 4851 e-mail: Richard.Rowe at jcu.edu.au http://www.jcu.edu.au/school/tbiol/zoology/homepage.html -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Dr Renaud Lancelot, v?t?rinaire CIRAD, D?partement Elevage et M?decine V?t?rinaire (CIRAD-Emvt) Programme Productions Animales http://www.cirad.fr/presentation/programmes/prod-ani.shtml ISRA-LNERV tel (221) 832 49 02 BP 2057 Dakar-Hann fax (221) 821 18 79 (CIRAD) Senegal e-mail renaud.lancelot at cirad.fr -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Mon, 5 Mar 2001, Renaud Lancelot wrote:
Hello, R 1.2.0 / Win98 I just downloaded the Win version of Rggobi from http://www.ggobi.org/ and installed it with Rwinst. When I tried to load the library, I got the following error message:
library(rggobi)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"E:/PROGRAMS/R/RW1020/library/rggobi/libs/Rggobi.dll":
LoadLibrary failure: Une des bibliothèques nécessaires à l'exécution
de cette application n'a pu être trouvée.
Error in library(rggobi) : .First.lib failed
I rebooted my computer but the problem still occurred. I checked in the
rggobi/libs directory, and Rggobi.ddl is there. Does anyone know how to
fix this ?
You should have got a dialog box up saying that some (specific) other DLL could not be found. Do you have the winggobi\bin folder in your PATH? It might suffice to have a recent verion of GIMP installed, as that will install the needed DLLs, I believe. There seem to be quite a few things wrong with that Rggobi.zip: the DESCRIPTION is wrong and INDEX and TITLE are missing for a start.
From the installation instructions the version of libxml used is one
known not to work properly on Windows (from the changes log in the current libxml2), so don't expect too much of xml support. Running from rterm.exe there are severe event-loop problems: the ggobi window does not respond except when rterm is not waiting for a prompt. Running from rgui.exe I got crashes on almost everything I tried. example(ggobi) fails to find two data files, and library(Rggobi) data(mtcars) ggobi(mtcars) came up but crashed (in its own DLL) as soon as I selected anything. I concluded this was at best a beta. Standalone winggobi worked under some brief tests, albeit much slower than xgobi (using Exceed 6.2 to display) on the same machine. This might be better discussed on the ggobi help list, but I failed to subscribe to that as mail to ggobi.org is refused .... B
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi, When I tried to run Rggobi a few weeks ago I had the same problem. I then read Nicholas Lewin-Koh's article on http://www.public.iastate.edu/~nlewin/ggobi/Win-GGobi.html . Then realised that one need to have WinGGobi installed first, then modify C:\autoexec.bat file, restart the machine (yeh that's the thing about Windows), then you should be able to run it. At least that is how I solved the problem...
R 1.2.0 / Win98 I just downloaded the Win version of Rggobi from http://www.ggobi.org/ and installed it with Rwinst. When I tried to load the library, I got the following error message:
------------------------------------------------- Ko-Kang Kevin Wang Undergraduate Student (Final Year) Statistics Department University of Auckland New Zealand -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi, ----- Original Message ----- From: "Prof Brian Ripley" <ripley at stats.ox.ac.uk> To: "Renaud Lancelot" <lancelot at telecomplus.sn> Cc: "Richard Rowe" <Richard.Rowe at jcu.edu.au>; "R-Help" <r-help at stat.math.ethz.ch> Sent: Monday, March 05, 2001 10:09 PM Subject: Re: [R] xgobi/ggobi
Running from rterm.exe there are severe event-loop problems: the ggobi window does not respond except when rterm is not waiting for a prompt. Running from rgui.exe I got crashes on almost everything I tried. example(ggobi) fails to find two data files, and library(Rggobi) data(mtcars) ggobi(mtcars) came up but crashed (in its own DLL) as soon as I selected anything.
I agree with Brian. In fact after I got it running the speed is kind of slow. I found that if it better to just stick with the Win32 exe version, rather than calling it from R. Very often when I tried to call it from R my whole Window just crashed, but then again it is the thing that often happens.
This might be better discussed on the ggobi help list, but I failed to subscribe to that as mail to ggobi.org is refused ....
Yes I tried to subscribe to the list a few weeks ago and it refused my subsription somehow... ------------------------------------------------- Ko-Kang Kevin Wang Undergraduate Student (Final Year) Statistics Department Science Faculty University of Auckland New Zealand -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._