Displaying 20 results from an estimated 1000 matches similar to: "RSQLite column names underscores"
2006 Mar 15
3
"\r" with RSQLite
What am I doing wrong, or is the \r that I'm getting
in the example below a bug?
> a <- (1:10)
> b <- (LETTERS[1:10])
> df <- as.data.frame(cbind(a, b))
>
> df
a b
1 1 A
2 2 B
3 3 C
4 4 D
5 5 E
6 6 F
7 7 G
8 8 H
9 9 I
10 10 J
> library(RSQLite)
> drv <- dbDriver("SQLite")
> con <- dbConnect(drv, dbname = "Test")
2006 Mar 15
3
"\r" with RSQLite
What am I doing wrong, or is the \r that I'm getting
in the example below a bug?
> a <- (1:10)
> b <- (LETTERS[1:10])
> df <- as.data.frame(cbind(a, b))
>
> df
a b
1 1 A
2 2 B
3 3 C
4 4 D
5 5 E
6 6 F
7 7 G
8 8 H
9 9 I
10 10 J
> library(RSQLite)
> drv <- dbDriver("SQLite")
> con <- dbConnect(drv, dbname = "Test")
2005 Oct 27
2
RSQLite problems
Hi, I'm experimenting with using (R)SQLite to do data management. Here are
two little problems that I've encountered:
1. The presence of ',' in string values causes trouble since ',' is also the
delimiter used in the SQL statement.
2. A newline '\n' line attached to the last string value of each row.
Some examples:
> library (RSQLite)
Loading required
2004 Nov 25
3
Searching for a string in RSQLite
I'd like to search for a particular string in an SQLite database using
RSQLite, but I'm running into problems constructing the query
properly, because of embedded quotes and parens in the string.
Is there a function that escapes these for me, or some other fixup
that would let me do the queries below? In the real situation I don't
have control over what strings get searched for.
2008 Jul 16
1
RSQLite maximum table size
Hi All,
I am trying to make write a table in RSQLite. And I get the error mentioned
below
mat<-as.data.frame(matrix(rnorm(n=244000000),nrow=244000,ncol=1000))
> dbWriteTable(con, "array", mat)
[1] FALSE
*Warning message:
In value[[3]](cond) :
RS-DBI driver: (error in statement: too many SQL variables)*
Can someone please tell me what is maximum size of a table( max number of
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))
2011 Jan 04
2
RSQLite to input dataframe
Dear r helpers,
At first, I apologize for raising a query which seems to be a stupid interpretation on my part. I am trying to learn SQLite.
Following is an example given in the RSQLite.zip file (Page # 4)
drv <- dbDriver("SQLite")
tfile <- tempfile()
con <- dbConnect(drv, dbname = tfile)
data(USArrests)
dbWriteTable(con, "arrests", USArrests)
On the similar
2005 Dec 31
2
Q about RSQLite
Happy new year, dear listers,
I have a question about Rsqlite.
when I fetch the data out of sqlite database, there is something like '\r\n'
at the end of last column. Here is the example:
Sepal_Length Sepal_Width Petal_Length Petal_Width Species
1 5.1 3.5 1.4 0.2 setosa\r\n
2 4.9 3.0 1.4 0.2 setosa\r\n
3
2007 Jan 09
1
RSQLite NA on input
Hello
I haev some .csv data files with missing values - eg below
1,'F','C04','X100',20.93,'C','B',7,8,7.5,2421,2230,2230,2,1,85,43,85,46,48,60
If I have a missing value - so file looks like ,85,46,,48, etc
then RSQLite reads it as zero. ,85,46,0,48, etc
I need it read it as NA.
Tried various combinations with no success, adn found nothing on help
site.
2006 Jan 19
0
RSQLite
Version 0.4-1 of the RSQLite package has been uploaded to CRAN.
RSQLite embeds the SQLite engine in R (see http://www.sqlite.org)
Changes include:
* Fixed problems exporting/importing NA's
* An new experimental dbWriteTable() method to create SQLite tables
from simple files (delimited unquoted fields), e.g.,
> dbWriteTable(con, "table_name", "file_name", ...)
2006 Jan 19
0
RSQLite
Version 0.4-1 of the RSQLite package has been uploaded to CRAN.
RSQLite embeds the SQLite engine in R (see http://www.sqlite.org)
Changes include:
* Fixed problems exporting/importing NA's
* An new experimental dbWriteTable() method to create SQLite tables
from simple files (delimited unquoted fields), e.g.,
> dbWriteTable(con, "table_name", "file_name", ...)
2007 Jan 04
0
RSQLite 0.4-18 sent to CRAN
A new version of RSQLite has been pushed to CRAN.
In this version...
* Further integration of the manifest type system available since
SQLite 3. We now obtain the column type from the DB instead of
pulling everything across as a character vector and calling
type.convert. This should improve performance and provide a more
reliable interface to build on top of. Note, however, that since
2007 Jan 04
0
RSQLite 0.4-18 sent to CRAN
A new version of RSQLite has been pushed to CRAN.
In this version...
* Further integration of the manifest type system available since
SQLite 3. We now obtain the column type from the DB instead of
pulling everything across as a character vector and calling
type.convert. This should improve performance and provide a more
reliable interface to build on top of. Note, however, that since
2009 Feb 20
2
importing data to SQLite database with sqldf
Hi all,
I am attempting to learn SQL through sqldf...
One task I am particularly interested in is merging separate
(presumably large) files into a single table without loading these
files into R as an intermediate step (by loading them into SQLite and
merging them there).
Taking a step back, I've considered these alternatives:
1) I know if I use straight SQLite commands I might use the
2011 Dec 01
0
RSQLite 0.11.0
A new version of RSQLite has been uploaded to CRAN. Details on the enhancements and fixes are below. Please direct questions to the R-sig-db mailing list.
Version 0.11.0
- Enhance type detection in sqliteDataType (dbDataType). The storage
mode of a data.frame column is now used as part of the type
detection. Prior to this patch, all vectors with class other than
numeric or logical were
2011 Dec 01
0
RSQLite 0.11.0
A new version of RSQLite has been uploaded to CRAN. Details on the enhancements and fixes are below. Please direct questions to the R-sig-db mailing list.
Version 0.11.0
- Enhance type detection in sqliteDataType (dbDataType). The storage
mode of a data.frame column is now used as part of the type
detection. Prior to this patch, all vectors with class other than
numeric or logical were
2011 Jan 14
3
RSQLite - How to express(or save) a dataframe as an output?
Dear R helpers
Suppose following is an output due to some R process. I wish to save it as a table in 'temp.db'
df <- data.frame(x = c(5, 4, 3, 11), y = c(25, 16, 9, 121))
library(RSQLite)
write('** Initializing','')
drv <- dbDriver("SQLite", shared.cache = TRUE)
con <- dbConnect(drv, dbname = "temp.db",
2008 Feb 29
1
RSQLite error
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20080229/e3eaec7a/attachment.pl
2009 Mar 16
1
errors when install RSQLite
Dear all,
I am trying to install RSQLite package since I want to install "sqldf", and
I used
>> install.packages("RSQLite") first, which gave Error message as below:
make: *** [RS-DBI.o] Error 1
chmod: cannot access `/usr/lib/R/library/RSQLite/libs/*': No such file or
directory
ERROR: compilation failed for package 'RSQLite'
** Removing
2010 Aug 13
2
64 bit RSQLite
Hi folks,
Ubuntu 10.04 64 bit
Where can I find 64 bit RSQLite?
It seems not there;
RSQLite: SQLite interface for R
http://cran.r-project.org/web/packages/RSQLite/index.html
TIA
B.R.
Stephen L