similar to: Read/write file locking mechanism using SQL?

Displaying 20 results from an estimated 30000 matches similar to: "Read/write file locking mechanism using SQL?"

2009 Nov 30
1
RSQLite does not read very large values correctly
Hello, I am trying to import data from an SQLite database to R. Unfortunately, I seem to get wrong data when I try to import very large numbers. For example: I look at the database via SQLiteStudio(v.1.1.3) and I see the following values: OrderID Day TimeToclose 1 2009-11-25 29467907000 2 2009-11-25 29467907000 3 2009-11-25 29467907000 Now I run this R Code: >
2011 Apr 13
1
Decimals in R/SQL
Hello, When I am writing in sqldf or RSQLite I lose the decimals in my matrix. The only way I can get decimals is by multiplying by 1.00000, etc. I have tried manipulating the options, but it is only effective once I multiply by 1.0000. I appreciate any suggestions! Thanks! Example: z <- sqldf ("select ST, SUM(AGEP*PWGTP)*1.000000000/SUM(PWGTP)*1.00000000000000 as wgtage from ss09
2008 May 12
1
Insert a recorde into a table using SQL
Dear list, I want to insert a recorde into a SQLite table by dbGetQuery(), but there is a problem when the value contains quotation mark. > dd<-data.frame(txt=c("having both ' and \" in character.","OK")) > library(RSQLite) Loading required package: DBI > con<-dbConnect(dbDriver("SQLite"),":memory:") >
2010 Jul 11
1
RSQLite install R x86_64 fail
Hi, On a fresh install of R on mac os x 10.6.4 (snow leopard) RSQLite did not install while running biocLite() $ R R version 2.11.1 (2010-05-31) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 [...] Loading required package: utils BioC_mirror = http://www.bioconductor.org Change using chooseBioCmirror(). [Previously saved workspace restored] >
2004 Nov 16
0
Please help using SQL with R & SQL Server
I cannot get a database connection in R to my MS SQL Server database. In S-Plus 6.2 I have used the following successfully: rawdata <- importData(type="DIRECT-SQL", user="xfl2", password="xfl2", server="rinnycs0059", database="xf", table="", sqlQuery="select * from testTbl") In R I have tried both DBI and RSQLite, but
2008 Apr 09
0
AnnotationDBI and RSQLite installation problem
Hi All, I tried to install AnnotationDBI like so: source("http://bioconductor.org/biocLite.R") biocLite("AnnotationDbi") and got this error: .... Loading required package: RSQLite Error in dyn.load(file, ...) : unable to load shared library '/RHEL3/local/lib64/R/library/ RSQLite/libs/RSQLite.so': /RHEL3/local/lib64/R/library/RSQLite/libs/RSQLite.so: undefined
2008 May 19
1
RSQLite and undefined symbol:sqlite3_bind_in
Hi All, I tried to install AnnotationDBI like so: source("http://bioconductor.org/biocLite.R") biocLite("AnnotationDbi") and got this error: .... Loading required package: RSQLite Error in dyn.load(file, ...) : unable to load shared library '/RHEL3/local/lib64/R/library/ RSQLite/libs/RSQLite.so': /RHEL3/local/lib64/R/library/RSQLite/libs/RSQLite.so: undefined
2010 Jun 10
1
HOW to install RSQLite database
Please let me know where i have to type below thing to RSQLite database get installed.Please let me know the solution.Thanks in advance RSQLite -- Embedding the SQLite engine in R (The RSQLite package includes a recent copy of the SQLite distribution from http://www.sqlite.org.) Installation ------------ There are 3 alternatives for installation: 1. Simple installation: R CMD
2008 Aug 25
8
SQL Primer for R
Dear R wizards: I decided to take the advice in the R data import/export manual and want to learn how to work with SQL for large data sets. I am trying SQLite with the DBI and RSQLite database interfaces. Speed is nice. Alas, I am struggling to find a tutorial that is geared for the kind of standard operations that I would want in R. Simple things: * how to determine the number of rows in a
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
2001 Nov 08
0
File Locking - File Opened Read-Only Locks File for Read-Write Access
Configuration: Samba 2.2.1a on IBM AIX with W2K Professional clients When a file is opened for read-only access, the file can not be opened read-write by another user. Specifically, MS Word 2000 template files (Work Group Templates) are maintained in a shared Samba directory. File access is limited to the template administrator via UNIX permissions (755) - The template administrator is the owner
2007 Sep 08
2
Problem in installing packages on linux machine...
Hi, I am trying to install RSQLite package on my Fedora workstation. I tried to install other packages as well, but each time I got the same error messages saying "compilation error" and "non zero exit status". Do I have to specify "lib="? I never specified the library path before when I was using Fedora Core 6. Warning in install.packages("RSQLite")
2011 Apr 26
1
Install and Configure RSQLite in Ubuntu
Hi Folks, I'm new to the linux world and am having some trouble installing the RSQLite package. SQLite is installed, but some dependencies(?) seem to be missing. Can anyone help? > sessionInfo() R version 2.13.0 (2011-04-13) Platform: i686-pc-linux-gnu (32-bit) > install.packages() Installing package(s) into ‘/home/abraham/R/i686-pc-linux-gnu-library/2.13’ (as ‘lib’ is unspecified)
2010 May 30
0
New package RSQLite.extfuns and minor upgrade for RSQLite
RSQLite.extfuns provides SQLite extension functions for use with RSQLite. The package is a wrapper of extension functions written by Liam Healy and made available through the SQLite website (http://www.sqlite.org/contrib). You can make the extension functions available on a per db connection basis like this: library("RSQLite.extfuns") db <- dbConnect(SQLite(), dbname =
2010 May 30
0
New package RSQLite.extfuns and minor upgrade for RSQLite
RSQLite.extfuns provides SQLite extension functions for use with RSQLite. The package is a wrapper of extension functions written by Liam Healy and made available through the SQLite website (http://www.sqlite.org/contrib). You can make the extension functions available on a per db connection basis like this: library("RSQLite.extfuns") db <- dbConnect(SQLite(), dbname =
2012 Aug 22
1
loading both RPostgreSQL and RSQLite leads to problems
hello, if i load the RSQLite package in addition to the RPostgreSQL package, i get various errors when trying to use RPostgreSQL functions. here is an example transcript showing one such error: ========================================================== R version 2.15.0 (2012-03-30) [...] > packageVersion('RPostgreSQL') [1] 0.3.2 > packageVersion('RSQLite') [1] 0.11.1
2012 Jul 16
0
RSQLite install problem
Hi, I'm trying to install RSQLite on R 2.14 Ubuntu 12.04 i686. The installation always gets stalled and ends up not working. I installed libsqlite3-dev but still no luck. Anyone know how to solve this? $ R CMD INSTALL RSQLite_0.11.1.tar.gz * installing to library ‘/home/ubuntu/R/i686-pc-linux-gnu-library/2.14’ * installing *source* package ‘RSQLite’ ... ** package ‘RSQLite’ successfully
2010 May 07
0
Release announcement: RSQLite 0.9-0 now with more BLOBs
RSQLite is an R package conforming to the R DBI interface that allows for interaction with SQLite. Version 0.9-0 highlights: * Support for SQLite BLOBs using raw vectors in R * New memory model for db connections allows for more familiar R semantics and no predefined limit to the number of connections you can have in an R session. * Upgrade to SQLite 3.6.23.1 * Removed an unnecessary
2010 May 07
0
Release announcement: RSQLite 0.9-0 now with more BLOBs
RSQLite is an R package conforming to the R DBI interface that allows for interaction with SQLite. Version 0.9-0 highlights: * Support for SQLite BLOBs using raw vectors in R * New memory model for db connections allows for more familiar R semantics and no predefined limit to the number of connections you can have in an R session. * Upgrade to SQLite 3.6.23.1 * Removed an unnecessary
2010 Jul 28
1
sqldf 0.3-5 package or tcltk problem
This is my first post. I am running Mac OS X version 10.6.3. I am running R 2.11.0 GUI 1.33 64 bit. This may or may not be related to sqldf, but I experienced this problem while attempting to use an sqldf query. The same code runs with no problem on my Windows machine. Here is what happens: > r=sqldf("select ... ") Loading required package: tcltk Loading Tcl/Tk interface ... Then