Displaying 20 results from an estimated 2000 matches similar to: "RODBC: data base with decimal point ",""
2010 Oct 13
1
RODBC: forcing a special column to be read in as character
Dear R-users,
I am working with R version 2.10.1 and package RODBC Version: 1.3-2 under windows.
Say I have a table "testtable" (in an Access data base), which has many different columns, among them a character column "X" with "integer-like" data as "0012345".
Using sqlFetch, I'd like to assure that column X is read in as a character variable. So what
2008 Nov 06
3
Umlaut read from csv-file
Dear All!
Reading character strings containing an "umlaut"
from a csv-file I find a (to me) surprising
behaviour in R 2.8.0, that I did not notice in R 2.7.2.
A comparison by "==" results in FALSE, while grep does find the aggreement.
See the example below.
The crucial line is x=="div 1-2 Ver?nderungen",
with the result [1] FALSE in R 2.8.0 but
[1] TRUE in R
2011 Sep 05
1
help with installing tar.gz package
hi,
i'd like to install the package "RGoogleDocs ".
i downloaded to path "E:/R/R-2.13.0/library/RCurl_0.91-0.tar.gz"
i run R from an usb-stick and can't get the install.packages() prompt
to run correctly - can anyone help with this?
thanks,
kay
> sessionInfo()
R version 2.13.0 (2011-04-13)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1]
2012 Mar 27
1
RSqlite UPDATE command problem
All:
I am using RSqlite and want to be able to update individual values in a
record, such as with this simple example:
library(RSQLite)
drv<-dbDriver("SQLite")
con<-dbConnect(drv,"test.db")
my.data<-data.frame(countries=c("US","UK","Canada","Australia","NewZealand"),vals=c(52,36,74,10,98))
2008 Nov 07
1
Encoding() and strsplit()
Dear All,
Encoding() goes beyond my understanding. See the
example. I would expect from reading the help for
Encoding() that strsplit preserves the encoding
for each resulting element, but for simple letters it gets lost.
Also it seems that an Encoding() cannot be
declared for simple letters. They remain in any
case "unknown". In paste() "latin1" seems to dominate
2008 Nov 09
1
attr.all.equal() and all.equal(attributes(), attributes())
Dear All!
If I try to compare the attributes of two
objects, I find a surprising behaviour of
attr.all.equal(). With identical attributes I
receive the answert NULL. If the attributes
differ, the answer is as expecxted and differences are shown.
all.equal(attributes(), attributes()) instead
returns TRUE, if attributes are equal.
See example:
v <- 1:5
attr(v, 'testattribute')
2008 Dec 19
1
How to write a Surv object to a csv-file?
Dear All,
trying to write a data.frame, containing Surv objects to a csv-file I get
"Error in dimnames(X) <- list(dn[[1L]], unlist(collabs, use.names = FALSE)) :
length of 'dimnames' [2] not equal to array extent".
See example below.
May be, I overlooked something, but I expected
that also data.frames containing Surv objects may be written to csv files.
Is there a
2023 Apr 16
1
Package Caret
I have newly installed R, R-tools, RStudio, but still not working:
library(caret)Lade n?tiges Paket: latticeError: Laden von Paket oder
Namensraum f?r ?caret? in loadNamespace(i, c(lib.loc, .libPaths()),
versionCheck = vI[[i]]): fehlgeschlagen
Namensraum ?vctrs? 0.5.2 ist bereits geladen, aber >= 0.6.0 wird gefordert
Error in createDataPartition(hypotezis_df$X, p = 0.75, list = FALSE,
times
2023 Apr 16
2
Package Caret
Many thanks Bert, now is ok, i did not know that "Namensraum" should mean
a package
Am So., 16. Apr. 2023 um 23:44 Uhr schrieb Bert Gunter <
bgunter.4567 at gmail.com>:
> So update the vctrs package to the latest version first before loading
> R-tools (or the caret package, specifically)?
>
> -- Bert
>
> On Sun, Apr 16, 2023 at 1:57?PM G?bor Malomsoki
>
2023 Apr 16
1
Package Caret
So update the vctrs package to the latest version first before loading
R-tools (or the caret package, specifically)?
-- Bert
On Sun, Apr 16, 2023 at 1:57?PM G?bor Malomsoki
<gmalomsoki1980 at gmail.com> wrote:
>
> I have newly installed R, R-tools, RStudio, but still not working:
>
> library(caret)Lade n?tiges Paket: latticeError: Laden von Paket oder
> Namensraum f?r
2008 Mar 19
1
R_ParseVector problem: it's cutting off after the decimal point
Dear all,
my aim is to integrate R in an interactive visualisation software
called Bulk Analyzer developed by VrVis (http://www.vrvis.at).
the code:
SEXP e, tmp;
ParseStatus status;
PROTECT(tmp = mkString("x <- c(1.234,-3.45)"));
PrintValue(tmp);
PROTECT(e = R_ParseVector(tmp, -1, &status, R_NilValue));
PrintValue(e);
UNPROTECT(2);
produces the following output:
[1] "x
2011 Feb 04
2
Finding non-normal distributions per row of data frame?
This is my first attempt at this, so hopefully a few kind pointers can get me
going in the right direction...
I have a large data frame of 20+ columns and 20,000 rows. I'd like to
evaluate the distribution of values in each row, to determine whether they
meet the criteria of a normal distribution. I'd loop this over all the rows
in the data frame, and output the summary results to a new
2005 Aug 11
2
Converting strings with internal delimiters into lists
Hi UserRs,
I know that there has to be an easy way to do this in
R (probably easy enough that once someone clues me in
I'll smack myself on the forehead for not figuring it
out myself), but my searches on my own have not
yielded any hints.
I have many fields in my dataset that participants
entered as "free lists" - i.e., the field constitutes
a varying number of names each
2003 Jul 09
2
RODBC and Oracle: error "table does not exist"
Dear r-helpers!
I have trouble reading data from an Oracle data base using
RODBC Version 1.0-3,
R Version 1.7.1,
Windows XP,
Oracle8 ODBC Driver Version 8.1.6.4.0:
> library(RODBC)
> channel <- odbcConnect(dsn="PAV32", case="oracle", believeNRows=FALSE)
> # ok, this was succesful
> x <- sqlTables(channel)
> x[37, ]
TABLE_CAT TABLE_SCHEM TABLE_NAME
2009 Feb 18
3
Barplot with Sorted X-Axis
Hi,
I have a binned data that looks like this.
(8.048,18.05] (-21.95,-11.95] (-31.95,-21.95] (18.05,28.05] (-41.95,-31.95]
81 76 18 18 12
(-132,-122] (-122,-112] (-112,-102] (-162,-152] (-102,-91.95]
6 6 6 5 5
(-91.95,-81.95] (-192,-182]
2008 Jun 27
0
Fwd: Re: Problems when installing RODBC in debian etch
Hi Johannes and Dirk:
A Divendres 27 Juny 2008 17:05, Johannes Ranke va escriure:
> Hi,
>
> I just added RODBC to the list of packages maintained for the Debian
> etch backports on CRAN. The r-cran-rodbc packages are on their way to
> CRAN - if you want them now, you can use
>
> deb http://chem.uft.uni-bremen.de/r-cran etch-cran/
>
> as an alternative.
Thank you
2011 Jan 24
1
iproute2 custom tables and rules the CentOS way...
Hi all;
I have a custom iproute2 table and a few rules to go along with it
(CentOS 5) -- I have added the table to /etc/iproute2/rt_tables.
if-up and friends doesn't seem to handle this real gracefully. How are
those of you out there doing something similar managing this
customization?
I don't really want to muck with /etc/init.d/network or the if-up
scripts to avoid breaking upgrades.
2017 Aug 15
1
[Bug 1168] New: type nat hook output doesn't work anymore
https://bugzilla.netfilter.org/show_bug.cgi?id=1168
Bug ID: 1168
Summary: type nat hook output doesn't work anymore
Product: nftables
Version: unspecified
Hardware: x86_64
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: kernel
Assignee: pablo at netfilter.org
2009 Mar 19
1
How to keep attributes when dropping factor levels?
Dear All,
to drop unused factor levels two ways are outlined in R-help. In both
cases a label attribute is lost.
The same happens, when using car:::recode.
Is there a simple way to avoid losing attributes?
Thanks,
Heinz
## example
ff <- factor(substring("statistics", 1:10, 1:10), levels=letters)
attributes(ff)$label <- 'test label'
attributes(ff)$label
gg <- ff[,
2012 May 25
1
Java problem - XLConnect/xlsx package
Hi,
I hope you guys can help me, I already posted this question on
stackoverflow but did not get any help (which worked). And I need to solve
this problem as quick as possible:
In our firm we migrated to windows 7 (64-bit) and also updated the java
packages (1.6.0_24) and also R (to 2.15). Then I tried to install my
packages which i use daily and one of em is the xlsx package.
But if I load the