Displaying 20 results from an estimated 10000 matches similar to: "Accessing functions from a package"
2010 May 24
1
Accessing functions from a package
Hi Folks,
I created a .R file with source code that accesses functions from a R
package (example, fTrading).
I then run the created application in two different configurations:
1. I started a R session, and then ran the application using the source
("my_application.R") command, and I measured the time the application ran.
2. I started 2 R sessions in the same processor, and executed
2012 Dec 12
1
#8498 postgres_adapter fix for disable_referential_integrity
Please review this patch for postgres adapter''s referential_integrity.rb in
Rails master and 3.2.9 and let me know what you think. We are using it via
an initializer (monkey patching the adapter directly vs. in module):
https://github.com/rails/rails/pull/8498
Fixes this issue also seen by others in Foreigner:
https://github.com/matthuhiggins/foreigner/issues/61
Problem that it
2008 Jul 23
3
Premature end of script headers: dispatch.fcgi
Hey people,
I''m working on this issue for more than 4 hours now and I have no idea
what''s wrong so I ask you kindly to have a look at my stuff.
When I try to access my website I get this error:
Application error
Rails application failed to start properly
error.log says:
[Wed Jul 23 17:51:22 2008] [error] Premature end of script headers:
dispatch.fcgi
I tried to run
2006 Nov 29
7
how to debug context switching and mutex contentions?
I''m looking for a suggestion on a good way to hunt down the source of
high context switching and mutex contentions...
Is dtrace the way to go now, or should I stick with something like lockstat?
Russ
This is a 5 second interval for mpstat:
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
16 0 0 1115 1241 206 9095 912 2420 7393 0 12105 68 25
2011 Apr 25
3
arcstat updates
Hi ZFSers,
I''ve been working on merging the Joyent arcstat enhancements with some of my own
and am now to the point where it is time to broaden the requirements gathering. The result
is to be merged into the illumos tree.
arcstat is a perl script to show the value of ARC kstats as they change over time. This is
similar to the ideas behind mpstat, iostat, vmstat, and friends.
The current
2013 Jan 17
2
error installing KEGGSOAP
Hi, I am new to bioconductor, trying to install KEGGSOAP package, but got warnings() when installing and error message when trying to load the package, can anyone suggest what went wrong?
many thanks
John
> source("http://bioconductor.org/biocLite.R")
Bioconductor version 2.11 (BiocInstaller 1.8.3), ?biocLite for help
> biocLite("KEGGSOAP")
BioC_mirror:
2008 Mar 14
8
xcalls - mpstat vs dtrace
HI,
T5220, S10U4 + patches
mdb -k
> ::memstat
While above is working (takes some time, ideally ::memstat -n 4 to use 4 threads could be useful) mpstat 1 shows:
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
48 0 0 1922112 9 0 0 8 0 0 0 15254 6 94 0 0
So about 2mln xcalls per second.
Let''s check with dtrace:
2012 Jan 24
1
problems with rollapply {zoo}
Here is a relatively simple script (with comments as to the logic
interspersed):
# Some of these libraries are probably not needed here, but leaving them in
place harms nothing:
library(tseries)
library(xts)
library(quantmod)
library(fGarch)
library(fTrading)
library(ggplot2)
# Set the working directory, where the data file is located, and read the
raw data
2006 Sep 11
1
Looking for common dtrace scripts for NFS top talkers
We started seeing odd behaviour with clients somehow hammering our
ZFS-based NFS server. Nothing is obvious from mpstat/iostat/etc. I''ve
seen mention before of NFSv3 client dtrace scripts, and I was
wondering if there ever was one for the server end, displaying top
talkers, writes/reads, or locations of such to nail down abusive
clients short of using snoop/tcpdump to nail down via
2003 Apr 30
1
textConnection taking a long time to open a big string
I was using 'textConnection' to read in a file with about 11,000 lines so I
could detect lines with incomplete data and delete them and then read them
in with 'scan'. I am using 1.7.0 on Windows. Here is the output from the
script and it was using 51 seconds just to do the textConnection.
Is there a limit on how large a text object can be to be used with
2009 Mar 28
4
mac_srs_rx_poll_ring thread never stop polling hardware in kernel
Recently I found that the mac_srs_rx_poll_ring thread may never stop in
kernel, please see the following mpstat, cpu 2 is in 100% kernel usage, but
no syscalls and no interrupts.
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt
idl
0 0 0 0 300 100 0 0 1 0 0 0
0 0 0 100
1 14 0 0 134 68 134 1
2009 Mar 31
9
Hwo to disable the polling function of mac_srs
In crossbow, each mac_srs has a kernel thread called "mac_rx_srs_poll_ring"
to poll the hardware and crossbow will wakeup this thread to poll packets
from the hardware automatically. Does crossbow provide any method to disable
the polling mechanism, for example disabling the this kernel thread?
Thanks
Zhihui
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Jul 09
3
performance troubleshooting
We have a serious performance problem on our server. Here is some data:
<pre>
> ::memstat
Page Summary Pages MB %Tot
------------ ---------------- ---------------- ----
Kernel 1133252 4426 31%
Anon 1956988 7644 53%
Exec and libs 31104 121 1%
Page cache
2006 Mar 30
4
samba 3 performance issues
I believe I have some hardware or configuration related performance
issues running samba 3.0.14a-3sarge.
Our server is an Intel Celeron 2 Ghz with 512 MB of RAM and a 3ware
card using SATA disks in a RAID 5 configuration (3ware controller card).
We have a gigabit network and are using Intel Gigabit ethernet cards
e1000).
When copying large files to the samba shares on the system, the
2016 Mar 12
1
Soft lockups with Xen4CentOS 3.18.25-18.el6.x86_64
On 03/10/2016 12:05 AM, Sarah Newman wrote:
> On 03/09/2016 08:15 PM, Sarah Newman wrote:
>> I've been running 3.18.25-18.el6.x86_64 + our build of xen 4.4.3-9 on one host for the last couple of weeks and have gotten several soft lockups
>> within the last 24 hours. I am posting here first in case anyone else has experienced the same issue.
>>
>
> Here is mpstat
2003 Apr 04
1
Samba Performance for Digital Recording
Hello,
We are doing digital recording over a 100 Mb/s switched network to a
dedicated Samba NAS-Filer and need to optimize our workflow and present
some performance data. I just want to be sure, to not overlook some
important aspect in my experimental setup. Let me explain in short what
is our infrastructure:
The Swiss Library for the Blind has started producing Digital Talking
Books (see
2008 Jan 17
1
Under DTrace USDT and PID, kernel''s microstat accounting doesn''t work in this situation, doesn''t it?
Does anyone has any ideas about this problem?
2008/1/15, ?? TaoJie <eulertao at gmail.com>:
>
> Hi all:
>
> I''m working on revealing system performance now.
> My testing program is an infinite loop. Inside the loop, it will do some
> mathematical opertaions and call function callee(), then go to the next
> loop.
> I install a alarm(30) in the program. It
2008 Nov 24
3
debugging a faulty jboss/application
>From time to time a jboss process would end eating all, the available CPU and the load avg would skyrocket.
Once the operators restarted jboss, the system''d be normal again (sometimes for weeks) until the next incident
Since we moved the app from a v440 running Solaris 10 8/07 to a t2000 running Solaris 10 5/08 the problem started to happen more frequently (2-3 times a week). The
2003 Nov 17
2
Newbie question
I'm trying to find a good open source software to do sales forecasting using Holt Winters and Box Jenkins time series algorithm. Somebody pointed me that R is the best open source available for statistical computing. Are there functions to do Holt Winters and Box Jenkins time series prediction in R? If there is none, can some one point me a good GNU/freeware to do the sales forecasting using
2004 Jan 20
1
evaluation of discriminant functions+multivariate homoscedasticity
Hello,
I am switching from SPSS-Windows to R-Linux. My university is very
SPSS-oriented so maybe that's the cause of my problems. I am a beginner
in R and my assignments are SPSS-oriented, so I hope I don't annoy
anyone with my questions...
Right now I've got 2 problems:
-I have to evaluate discriminant functions I have calculated with
lda(MASS). I can't find a measure that