Displaying 20 results from an estimated 2000 matches similar to: "Prime Factorization"
2010 Jun 14
3
Prime Numbers Pkgs - Schoolmath is broken
Looking for a recommended package that handles prime number computations.
Tried the following unsuccessfully:
primeFactors() in the R.basic package failed to install.
primes() and primlist are broken in Schoolmath pkg on CRAN.
My analysis can be found here http://j.mp/9BNI9q
Not sure what the procedure is for getting things fixed, so I've cross-posted to r-dev as well.
--njg
2010 Jun 14
3
Prime Numbers Pkgs - Schoolmath is broken
Looking for a recommended package that handles prime number computations.
Tried the following unsuccessfully:
primeFactors() in the R.basic package failed to install.
primes() and primlist are broken in Schoolmath pkg on CRAN.
My analysis can be found here http://j.mp/9BNI9q
Not sure what the procedure is for getting things fixed, so I've cross-posted to r-dev as well.
--njg
2011 Apr 21
6
What does the "<<-" operator mean?
I've been reading some code from an example in a blog post (
http://www.maxdama.com/ here ) and I came across an operator that I hadn't
seen before. The author used a <<- operator to update a variable, like so:
ecov_xy <<- ecov_xy+decay*(x[t]*y[t]-ecov_xy)
At first I thought it was a mistake and tried replacing it with the usual <-
assignment operator, but I didn't
2010 Jul 15
2
write.csv() : attempt to set 'append' ignored... Why?
I'm running R 2.11.0 on a 32-bit Windows XP machine. Whenever I try to write
a csv file with 'append' set to TRUE, I get this message: attempt to set
'append' ignored.
Obviously, this is no good, since R is deleting my previously saved data
files, rather than appending to them. What can I do to fix this?
--
View this message in context:
2010 Nov 17
2
Looking up the directory a file is located in
Hello everyone,
This should be an easy question, I think.
I'd like to write a command in a program to set the working directory to
whatever directory the file is currently stored in. Suppose I have a file
called "myRscript.r", and it's stored in "C:\Rprojects\myRscript.r", and it
references other R scripts and data files in the same directory.
If I enter the
2011 Oct 16
2
Suppressing the Intercept in lm() when using a dataframe for the model
It's easy to run a linear regression on a simple model without an intercept
just by doing this:
lm(y ~ x1 + x2 -1)
Is there a similar trick to suppress the intercept when your model is in a
large dataframe and you don't want to write out the names of individual
columns?
--
View this message in context:
2010 Jul 12
2
Accessing files on password-protected FTP sites
Hello everyone,
Is it possible to download data from password-protected ftp sites? I saw
another thread with instructions for uploading files using RCurl, but I
could not find information for downloading them in the RCurl documentation.
I am using R 2.11 on a Windows XP 32-bit machine.
Thanks in advance,
Cliff
--
View this message in context:
2011 Jul 06
1
Writing dataframes side by side in a file
Is there a quick and easy way to write data frames side-by-side in a csv file
with one column separating them?
I could just fill them with empty rows so they all have the same height,
then cbind them with empty columns in between, but I'm looking for a more
elegant solution, if one exists.
Thanks in advance,
Cliff
--
View this message in context:
2004 Nov 18
3
SipTone II
Anybody used the above phone with asterisk
I have one working ok for calls, but having a problem with voice mail.
Using either the 'Voice mail function key' or dialing 88 (for my system)
just gets me to Call Terminated
Asterisk CLI shows the error message 'unable to get User name'
My Grandstream works ok, asking for User name, then Password
Any ideas ?
--
Clive
Email :
2005 Jul 10
2
chan_capi ASTCC trouble
Hi all
I am wondering if anyone has had a similar trouble to this:
The timeout arguments in the dial command does not work. The caller
does not get disconnected when the timeout reaches zero.
I am not sure if this is a chan_capi issue, or a asterisk issue. I am using
CVS-head and chan_capi CVS head also.
Any suggestions or help will be appreciated.
Thanks
Clive
2012 Jul 24
1
Patchy 'front-end' package installation problems using -R- 2.15.1
I think this is the fourth attempt to send this blessed message, so let's hope this gets through without any 'unprocessed' or 'ignored' in-lines on auto-reply.
I wish to report to you some strange problems I'm experiencing with installing packages directly into my -R- 2.15.1 (there is an indirect solution, which I note below). First, here's some essential information:
2005 Sep 20
6
iax2 trunking wackyness
Hi
I was doing some bandwidth testing, and my incomming usage is
36% more than my outgoing bandwidth.
The setup is IAX2 trunking using GSM codec.
Is there any obvious reason I am overlooking to figure out why
there is such a big difference between the two.?
I am using CVS-head September 3rd, maybe there is a version
skew?
Any suggestions will be appreciated.
Thanks
Clive
2004 Nov 23
2
-lssl
Hi
Having my first go at compiling Asterisk from cvs source.
Compiled and installed zaptel ok
Running make asterisk returns the following error message
/usr/bin/ld cannot find -lssl
collect2: ld returned 1 exit status
The last part of the compile messages on screen are-
editline/libedit.a db1.ast/libdb1.a stdtime/libtime.a -ldl -lncurses -lm
-lresolv -lssl
There is obviously something I have
1998 Mar 17
0
R-beta: locfit -> CRAN
The locfit library is now available through CRAN, in the
Contributed R Code directory. Locfit fits local regression,
likelihood and density estimation models, in the spirit
of loess but with many additional features. To install,
unpack the locfit_19980309.tar.gz file, and
R INSTALL locfit
Most of the functionality and examples on my home page
http://cm.bell-labs.com/stat/project/locfit/ should
1998 Mar 17
0
R-beta: locfit -> CRAN
The locfit library is now available through CRAN, in the
Contributed R Code directory. Locfit fits local regression,
likelihood and density estimation models, in the spirit
of loess but with many additional features. To install,
unpack the locfit_19980309.tar.gz file, and
R INSTALL locfit
Most of the functionality and examples on my home page
http://cm.bell-labs.com/stat/project/locfit/ should
2005 Jan 11
2
ASTCC - error on call end
Hi
I get an error popping up when the call ends as follows:
DBD::mysql::db do failed: Unknown column 'callstart' in 'field list' at
/var/lib/asterisk/agi-bin/astcc.agi line 90, <STDIN> line 32.
Does anyone else get this same thing?
Looks as if my database table is wrong, or something else is
up...not sure
Thanks
Clive
2006 Oct 10
2
HELP: CentOS box won't shutdown
Hi
We have a mission critical Dell rackmount server.
I tried to reboot it via an ssh session and it just kept running!
The command I used was:
[root at vle tmp]# shutdown -r now
Broadcast message from root (pts/0) (Tue Oct 10 08:28:44 2006):
The system is going down for reboot NOW!
Looking at /var/log/messages it says:
Oct 10 08:28:44 vle shutdown: shutting down for system reboot
But
2009 Nov 13
4
processing log file
Dear all, I'm trying to process a log file which logs the date, the username and the computer number accessed. The table looks like this:
>table.users
Date UserName Machine
1 2008-11-25 John 641
2 2008-11-25 Clive 611
3 2008-11-25 Jeremy 641
4 2008-11-25 Walt 722
5 2008-11-25 Tony 645
6 2008-11-26 Tony 645
7 2008-11-26
2009 Sep 03
9
Rails 2.3.3 has a very serious performance problem
On my Ubuntu 8.04 64 bit desktop, I created an empty Rails project and
from another machine, I used
ab -n 10 http://210.77.27.169:3000/
to test the performance:
===========================================
When I put rails 2.3.3 under vendor/rails:
Server Software: WEBrick/1.3.1
Server Hostname: 210.77.27.169
Server Port: 3000
Document Path: /
Document Length:
2004 Nov 23
1
Paul Mahlers Book
Anybody know of a UK supplier of "Voip Telephony with Asterisk"
" by Paul Mahler ?
I've searched on the web, and the only suppliers I can find are US
based, and the postal charge is as much as the book.
cheers
--
Clive
Email : clive.carter@sbcs.co.uk
Alt : clivecarter@orange.net
Tel : 0845 0043366
Alt : 01952 402032
SIP : 84416002@voiptalk.org
Mobile : 07970 856261