Displaying 20 results from an estimated 1000 matches similar to: "error message!"
2007 Apr 29
4
Too slow to execute!
Greetings,
I have the following simple function but what worries me is that it takes about 5 or more minutes to execute. My machine runs on windows with 1.8GHz and 256 Ram.
> Re=NULL
> for(i in 1:100000){
+ x=rnorm(20)
+ Re[i]=(x-2*10)/20
+ Re
+ }
I would appreciate any help on how to make it faster.
Usman
___________________________________________________________
now.
2009 Feb 20
1
NOT an R problem: cannot install packages from distant repository
I met today a computer crash and our maintenance officer had to reinstall
some components of the OS (MS Windows XP Pro) as well as the Internet
browser (among other things). Now, I cannot install packages from a distant
repository:
> utils:::menuInstallPkgs()
Error in .readRDS(pfile) : unknown input format
> traceback()
5: .readRDS(pfile)
4: .packages(all.available = TRUE)
3:
2009 Mar 03
1
execution time of .packages
Hello,
The first time in a session I call .packages( all.available = T ), it
takes a long time (I have many packages installed from CRAN):
> system.time( packs <- .packages( all = T ) )
user system elapsed
0.738 0.276 43.787
When I call it again, the time is now much reduced, so there must be
some caching somewhere. I would like to try to reduce the time it takes
the first
2018 Jan 10
2
Error installing ggplot2 package
DeaR Forum,
I am trying to install the library ggplot2.?
Currently I am using following R version
R version 3.4.1 (2017-06-30) -- "Single Candle"Copyright (C) 2017 The R Foundation for Statistical ComputingPlatform: x86_64-w64-mingw32/x64 (64-bit)
However, when I try to install ggplot2 and few other packages, I am getting following error.
> library(ggplot2)Error: package or namespace
2003 Aug 12
1
(no subject)
Dear R- Users,
Please, what is wrong ? I am trying to run one sample Kolmogorov-Smirov test but I always get an error as shown below.
> ks.test(A, "normal", 0,1)
Error in get(x, envir, mode, inherits) : variable "normal" was not found
>
Thanks
usman
---------------------------------
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger
2018 Jan 10
0
Error installing ggplot2 package
Point of clarification:
Packages other than those that are part of the "standard" r distro
must first be "installed" from a package repository -- typically CRAN
-- via the install.packages()* function before they can be accessed
via the library() or require() function. Have you done this? See
?installed.packages if you are unsure.
Also, R must know what libraries to look in
2005 Nov 05
1
Problem with installing home-made package under Windoze.
I am using/trying to use R 2.2.0.
I have created a package of ``supplementary'' time series functions
for use by my students in a time series course. The package involves
only raw R code; no dynamic loading to complicate matters. I need to
install this package in a location on a local area network where the
students can access it under Windoze.
In the past I learned that I could do
2005 Jun 14
3
lack of detail for exception in ov_open
I am having one frustrating time trying to decipher why ov_read is failing in my MFC/C++ application, and I see in Google results that others have had difficulty as well. These google discussions generally involve libraries, dll's and linking options, as though there are perhaps some basic incompatibilities between ogg vorbis and win32 and/or MFC/C++. Very confusing.
If I pass fopen a
2005 Apr 03
3
Direct crash on ov_open
Greetings,
I've just downloaded the Ogg/Vorbis Win32 SDK 'OggVorbis-win32sdk-1.0.1.zip' and
made a test app to open an ogg file. But as soon as I call ov_open() the program
crashes because of an access violation to address 0x00000010...
This happens on both Release and Debug builds.
The test app is simple:
#include "vorbis/codec.h"
#include "vorbis/vorbisfile.h"
2006 Aug 05
2
PATCH: provide replace parameter for sourced files
Following patch for pfile.rb and pfile/source.rb allows the user to
set a replace => false parameter on a file sourced by puppet, but not
replaced if checksums do not match. This is for cases in which it is
desired to distribute initial "bootstrap" files and ensure future
existence, yet allow them to be modified on the node.
RTS
--- pfile.rb~ Wed Aug 2 04:47:05 2006
+++ pfile.rb
2005 Jun 17
1
ov_open fails on Version 1.0.1
Eddie,
I have been reviewing vorbis list postings, because I have been spinning my wheels for a week, trying to make a simple insertion of ogg vorbis decoding (vorbisfile) in the audio class of my MFC/C++ program. I just read your thread from April 2004.
Question: Do you have anything you could send me, since I assume you succeeded in getting results? And/or could you take a look at what I
2004 Feb 11
1
Problem using 'ov_open()'...
OK, I've been developing a small class that I can use in virtually any
application to load and decode OGG files. Everything works fine until it
reaches the line with the call to ov_open, then the application freezes and
has to be killed. This is a single-threaded Win32 app. Below is both the
structure that gets passed around, and my entire OGG class. Maybe one of
you can figure this out.
2005 Dec 22
3
snom Firmware 5.0.
Hi,
Snom phones firmware 5.0 is now out. Try it if you like:
http://www.snom.com/wiki/index.php/Main_Page.
Regards,
---------------------------------------------------------------------
Usman Tahir
snom technology AG
www.snom.com
---------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2002 Feb 04
1
read zipped files
I received several answer to my querry re reading zipped files,
R.Gentleman, Liaw Andy, BD Ripley,J Holtman, A.Matt, and others,
sorry
if I missed your names.
a- use pipe to run external unzip to a file and read from there
b- use gzfile() to open directly a gzipped file
c- use zip.file.extract()
solution b works like a charm, unfortunately it open gzipped files
and
not zipped files, would it be
2005 Sep 23
6
Which codec?
Is there a guy somewhere on how much bandwidth each codec uses, along with
the advantages and disadvantages of each one?
Dan Journo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050923/3bee2776/attachment.htm
2002 Jan 24
2
grep
Hello, I have a problem with 'grep'
I read several lines from a file
p <- readLines(pfile,n=8)
now I have to check that a key word "JABBERWOCKY" is not in that segment
a <- grep("JABBERWOCKY",p)
which gives a 1 if the key is in the text or 'numeric(0)
how can I test it
if(a==1) gives Ok in one case and error:missing value where logical
needed in the other.
2017 Jul 10
2
using samba with bind dlz
In /usr/lib64/python2.7/site-packages/samba/provision/sambadns.py
Update: It is failing in create_samdb_copy specifically here:
# Copy root, config, schema partitions (and any other if any)
# Since samdb is open in the current process, copy them in a child
process
try:
tdb_copy(os.path.join(private_dir, "sam.ldb"),
os.path.join(dns_dir,
2011 Mar 07
1
Array Help
Hi,
I have two 3 D arrays. Both are of this form
array_1<- array[n,n,k]
array_2<-array[m,m,k]
Lets say n=83 and m=80
Since n>m. I would like to add rows and columns to array_2 to make them
equal. I want to keep the size of the third dimension fixed i.e.. k.
i.e.
if (nrow(array_1)>nrow(array_2))
{
array_2[m:n,m:n,]<- 10^6
}
But this doesn't work. I tried abind and rbind but
2010 Apr 23
2
Matrix diagonal help
Hi
Suppose I have a matrix (cohort are rows and years are columns)
[2000] [2001] [2002] [2003]
[C1] 0.01 0.03 0.02 0.09
[C2] 0.06 0.05 0.07 0.11
[C3] 0.1 0.5 0.4 0.98
[C4] 0.7 0.6 0.2 0.77
I want to extracts the diagonals to get a matrix which looks like this (C1
becomes C2 in 2002, C2 becomes C3 in 2003
2011 Oct 18
9
readRDS and saveRDS
Hi all,
Is there any chance that readRDS and saveRDS might one day become
read.rds and write.rds? That would make them more consistent with the
other reading and writing functions.
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/