Displaying 20 results from an estimated 3000 matches similar to: "RODBC connection name"
2010 Feb 16
1
RODBC missing values in integer columns
Hello,
We are having some strange issues with RODBC related to integer columns.
Whenever we do a sql query the data in a integer column is 150 actual data
points then 150 0's then 150 actual data points then 150 0's. However, our
database actually has numbers where the 0's are filled in. Furthermore,
other datatypes do not have this problem: double and varchar are correct and
do not
2010 Mar 08
1
confused by classes and methods.
Hello, I have a simple class that looks like:
setClass("statisticInfo",
representation( max = "numeric",
min = "numeric",
beg = "numeric",
current = "numeric",
avg = "numeric",
obs = "vector"
2010 Feb 22
3
relative file path
Hello,
Is there a way to find where a script is located within a script? getwd()
doesn't do what I want because it depends on where R was called from. I want
something like source("randomFile") and within randomFile there is a
function called whereAmI() which returns c:\blah\blah2\randomFile.R
In perl there is a library called FindBin and $FindBin::Bin has the
directory of the file
2010 Mar 22
1
IDMAP_RID with Winbind works for groups but not users
Hi,
I've setup samba 3.4.7 to use idmap_rid as per the documentation:
idmap backend = rid:DOMAIN=500-100000000
idmap gid = 500-100000000
imap uid = 500-100000000
It seems to work for groups:
wbinfo --group-info="domain admins"
domain admins:x:100512
PsGetSid v1.43 - Translates SIDs to names and vice versa
Copyright (C) 1999-2006 Mark Russinovich
Sysinternals -
2010 Mar 03
1
data.table evaluating columns
Hi everyone,
I have the following code that works in data frames taht I would like tow
ork in data.tables . However, I'm not really sure how to go about it.
I basically have the following
names = c("data1", "data2")
frame = data.frame(list(key1=as.integer(c(1,2,3,4,5,6)),
key2=as.integer(c(1,2,3,2,5,6)),data1 = c(3,3,2,3,5,2), data2=
c(3,3,2,3,5,2)))
for(i in
2010 Mar 15
1
rbind, data.frame, classes
Hi,
This has bugged me for a bit. First question is how to keep classes with
rbind, and second question is how to properly return vecotrs instead of
lists after turning an rbind of lists into a data.frame
list1=list(a=2, b=as.Date("20090102", format="%Y%m%d"))
list2=list(a=2, b=as.Date("20090102", format="%Y%m%d"))
rbind(list1, list2) #this loses the
2016 Jul 01
1
Windows guest and virtio serial port
Okay, I've updated virtio serial drivers to latest ones. This did not
help. Afterwards I've enabled "Show hidden devices" in Device manager
of a guest os.In the "Other devices" section I can see two virtio serial ports with
question marks (i did configure guest with 2 virtio channels).
Is this a normal behaviour?
Screenshot:
2010 Feb 26
2
dramatic speed difference in lapply
So I have a function that does lapply's for me based on dimension. Currently
only works for length(pivotColumns)=2 because I haven't fixed the rbinds. I
have two versions. One runs WAYYY faster than the other. And I'm not sure
why.
Fast Version:
fedb.ddplyWrapper2Fast <- function(data, pivotColumns, listNameFunctions,
...){
lapplyFunctionRecurse <- function(cdata, level=1,
2012 Mar 11
3
Trace for DLLs needed for applications
For those, who have dual boot system (Win/Lin):
Found one interesting program (for Windows) called xptruss (http://dev.depeuter.org/xptruss.php)
Checked for viruses and malware: Here is the report (http://r.virscan.org/report/27a526b97f0109ca8103f83cbc78b3a2.html)
The program could trace Win API calls and save debugging info into (large) text file. For me I found one useful thing that utility
2010 Mar 17
1
Reg GARCH+ARIMA
Hi,
Although my doubt is pretty,as i m not from stats background i am not sure
how to proceed on this.
Currently i am doing a forecasting.I used ARIMA to forecast and time series
was volatile i used garchFit for residuals.
How to use the output of Garch to correct the forecasted values from ARIMA.
Here is my code:
###delta is the data
fit<-arima(delta,order=c(2,,0,1))
fit.res <-
2010 Jan 12
4
Renaming a computer on a Samba domain
We shift computers around a lot, and therefore need to rename several
whenever we get new batches of systems in.
Tried simply renaming a system while on the domain, but got an "access
denied" error. I WAS able to disjoin the domain, remove the LDAP entry
for the computer, log in as a local administrator, rename the computer,
and rejoin the domain a different computer name.
However,
2010 Jun 25
2
Sysinternals autorunsc.exe
Hi all,
Sysinternals have just released a version of their autoruns command line tool that's capable of scanning an offline windows install for images configured to start automatically (very useful for tracking down malware).
How likely is it that it could be made to run under wine on Ubuntu? I've got to the point where I have my NTFS partition mounted, I then issue the command:
---
$
2004 Feb 01
3
Several logon script bat files?
I simply wonder if I can have several different logon script bat files for
MS Win users that validates through my Samba PDC?
Let's say that group "users" should have logon batch users.bat and the
members of the group "sales" should have both users.bat and sales.bat
executed at logon? Or can I in some way use ONE script with parameters that
knows about what groups the user
2006 Apr 10
1
Capistrano/SwitchTower "current" dir deployment question
All,
I have successfully executed the "deploy" task in Capistrano/Switchtower
to establish a symbolic link named "current" which points to the current
version of my app. on my remote server.
My app. was already deployed to the existing Rails root directory (call
it "appname") though.
I have Apache fronting my app. through a virtual host whose doc. root is
itself
2006 Oct 02
1
Problems Deploying a Camping app on TxD
So I''ve been trying all day to get a small camping app I wrote up on
Textdrive to no avail.
Right now I''m getting a 500 error when I go to the site, and it spits this
out (from lightty after i restart it and make a request to the app):
(eval):13:in `initialize'': undefined method `to_hash'' for
#<FCGI::Stream:0x83a35d8> (NoMethodError)
from
2007 Mar 29
10
Mongrel Service won''t start on windows
64bit Intel 8 CPU server
Windows 2003 Server
Service set to run as LocalSystem, doesn''t work as user account either
The error we see is:
"Service failed to start in a timely..."
Which I have seen in the past email trails as working
The app works from mongrel_rails start and from mongrel_service console -N
servicename -p 3000 -c c:\rails_apps\appname -e production
We upgraded
2012 May 15
5
setting up the SQLite database
I know this isn''t Python, but I''d like to get a view on the ''one
obvious'' way to set up an SQLite (or other) database and its location
per-app. I''ve got a bit lost with the Camping 2 changes and various
code snippets I have kicking around.
1.
is it best to set up the DB creation/connection:
1.1
at the end of the app
2006 Apr 06
3
Apache as proxy for webrick
Hello,
We have a webrick server running our nice app, and an apache server
being used to serve the rest of the site and act as a proxy for the
webrick app.
<code>
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /appname http://server.com:3000
ProxyPassReverse /appname
2009 Jun 16
2
OT - Tomcat CLASSPATH issue
if this is ignored then fair enough as its not really the place for it
but if anyone has seen this it would be good to know
tomcat is 6.0.18
CLASSPATH is set in /etc/sysconfig/<appname> and this IS getting used as
_some_ configuration items are being picked up from /etc/<appname> but
the issue is when default setting from within the webapp are not being
overwritten by settings in
2006 Jun 09
1
RewriteBase w/ Capistrano on a shared host
Hello,
I''m on a shared hosting, and tried this as a test:
[code]
svn co {repo} to /home/{user}/{appname}
ln -s {appname}/public/ public_html
chmod -R 755 trunk
[/code]
With the .htaccess file''s RewriteBase directive set to /
This setup works great, with no problems at all.
Here''s my issue, I''m attempting to use Capistrano, which is setup by
default to