Displaying 20 results from an estimated 200 matches similar to: "Installing and Loading RMySQL on OS X 2.8"
2007 Mar 20
1
RMySQL load error
I'm having trouble getting RMySQL to load. I was able to build it and install
it (RMySQL_0.5-11.tar.gz). I was also able to build and install mysql-5.0.37.
I've read many postings about this but have not found a mention of my
particular problem (some closely related). I get the "unable to load shared
library, no such file" error, but all the files do exist, RMySQL.so and
2005 Mar 09
1
RMySQL installed but not availalable
I don't use MySQL but I have seen messages like this before. They often have replies which indicate that you need to follow the instructions more closely. I suggest you search the list for these previous posts as I'm sure there is help there, somewhere!
Tom
> -----Original Message-----
> From: Adriano von Sydow [mailto:pdasilva at xtra.co.nz]
> Sent: Thursday, 10 March 2005 5:13
2007 Dec 21
0
RMySQL installation
Hi,
I am having trouble getting RMySQL running on a solaris machine.
[43] bedrock:/home/jayoung/source_codes/R/other_packages> uname -a
SunOS bedrock 5.10 Generic_118833-36 sun4v sparc SUNW,Sun-Fire-T200
I thought I had finally managed to get it installed, albeit with some
warnings that I didn't understand (it took me a while to find where
our mysql libraries were), but when I tried
2009 Jan 10
0
RMySQL CREATE TABLE error
Hi all-
I am stumped. The code in A. returns errors at lines 14 and 15 and fails
to load series1 and series2. However, in B., if temp1 and temp2 are
called again (which returns a "Table exists" error; see lines 14-17 in
B.) series1 and series2 load correctly. Any ideas? Also-I am open to any
suggestions to improve the code as I am a horrific programmer. Thanks
A.
1 >
2003 Jul 15
1
dbApply (R newbee)
I am trying to use R interfaced with MySQL. Present goal is that R should
calculate the 85% quantile of AvgSpeed for each LinieID. Looking through
documentation of the RMySQL Package, I guessed that dbApply would do the
trick due to this example
## compute quanitiles for each network agent
con <- dbConnect(MySQL(), group="vitalAnalysis")
res <- dbSendQuery(con,
2004 Jun 01
1
Problem with .First.lib while running R CMD check
I am having difficulty running R CMD check using the 30May04 version of
R-devel and a new version of the Hmisc package:
* checking S3 generic/method consistency ... WARNING
Error in .tryQuietly({ : Error in library(package, lib.loc = lib.loc,
character.only = TRUE, verbose = FALSE) :
.First.lib failed
Execution halted
See section 'Generic functions and methods' of the
2004 Mar 10
2
R CMD check errors
Hello,
I'm getting some error messages from R CMD check I can't deal with.
I'm working under Linux with R 1.8.1
The package working directory can be found at:
http://www.uni-bayreuth.de/departments/math/org/mathe7/DISTR/distr.tar.gz
Here's the 00check.log produced by R CMD check distr
* using log directory '/home/tom/studium/R/swp/swp/package/distr.Rcheck'
* checking
2003 Dec 24
1
Questions and suggestions about namespaces
I'm trying to add a namespace to my orientlib package. It makes use
of S4 methods.
A few questions, and a couple of suggestions:
1. Is there a way to put version dependency into the NAMESPACE file?
I need to import something from stats in r-devel, but (of course) I
get an error when using the same import directive in r-patched and
earlier versions, because there is no stats package.
2.
2008 Oct 08
0
Applying an R script to data within MySQL? How to?
I am trying something I haven't attempted before and the available
documentation doesn't quite answer my questions (at least in a way I can
understand). My usual course of action would be to extract my data from my
DB, do whatever manipulation is necessary, either manually or using a C++
program, and then import the data into R. Now I need to try to do it all
within R+RMySQL+MySQL.
I
2003 Jul 17
1
dbApply and data.frame
Hallo again
I now succeeded in using dbApply on my data and I can convert it into a
data.frame. But as Peter Dalgaard pointed out I his answer to my earlier
question (Re: [R] list to data frame, 17.07.2003) I get one row and 10000
columns instead of what I want two columns and 10000 rows when I convert
the list that dbApply returns to a Data frame.
The list I want to convert looks like this
2007 Aug 11
1
Connecting to database on statup
Hello,
Q/ Is it possible to create a DBMS connection automatically on startup of R? (Making sure of course that the db server has been started...)
I am running MySQL on Mac OS X 10.4.2 with R2.4.1.
I have tried to write a function using the RMySQL commands (below) and place them in .First of .RProfile:
drv <- dbDriver("MySQL")
dbcon <- dbConnect(drv, {other parameters present in
2004 Jul 08
1
building packages with NAMESPACE
hi!
I tried to build a very simple package with NAMESPACE file,
such that datasets are loaded only dynamically.
> a2 <- function(x=a1) x+4
> a1 <- 1:10
> package.skeleton("aaa", list=c("a1", "a2"))
Then I modified the help files and added the file NAMESPACE with these
2 lines:
useDynLib(aaa)
export(a1, a2)
Then "R CMD BUILD aaa" works
2008 Oct 15
1
dbAppy questions/clarifications
In the example in the documentation, I see:
rs <- dbSendQuery(con,
"select Agent, ip_addr, DATA from pseudo_data order by Agent")
out <- dbApply(rs, INDEX = "Agent",
FUN = function(x, grp) quantile(x$DATA, names=FALSE))
Maybe I am a bit thick, but it took me a while, and a kind hint from Phil,
to figure much of this out.
It is clear that the SQL
2003 Dec 05
1
rcmd check question.
Hi!
Can anyone tell what may causes the following errors?
They printed during a
>rcmd check packagename
* checking S3 generic/method consistency ... WARNING
Error in .tryQuietly({ : Error in file(file, "r") : unable to open connection
Execution halted
* checking for replacement functions with final arg not named 'value' ... WARNIN
G
Error in .tryQuietly({ : Error in
2002 Sep 10
1
setGeneric(); R CMD check
1. Is it always the case that when defining generic functions in
a package, the package needs to be installed as a binary package
to avoid having the generic functions in the .GlobalEnv?
2. Defining a generic function in a "non-binary" package triggers
a check warning
$ R CMD check ...
...
* checking for code/documentation mismatches ... WARNING
Objects
2009 Dec 30
1
seg-fault... but on what
I got the following after running succesfully through this loop 28 million
times... the loop opens text files in a directory and inserts line by line
into a database...
*** caught segfault ***
address 0xc0000010, cause 'memory not mapped'
Traceback:
1: .getGeneric(f, where, package)
2: getGeneric("coerce", where = where)
3: as(obj, "integer")
4:
2002 Oct 16
5
Database newbee problem...
Hi all,
This is a potentially very stupid question about MySQL <-> R
interaction, but I have not been able to solve it.
I'm just trying to connect R to my MySQL databse, and gets this:
> library(RMySQL)
Loading required package: methods
> m <- dbDriver("MySQL")
> con <- dbConnect(m,group="testdb")
Process R segmentation fault at Wed Oct 16 07:04:30
2004 Jul 14
3
ROracle - fetch gives empty dataframe
Dear R-users,
I was able to make ROracle package to connect to the DB (Oracle91,
64bit, on Solaris). But after executing siple SQL query, "fetch"
commaned gives me an empty dataframe.
### RORACLE INSTALATION PROCEDURE ###
R CMD INSTALL --configure-args='--enable-extralibs' --enable-oracle32=no
~/tmp/ROracle_0.5-5.tar.gz #since we have 64bit Oracle9i instalation
PROBLEM:
2004 Jan 30
1
a problem loading package 'subselect'
Hi,
I downloaded the subselect package from CRAN and installed it in the
system wide R library path. During installation the package compiled the
fortran sources with no errors.
However, when loading the library gives me an error:
> library(subselect)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
2004 Jan 14
0
rcmd check question.
I was getting similar errors, which I finally tracked down to the
following:
I had accidentally left an extraneous "test.R" in my pkg/R directory;
that file contained a system call to an external program that created a
particular file, which I then tried to read into R. The R code that
triggered the error from .tryQuietly was the attempt to open the file. I
figured this out by