similar to: Packages in R & Java

Displaying 20 results from an estimated 3000 matches similar to: "Packages in R & Java"

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 Nov 06
2
GDB under windows
Does anybody have some simple instructions to get me going using the GNU debugger GDB under windows with R? The R Extensions manual mentions briefly debugging under unix, but I've seen seen GDB mention in the Bloodshed Dev C++ IDE so it should be possible to use it with R? Regards, John [Using R-1.8.0 under Windows NT 4.0]
2011 Dec 11
2
Encoding y (r)Jython.-
Hola, Tengo un problemillo con el encoding de unas palabras y trabajarlas en R por medio de rJython. Os explico: cuando quiero utilizar cualquier dato que contenga acentos o eñes o cualquiera de estos caracteres que no usan los angloparlantes obtengo un error. Ejemplo, en R: > jython.call(rJython,''ascii'',''señoría'') Error en jython.exec(rJython,
2003 May 19
3
how to run R as a daemon
Hi all, Using R a as a real-time application called by Php for a website, I would like to run one R process only, which would manage user connections. For the time each user who asks for an analysis causes a new R process to start, which is not suitable in prevision of many users. R needs about 30 seconds to run the script which makes the analysis. The problem is that this waiting time is n
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 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 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 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
2005 Jun 30
2
download.file() / install.packages() from a url with a username and password
I am trying to create a repository for my own packages as an easy way to auto install packages on a number of servers. Obviously, I am able to connect using install.packages() to CRAN without problems but when I specify my own repos I get an error: > install.packages(pkgs, repos="http://some.site.com") Warnings message: cannot open: HTTP status was '401 Authorisation
2003 Sep 18
0
non-numeric binary ops?
Has there been a recent change in the behavior of binary operators? In SparseM it was, until quite recently ok to do scalar multiplication but now, > A*4 Error in A * 4 : non-numeric argument to binary operator > 4*A Error in 4 * A : non-numeric argument to binary operator > A%*%A An object of class "matrix.csr" Slot "ra": [1] 1 1 1 Slot "ja": [1] 1 2 3
2002 Nov 20
1
compiling R from source for windows
I have been using R for some time now and decided to have a go a compiling R from source. I have carefully followed the guidelines set out by Prof Ripley and others, but I get the following message when I try to make: MkRules:92: *** missing separator. Stop. If I comment the line out, I get the same message for the next line. I have searched on Google and many people have mentioned an issue
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 May 14
2
abrupt end to R
Dear All, I haven't seen any further comments about the problem that John Marsland first noted and that I also have: > library(DBI) > library(RMySQL) Warning message: DLL attempted to change FPU control word from 8001f to 9001f > mgr <- dbDriver("MySQL") > con <- dbConnect(mgr, host="localhost", dbname="marketing") upon which R dies...
2009 Jul 20
0
[LLVMdev] x86 unwind support[MESSAGE NOT SCANNED]
On Mon, Jul 20, 2009 at 7:43 AM, Nick Johnson<nicholas.paul.johnson at gmail.com> wrote: > On Mon, Jul 20, 2009 at 10:09 AM, Mark Shannon<marks at dcs.gla.ac.uk> wrote: >> Andrew Haley wrote: >> If you can make your point without any references to any C/C++ specific >> features it might be more convincing ;) >> > > I did.  Recall my mention of
2011 May 24
4
"Alpha testers" para el paquete rPython
Hola, ¿qué tal? Estoy buscando "alpha testers" para mi paquete rPython. El paquete es la evolución natural de rJython, un paquete de R que permite llamar a Jython, el dialecto de Python que corre sobre la máquina virtual de Java, desde R. rPython permite llamar al verdadero Python. Funciona perfectamente en mi máquina, pero necesito ver qué problemas de instalación y uso aparecen en
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
2005 Jun 24
1
Packages and their Management
I was reading with interest Prof. Ripley's article in the May 2005 edition R News entitled "Packages and their Management in R2.1.0". Does anybody know if it is possible to install.packages() directly from a Subversion repository; I thought it might be possible to add an option method="svn" to the function? Ideally, one might want to add the Subversion version