Displaying 20 results from an estimated 1000 matches similar to: "RODBC connection failed"
2000 Aug 28
2
Windows / RODBC / Accented characters
A disturbing behaviour of R: an import of data using RODBC library
(Windows 98, R 1.1.1) recognizes accented characters in variables
names but these can't be manipulated further. See below:
> library(Rodbc)
> ch<-odbcConnect("Paradox Files")
> pollut<-sqlFetch(ch,Pollutio)
> pollut
Mortalit? Densit? Pollution
1 82 600 110
2 97 960
2000 Aug 31
2
Multiv / hierclust / plclust
I use hierclust (hierarchical clustering) in multiv package. In the
documentation it is said that plclust (plotting a dendrogram) is
available in S-plus. Can I find it anywhere (I have searched through
http://lib.stat.cmu.edu/S and found only quotations of plclust in
multiv) or is it only part of the S package (which I don't have)?
Thanks
---------------
Charles RAUX,
Laboratoire
2000 Aug 30
1
Memory management
Some naive questions:
1) How to remove a column in a data frame? I expected that rm would
work but this is not the case (e.g. rm(dat$yyy) gives Warning
message: remove: variable dat$yyy was not found). I only found to
assign NULL value (e.g.: dat$yyy<-NULL). Is it the right way?
2) Is the place formerly occupied by dat$yyy automatically gained by
R for other uses?
3) If t1 and t2 are 2 only
2000 Nov 24
1
groupe averages error
I want to get subsets averaged on numeric variables number 5:13 but I
get the error below that I cannot understand.
> is.factor(dat$Statut)
[1] TRUE
> s<-ave(dat[,5:13],dat$Statut)
Error in [<-.data.frame(*tmp*, , value = if (n) { :
Argument "i" is missing, with no default
Thanks in advance
---------------
Charles RAUX,
Laboratoire d'Economie des Transports
2000 Aug 14
5
Writing a workable function
After searching in R- Introduction, FAQ, help... I don't understand
this:
I write a function in a file (.R):
tt <- function(mc) { date()
mc<-read.csv2("machines.txt",na.strings="")
date()
}
I source it in R and I type tt(). The answer is
> tt()
[1] "Mon Aug 14 11:18:25 2000"
>
The instructions following the first "date()" are ignored. Why?
2000 Aug 23
1
3D perspective of a contingency table
How can I draw a 3D perspective of a contingency table, that is
showing 3D bars whose height is in proportion of the table cells?
---------------
Charles RAUX,
Laboratoire d'Economie des Transports
CNRS-Universit? Lumi?re Lyon 2-ENTPE
email : charles.raux at let.ish-lyon.cnrs.fr
http://www.ish-lyon.cnrs.fr/let
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2001 Nov 15
1
ploting axes plaxes ?
I used in previous versions of R (R 1.1) to plot axes on projections of
factorial coordinates using the function plaxes. This doesn't exist any
more. Why this change ? No alternative ?
---------------
Charles RAUX,
Laboratoire d'Economie des Transports
CNRS-Universit? Lumi?re Lyon 2-ENTPE
email : charles.raux at let.ish-lyon.cnrs.fr
http://www.ish-lyon.cnrs.fr/let
2000 Sep 04
2
plot history, libraries, weights
3 general questions:
1) How can I have the plot History Recording automatically turned on
each time I start R (Windows)?
2) How can I have some libraries automatically loaded at R start?
3) As far as I know weights can be specified only for lm. How can I
take account of weights with a weighted sample in other models or
functions (table but also other multivariate and cluster techniques)?
Thanks
2000 Dec 07
0
plot of a cut
I have made a cut of a numeric vector and try to plot it. However
only half of the x-axis annotations (the labels) appear on the plot,
apparently because of the font size. I have tried cex.lab, cex.axis
(what is the difference?) etc. The x labels are never printed
whatever value I use from 0.0005 to 20. I can't obtain a way to
make all the labels appear correctly. Between the short help
2000 Aug 31
3
help with data import/export
how can I import/export data from ms excel?
also is there a way to import/export data of the hdf format?
is there a way to import/export hdf format for ms excel as well?
thank you very much in advance.
/js
######################################################################
This e-mail message has been scanned and cleared by MailMarshal
http://www.marshalsoftware.com
2012 Sep 05
2
Installing lumi and hdrcde
To whom it may concern.
As I would like to analyse some array data I was keen on downloading the
lumi package that depends obviously on hdrcde that is not available for r
2.12.1. I did not find instructions to solve or circumvent this problem.
Installing hdrcde by hand did not work either. It was not detected by
> (.packages(all.available=TRUE))
if installed in the R library.
Thanks
Hermann
2012 Mar 30
1
Help with the lumi R package
Hi all,
My name is Amy, I am a masters student in Bioinformatics at North Carolina
State University. I am working on a project and I am trying to use the lumi
R package for microarray data analysis. I have shown the sample code here
and have questions about modifying the sample code for my own data.
lumi package in R, example.lumi, the sample data has 8000 features and 4
samples
I have
2010 Apr 28
2
Rails - associations help
Hi
I have two models .
Dbase
--------
name
vendor
type
port
defuser - default user name
Users
-------
username
password
email
I need to build an association between these two in that the dbase
model''s defuser needs to be present in the users table. I am from a
relational database background so am trying hard to understand rails
associations.
What should I do to associate the
2005 Nov 17
1
transforming table into data frame
Hello,
I would like to transform a contingency table (A x B) into a data
frame while keeping the cross-tabulation structure (i.e. rows =
levels of A, columns = levels of B). I have tried as.data.frame,
xtabs, etc... and always got a "flattened" list of 3 variables (A, B,
Freq).
How to do that?
Thanks in advance
Charles Raux
1999 Sep 14
2
DBase File locking issues
Hi All,
I am experiencing issues with the use of DBase files on a Samba 2.0.5a
share, that appear to be due to locking problems. Basically, I have
test programs for both DOS and Win32 that does nothing but append
records to a DBase database (DBF/MDX files). If more than one client
PC is appending to this file, data loss occurs. I get random data
loss, with records lost, and index file
2006 Jun 03
3
Migrating from a legacy Dbase app
All,
My company uses Goldmine as its contact/sales opportunity manager.
(Uses Dbase for it''s DB).
I''m trying to get a Rails app to implement the parts of it we actually use.
I''ve been building my Rails app in MySQL. Now I''m need to start
getting data from Goldmine into my Rails app.
What''s the recommended approach?
A one time transfer of data?
2010 Oct 24
1
SAMBA weird situation
Samba: Version 2.2.10
Kernel: 2.4.31
There is share on the server (for DBASE app) with following config:
comment = zwierzaki 2.5.04N
path = /pub/zwierz/
force user = smbguest
read only = No
guest only = Yes
guest ok = Yes
dos filetime resolution = Yes
I have found weird situation:
- not every file in shared dir is visible under windows but
2005 Dec 02
1
k-means / role of 'nstart'
Hello,
the k-means {stats} help and the Hartigan&Won paper say nothing about
the way random sets works (parameter nstart). I would expect to get
the different results for each random initial set but I always obtain
only one result: how is it selected?
Charles Raux
2006 Oct 11
1
during fitting of successive datasets, stall crashes iterations
Hi all,
I am trying to do fitting of large sets of timeseries data, and error
messages derail the process when I encounter a dataset that doesn't fit. I'd
like to ignore those "misfits" and try another equation or move to the next
dataset. Any ideas? (piece of code below)
Thanks, --Warren
##The code looks something like this:
attach(zf)
x <- hours
2002 May 10
2
RODBC for importing dbf
Hi
I know that it is very easy to import data from a dbf file to R, by
saving the data as csv, for instance.
However, I have several hundreds of files to do that. So, I thought of
using RODBC to read the dbf files and save it as data.frame. However, I
cannot even start (this is my first time using such package):
> library(RODBC)
> bdades <- odbcConnect("prova.DBF")
Warning