Displaying 20 results from an estimated 600 matches similar to: "how to run R as a daemon"
2003 May 13
2
RMySQL crashes R
I have justed upgraded R v1.7.0 on Windows NT 4 and have installed the
latest RMySQL (version 0.5-1)and DBI (version 0.1-5) packages.
When I issue the following commands (tactfully adjusted) R just crashes and
disappears, any ideas?
require(RMySQL)
m <- dbDriver("MySQL")
con <- dbConnect(m, dbname="xxx", user="xxx", password="xxx",
2003 Nov 18
2
readline not found
Hi all,
I just upgraded to R-1.8.0. Everything worked fine but command line
editing does not work. This clearly indicates that readline has not been
found in the compilation process.
How could I explicitely indicate where to find it ?
I use a Red Hat 8.0 system. I checked the FAQ which says readline-devel
is also needed, but I have it already installed. Perhaps should I add
the configure
2003 Jul 11
2
unz()
I am having problems getting the unz() function to work as a connection to
start reading a file...
z <- unz("c:/temp/stoxx.zip", "close_tmi_components.txt", "r")
readLines(z,2)
yields the following problems:
> z <- unz("c:/temp/stoxx.zip", "close_tmi_components.txt", "r")
Error in unz("c:/temp/stoxx.zip",
2003 Jul 23
1
S3 and S4 classes
Hi helpers,
I've been programming in R for a few months now but I still have doubts
about my code - I would like it to be completely S4-compatible. The
current code works fine but is probably 'unclean'.
I read the interesting article in the last R News and it helped me
understand the difference on the whole between S3 and S4 classes, but I
need a practical example. Could anyone
2003 Sep 09
1
No joy installing R with shared libs
>> Can some kind soul please give me a fool proof recipe for building R
>> and RSPython so that it actually works?
> I don't have a recipe, but one thought to help debug the process: Try
> installing RPy [1]. RPy also provides access to R via Python and uses
> the libR.so library. If you can install and "import rpy" without
> problem then it must be
2003 Sep 17
2
possible bug in diag()
It concerns trival diagonal matrices:
> diag(1)
[,1]
[1,] 1
> diag(rnorm(1))
<0 x 0 matrix>
> diag(rnorm(1),nrow=1)
[,1]
[1,] 0.4843697
There's an obvious work around... but I thought it was worth notifying the
list.
Regards,
John Marsland
**********************************************************************
This is a commercial communication from
2003 Sep 30
3
Adding Tk extensions to R for windows
Hi,
I'm developing an R/TclTk application which uses the BWidget and
Tktable Tk extensions and I'm trying to make it easy to install.
For now, I'm focusing on Windows users who start with nothing.
I have built Tcl/Tk and Tktable for windows using Msys/MinGW.
(BWidget contains only Tcl scripts so does not need building.)
I have then copied Tktable and BWidget into the lib subdirectory
2003 Nov 03
2
POSIXct under R-1.8.0 with Methods package
I am having problems porting a package to R-1.8.0 where I have complex S4
classes with slots inheriting from POSIXct. For example:
> setClass("test1", representation(date="POSIXct"))
[1] "test1"
> new("test1", date=as.POSIXct("2003-10-09"))
Error in ext@test(object) : couldn't find function "%in %"
Under R-1.7.1 this worked
2003 May 07
3
how to order a dataframe ?
Hi,
I've got a problem which seemed simple to me at first view, but which I
haven't managed to solve yet. I have a dataframe, or a matrix, and I
would like to order it along with one of the variables/columns. I tried
to use order() but it remained quite unclear to me. How should I proceed ?
Thanks in advance (I guess that's not very difficult a question for most
of you)
Laurent
2003 Jul 30
2
building packages using S4 methods
I have been building a package around a sequence of S4 classes which I have
coded in separate *.R files in the "./R" subdirectory of the package.
The package builds without error, but when I load it in R I get:
Error in reconcilePropertiesAndPrototype(name, slots, prototype,
superClasses) :
Class "xxxx" extends an undefined class ("yyyyyy"
I guess R is trying to
2003 Dec 03
1
Rblas for dual Xeon
Does anybody have a tuned Rblas.dll compiled against ALTLAS for a dual Xeon
system?
Unfortunately, we have very strict security that does not allow compilers of
any sort on production desktops - we only have Pentium III development PCs.
Regards,
John Marsland
**********************************************************************
This is a commercial communication from Commerzbank AG.\ \
2004 Oct 26
1
Problem with make recommended
I have been having problems making the recommended packages under windows NT
when WINHELP is set to NO. It seems to go ahead and create the chm files and
then fall over with an error. The base packages work fine.
Clearly I can fix this myself messily, but I thought it might be useful
feedback.
Regards,
John Marsland
_
platform i386-pc-mingw32
arch i386
os mingw32
system
2003 Sep 26
1
installation : make fails (R-1.7.1 on RedHat 8.0)
Hi,
I'm trying to compile R-1.7.1 from source (on a RedHat 8.0) instead of
using the binary version, as it has often been advised.
However I don't manage to find a solution to the following error which
occurs during the make procedure :
/!\-------------------------------------------/!\
building package 'ctest'
mkdir -p -- ../../../library/ctest/R
mkdir -p --
2003 Aug 19
2
R-1.7.1 gets installed without default packages & without readline
Hi all,
Trying to install R-1.7.1 on a RedHat 8.0 platform, I have a few problems.
R gets installed without default packages (but base and ctest) : make
script fails at the end of the procedure (configure is made
successfully). This is the (translated) log I have :
/gcc -I../../../../include /usr/include/mysql -D__NO_MATH_INLINES
-mieee-fp -fPIC -g -O2 -c ansari.c -o ansari.o
gcc: cannot
2003 Aug 05
3
s4 methods and base
I'm sure that many people are in the same position as me in that they are
trying to write packages and code that is vaguely "future proof".
Would it be possible to get some guidance on how the R-core team see the
evolution of the "base" package with regard to s4 methods.
There seem to be quite a lot of inconsistencies between s3 and s4 methods
and classes currently and
2003 Jun 10
1
c(...) and methods
I have been writing some S4 classes and have a problem about how I might
pass a signature to "c()".
Take the following example:
setClass("collection", representation("list", date="POSIXt"))
x <- new("collection", list(1,2,3), date=Sys.time())
y <- new("collection", list(4,5,6), date=Sys.time())
obviously, I can do c(x,y), but
2003 Jun 13
1
Documenting classes and methods: was Re: R-devel Digest, Vol 3, Issue 23
Might it be an idea to make "?" a special operator akin to "+" or "[", R
users could then write their own help functions - may be even making "?"
generic? With the proposed xml help system one could imagine quite
sophisticated context sensitive help systems.
Regards,
John Marsland
PS this has been a very useful debate for those of us enthusiastically
2003 Aug 05
1
RE: [R] ^ operation much slower in R 1.7.1 than in R 1.7 .0 ???
I have both the CRAN binary and my own compiled version of R v1.7.1 on the
same machine (Dell Pentium III 800 MHz running NT 4)
Using the example provided earlier:
> phi <- 1.6180339887498949
> a <- floor(runif(750000)*1000)
> system.time(b <- (phi^a - (-phi)^(-a))/sqrt(5))[3]
I get 10.99 secs on the CRAN binary and 2.09 secs on my own compiled
version.
I hope this helps
2004 Mar 30
1
seq.POSIXt() bug not fixed in R 1.8.1 (PR#4558)
I am still experiencing problems with seq.POSIXt() missing off the last day
of the series:
> seq(as.POSIXct("2004-03-25"),as.POSIXct("2004-03-31"),by="DSTdays")
[1] "2004-03-25 GMT Standard Time" "2004-03-26 GMT Standard Time"
"2004-03-27 GMT Standard Time"
[4] "2004-03-28 GMT Standard Time" "2004-03-29 GMT Daylight
2003 Jul 18
4
R won't connect to the internet
Hi
I can't get R to connect to the internet. I am running R 1.7.1 on Windows XP and whenever I try to download packages etc from within R using the internet, it fails.
OK so I am behind a firewall and use a proxy server....
SO, if I go to my MS-DOS prompt and type:
RGui.exe --internet2
everything works....
BUT i can't set up a shortcut for this as Windows (I hate Windows) complains