Displaying 20 results from an estimated 30000 matches similar to: "Start R from bash/bat file and end in interactive mode"
2012 Jan 11
1
Rook: software and specification for R web applications and servers
Dear ?useRs,
Rook version 1.0-3 has been submitted to CRAN. In the mean time you
can get it here:
https://github.com/jeffreyhorner/rRack/blob/master/Rook_1.0-3.tar.gz
The latest release contains support for deployment with rApache. Please see
3.6.5 and 3.6.6 under section 'Configuring rApache' in the manual:
http://www.rapache.net/manual.html#Configuring_rapache
What is Rook? A
2012 Jan 11
1
Rook: software and specification for R web applications and servers
Dear ?useRs,
Rook version 1.0-3 has been submitted to CRAN. In the mean time you
can get it here:
https://github.com/jeffreyhorner/rRack/blob/master/Rook_1.0-3.tar.gz
The latest release contains support for deployment with rApache. Please see
3.6.5 and 3.6.6 under section 'Configuring rApache' in the manual:
http://www.rapache.net/manual.html#Configuring_rapache
What is Rook? A
2009 Nov 10
1
Command-line arguments and --interactive
Hello,
I am interested in passing a command or two to R on the command
line. The desired behavior is for R to run these commands first, and then
begin an interactive session. For example:
$ R -e 'foo <- read.csv("/tmp/foo.csv")'
...which would launch R and execute that command, so when I return from
getting coffee, foo would be loaded.
I know that if I put this command
2012 Oct 24
2
concurrent requests (Rook, but I think the question is more general)
This question involves Rook, but I think the answer will be general
enough that it pays to post here. At any rate, I don't know enough to
know whether this is a Rook only issue or a general R issue.
Here's what I'd like to do (and indeed, have code that should do this):
1. Start R, Rook
2. Start an analysis via a HTTP request to Rook. This analysis uses
.Call() to some compiled C
2006 Nov 14
2
sshd behaviour when people are trying to break in
Hi,
When people try and break into my system from the internet I get lots
of messages like:
Nov 14 19:08:13 rook sshd[6333]: Failed password for invalid user guest from 210.83.48.238 port 40811 ssh2
Nov 14 19:08:19 rook sshd[6338]: Invalid user admin from 210.83.48.238
Nov 14 19:08:19 rook sshd[6338]: Failed password for invalid user admin from 210.83.48.238 port 40920 ssh2
Nov 14 19:08:24 rook
2012 Nov 21
1
paths and Rook problems only in OSX CRAN binary package?
Hi everyone,
I'm trying to diagnose a problem in my R package, but it is a little
tricky since it seems to occur only with the Mac OSX CRAN binary build.
My package starts a Rook server and opens a browser. On my own system
(details below), when I build the package, I have no trouble. The Rook
server starts and the page loads in the browser.
However, if I've installed it from CRAN, I
2012 Sep 18
1
creating graphs using Rook
hi,
I m said to display graph in browser using Rook.
So i found a code i.e
library(Rook) # for web functionality
library(ggplot2) # for graphing
library(tseries) # used to grab time series from yahoo for stock symbols
library(plyr) # data tweaks
PIC.DIR = paste(getwd(), 'pic', sep='/')
# define the web page form
newapp = function(env) {
req =
2001 Mar 29
1
Detaching "ctest"
Hi Everyone,
We have just upgraded to R-1.2.1, and I note, in contrast to R-1.1.1, that
ctest is now loaded automatically. The mechanism for this is to create a
.First function in base:
.First <- function() {
require("ctest", quietly=TRUE)
}
Now I don't want ctest, but I find that simply putting
if (length(grep("ctest", search())))
detach(package:ctest)
into
2004 Sep 03
1
how to debug a sudden exit in non-interactive mode
Hi,
I have a piece of R code that calls mgcv::gam. The code runs fine in the
interactive mode, but terminates R w/o a single message when run
non-interactively. Though I think I should be able to locate the problem
by brute force I'd appreciate an advise how to do it more intelligently
using R debugging tools.
At this time I only know that it has something to do with me loading my
custom
2000 Mar 29
2
regularly lattice & neighbors
Dear R-users,
Is there a procedure to identify neighbors in a regular lattice using either a
"rook" or a "queen" criterium? To be more specific, suppose:
My lattice:
1 2 3
4 5 6
7 8 9
"Rook" Neighbors
1 has neighbors 2,4
2 has neighbors 1,3,5
...
5 has neighbors 2,4,6,8
"Queen Neighbors"
1 has neighbors 2,4,5
2 has neighbors 1,3,4,5,6
For each case,
2012 Nov 27
1
Problem in Starting R Server - object of type 'closure' is not subsettable
Hi All,
I am trying to start R Server to run some Java Script in my local machine
using the library, 'Rook'. I use Windows 7.
And my codes are following,
> library(Rook)
> myD3dir <- 'D:\\STUDIES\\Java script\\d3-master'
> s <- Rhttpd$new
> s$start(quiet=TRUE)
and i get the following error for the above line,
Error in s$start : object of type
2004 May 07
1
dump.frames in non-interactive mode
Hi,
recover() resorts to dump.frames() when called in non-interactive
sessions. However dump.frames() still puts the dump into last.dump
object and not into a file, which brings the question of how to get hold
of the object once the session terminates.
I guess the supposed answer is that last.dump is saved in .Rdata once R
exits. However I find it more convenient on day-to-day basis to use
2009 Feb 28
1
Execute script and go interactive
Hi,
is it possible to execute a script with R and go into interactive mode
with the same session?
e.g.
R < myscript.R
>objects()
Creating a .Rprofile is not an option for me.
Thank you
Michael
1997 Apr 22
1
R-alpha: Rprofiles
The x11() window can be a nuisance to have popping up at startup (esp.
on small screens) when you're not working with graphics. However,
currently you can't get rid of it without modifying the systemwide
Rprofile.
Current logic is:
Run $RHOME/library/Rprofile
if ./.Rprofile exists
run it
else if $HOME/.Rprofile exists
run that
endif
I think it should be
Run $RHOME/library/Rsetup
if
2008 Sep 24
2
R --interactive and readline() creates infinite loop
Dear all,
I have asked before, in R-help [1], about a way to create an
interactive session in which commands are taken from a file or
standard input - like R CMD BATCH but additionally allowing user input
- but there was no response to that question, and the workarounds that
I have found (using "expect", creating a temporary .Rprofile) are ugly
and problematic.
With the
2001 Sep 28
1
savehistory: Suggestions to a \seealso{} (PR#1104)
Full_Name: Henrik Bengtsson
Version: 1.3.1
OS: WinMe
Submission from: (NULL) (130.235.2.229)
I suggest the following \seealso to be added for savehistory:
\seealso{
To execute \code{savehistory} automatically when \R quits see \link{.Last} and
\link{.Rprofile}.
}
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
2004 Aug 21
4
loadhistory() in .Rprofile ?
dear wizards: my .Rprofile has just one command for testing,
loadhistory("~/.Rhistory")
but this gives me an error on R startup:
Error: couldn't find function "loadhistory"
Invoking loadhistory() as the first interactive command works fine;
incidentally, I believe loadhistory() in the .Rprofile worked in
earlier or other platform R releases, too.
Is the .Rprofile
2011 Jun 07
4
Connect intercom to Asterisk?
Hello
I just read this article about a kid in England who built a box with a
3G SIM card:
www.dailymail.co.uk/sciencetech/article-1394448/Doorbell-tricks-burglars-thinking-youre-home-invented-schoolboy-Laurence-Rook-13.html
When someone rings your intercom, the box will call your cellphone so
you can answer just like you were home.
I don't know anything about electronics and would like to
2011 Apr 25
0
Rook: software and specification for R web applications and servers
Dear useRs,
Rook is a new package that does three things:
- It provides a way to run R web applications on your desktop with the
new internal R web server named Rhttpd. Please see the Rhttpd help page.
- It provides a set of reference classes you can use to write you R
web applications. The following help pages provide more information:
Brewery, Builder, File, Middleware, Redirect,
2011 Apr 25
0
Rook: software and specification for R web applications and servers
Dear useRs,
Rook is a new package that does three things:
- It provides a way to run R web applications on your desktop with the
new internal R web server named Rhttpd. Please see the Rhttpd help page.
- It provides a set of reference classes you can use to write you R
web applications. The following help pages provide more information:
Brewery, Builder, File, Middleware, Redirect,