Displaying 20 results from an estimated 300 matches similar to: "reading a matrix from a file"
2006 Jun 29
1
initializing table and filling it out
Hi everyone,
I'm writting a script that will open multiple files in a single folder and then will do some calculations to finally save everything in a big table.
So here is the pseudo code
#read all files in the given directory
myfiles <-list.files("c:\\myDir")
#initialize table
???
#loop through files
for(f in myfiles[-1]) {
netMat <-
2006 Dec 12
2
how do you interpolate a gaussian grid to a standard 2.5 degree grid?
Dear R-help community,
I have looked on the R search site and archives but cannot find mention of a way
of interpolating a gaussian distribution of data to a standard 2.5 degree grid.
I have two global dataset and I need to correlate - unfortunately one is a 2.5
degree grid dim[longitude=144,latitude=72] and one is gaussian
dim[longitude=192,latitude=94].
I would rally appreciate hearing
2006 Sep 09
1
clustering coefficient
Hi all,
I've been looking for a function that calculates "clustering coefficient" either Newman's or Wattson's.
I have found different functions to calculate different "cluster" but I haven't found yet anything for clustering coefficient, it might be under a different name.
Any ideas?
Cuau
---------------------------------
Get your email and more,
2009 Feb 28
2
devd question
I'm trying to make devd run an stty command whenever a USB serial device
is attached. Unfortunately, $device-name is ucom[0-9] and the device
names are /dev/cuaU[0-9] - how do I get the correct name in the device
action? I haven't found a way to extract the number by itself, so I'm
stuck with specifying a separate rule for each number, like so:
attach 100 {
device-name
2001 Jul 11
0
Question.
Hello all R users,
I tried to compile R1.3.0 on Solari Ultra60, R configured as
follows(command ./configure)
then I used "make" to make x files. I got the information which
looks that the X11 s unsupported.
Does anyone can help me to find the reason why I couldn't make the
successful compile.
If anyone has the precompiled R under sparc workstation, may I get a
copy?
2007 Dec 05
1
Installing hdf5
Hello,
I want to install hdf5 libraries for R and I get the same error as posted
below whether I try install.packages("hdf5") from R command prompt or the
command line installation below. I would appreciate if any one could help me
on this.
[alamj@thor hdf5]$ ./configure --with-hdf5=/bluejay/apps/HDF5-1.6.6/x86_64
checking for gcc... gcc
checking for C compiler default output... a.out
2007 Mar 22
3
"digits" doesn't work in format function
Dear All,
I was trying to format a numeric vector (100*1) by using
outd <- format(x=m, sci=F, digits=2)
> outd[1:10]
[1] " 0.01787758" "-0.14760306" "-0.45806041" "-0.67858525" "-0.64591748"
[6] "-0.05918100" "-0.25632276" "-0.15980138" "-0.08359873" "-0.37866688"
>m[1:10]
[1]
2013 Sep 12
10
[PATCH] xen/build: Remove hacked up version of figlet
This hacked up version of figlet contributes a supprisingly large proportion
of the Coverity issues found under xen/ (and therefore attributed against Xen)
Figlet can be found in all distros, so make use of it.
We keep xen.flf (being the Xen figlet font) and replace the hacked up octal
transform with a short python script.
The Xen Makefile has been tweaked in such a way that it still prints the
2006 Aug 29
6
adding new items to index breaks searches with *
Hi after upgrading to ferret 0.10.1 and bleeding edge aaf i''m getting
some strange behavior. Generally much better stability with new version
of ferret but when i add new items for some reason i can no longer
search with a *. Or rather i can but it returns no results and no
errors. I can search and get results normally on other searches and when
i rebuild the index i can search with
1999 Jun 30
1
Urgent: multiple NIC
Hi,
I have a NT Workstation with SP4 and 3 network interfaces. I use ATM
over IP, so two of my interfaces are CLIP.
CLIP is ip over atm, so the only problem for samba would be no
broadcasts in atm interfaces.
I also have a Linux Box (RedHat 2.2.1 with samba 2.0.2) with 3
interfaces for the same networks as my PC.
It looks something like this:
-Linux Box- -NT Box-
(atm)
2015 Oct 09
3
Python version for scripts in LLVM?
Hi,
Is there a rule or guideline about what Python versions
must be supported for scripts in the LLVM tree?
I am working on some patches to some scripts in LLVM
to use features in Python 2.7, so that these scripts
can run under Python 2.7 and Python 3.x
Is that OK?
For example, here is a patch to use print as a function,
so that the scripts can work in Python 2.7 and Python 3.x
--
Craig
2010 Jul 18
3
Proxy IMAP/POP/ManageSieve/SMTP in a large cluster enviroment
Hi to all in the list, we are trying to do some tests lab for a large scale
mail system having this requirements:
- Scale to maybe 1million users(Only for testing).
- Server side filters.
- User quotas.
- High concurrency.
- High performance and High Availability.
We plan to test this using RHEL5 and maybe RHEL6.
As a storage we are going to use an HP EVA 8400 FC(8 GB/s)
We defined this
2005 Jul 20
0
Question about Installing SJava package
Dear all,
I have an error message installing SJava package.
So I searched web site(google) and R-mailing list to find a similar error message.
But I couldn't find it.
I installed R-2.1.1 like this on Fedora Core4
1) /configure --enable-R-shlib --with-libpng --with-jpeglib
2) make -> make check -> make install
and then issuing on shell prompt (red lines are error messages)
R CMD
2006 Jul 14
1
Any ongoing effort to port /etc/rc.d/pf_boot, /etc/pf.boot.conf from NetBSD ?
Hi,
[I have added freebsd-security to recipient list as I consider
this issue a security risk]
Paul Schenkeveld wrote:
> Hello,
>
> On Fri, Jul 14, 2006 at 01:26:38PM +0300, Ari Suutari wrote:
>> Hi,
>>
>> Does anyone know if there are any plans to bring
>> pf boot-time protection (ie. /etc/rc.d/pf_boot and
>> related config files) from NetBSD to FreeBSD
2006 Feb 22
0
Realtime queues with Firebird SQL through unixodbc
Hello,
I have a partially working Realtime Queue using unixODBC and Firebird. I
followed the steps on asterisk-guru and the voip-info asterisk message
boards but have been having no success.
I say that my queue is partially working because callers can join the
queue. However the calls do not go to the agents even if the agent is
not tied up and is available for calls. So the caller is stuck
2003 Nov 27
1
Winword keeps on running Configuration Setup
Hi,
I am currently running this version of wine
(wine-20031118-1rh9winehq.i386.rpm) on a RH9 OS.
I installed MS Word 2000 and everything went well. However, every time
I run MS Word, the configuration setup screen would appear. But after
that, it seems that MS Word runs OK.
There are also a number of messages coming out (see below).
Can anyone help me stop the configuration setup from
2003 Mar 18
0
Crash in Microsoft Excel, using Add-ons
When clicking on the Tools->Add-ons link, the following.
Running Excel without a Windows install..
Console output.. (Debug below)
wine -- ./fake_windows/Program\ Files/Microsoft\ Office/Office/EXCEL.EXE
fixme:ole:CoRegisterMessageFilter stub
fixme:mpr:WNetOpenEnumA (00000002, 00000001, 00000000, (nil), 0x4067ea5c):
stub
fixme:hook:NotifyWinEvent (4,0x10021,-3,0)-stub!
2009 Dec 10
1
question about centroid-linkage (cluster analysis)
Dear R community,
I would be greatful if somebody could shed light on the following.
I have created a set of 6 points to check how centroid
agglomeration works in cluster analysis:
> Y <- data.frame(x=c(-1,1,1,-1,10,12),y=c(1,1,-1,-1,0,0))
It is quite intuitive to understand that the last clusters to be joined will be
{1,2,3,4} with {5,6}. Now, the centroid for the first cluster has
2011 Nov 18
3
tip: large plots
Hi all,
I'm working with a bunch of large graphs, and stumbled across
something useful. Probably many of you know this, but I didn't and so
others might benefit.
Using pch="." speeds up plotting considerably over using symbols.
> x <- runif(1000000)
> y <- runif(1000000)
> system.time(plot(x, y, pch="."))
user system elapsed
1.042 0.030 1.077
2007 Jul 17
2
SLLOOOWWW function ...
Does anybody have any insight into how to make this faster?
I suspect, that the rounding going on may be an issue, as is the stepping
through data frame rows using integers ...
If you have the patience to teach a noob, he will highly appreciate it ;0)
Joh
digit <- 4
for (minute in seq(from=25,to=lrange[2])){
# Extract all data associtaed with the current time (minute)
frame <-