similar to: Execute script and go interactive

Displaying 20 results from an estimated 10000 matches similar to: "Execute script and go interactive"

2015 Dec 05
2
R_PROFILE_USER
In my shell environment, I have set a path to R_PROFILE_USER. The file, Rprofile.R, is a collection of small hacks. I want to build rstudio-server from source. Best is to $ unset R_PROFILE_USER before. Unfortunately, this has no effect on my system. ----------------------------------------------- poisonivy at poppy ?? ~ % R *** Successfully loaded .Rprofile *** Welcome back poisonivy working
2012 Aug 10
1
question about windows Rgui.exe startup
Hi all, I had a specific question about the loading of objects into R. I apologize in advance if I have overlooked anything in the manual but as far as I can tell I have yet to find a solution to my problem. I am on a Windows platform. So what I am trying to do is have R read in a binary file on startup from the Windows system command line and startup Rgui.exe with these options without
2015 Dec 05
1
R_PROFILE_USER
On Sat, Dec 5, 2015, 9:39 PM peter dalgaard <pdalgd at gmail.com> wrote: > On 05 Dec 2015, at 18:07 , arnaud gaboury <arnaud.gaboury at gmail.com> wrote: > > In my shell environment, I have set a path to R_PROFILE_USER. The > file, Rprofile.R, is a collection of small hacks. > > I want to build rstudio-server from source. Best is to $ unset > R_PROFILE_USER
2010 Mar 05
2
[PATCH] R ignores PATH_MAX and fails in long directories (PR#14228)
Full_Name: Murray Stokely Version: 2.10.1 OS: Linux Submission from: (NULL) (216.239.45.4) The Defn.h header includes limits.h for PATH_MAX and then checks if it hasn't been defined and if not sets something manually. Some of the R code uses PATH_MAX but a lot of other functions in unix/sys-unix.c and main/startup.c just hardcodes a limit of 256 characters. In my environment this is not
2012 Feb 23
1
R devel [and R 2.14.1 patched]: R CMD build now sources ~/.Rprofile
I'd like to follow up on this one. It may be that I have misunderstood something, but on both R devel (2012-02-22 r58452) and R 2.14.1 patched (2012-02-18 r58394) I can't seem to avoid loading ~/.Rprofile when I run 'R CMD <cmd>', e.g. R CMD build. For me, the loading of ~/.Rprofile by 'R CMD' started a few weeks ago, and I haven't seen it before. More details
2005 Jan 16
1
CGIwithR
Dear R users; I'm trying to use CGIwithR on a linux machine, I have followed the instructions on the package manual but still it does not run, the message that I get is as follows: The requested URL was not found on this server I used the example trivial, I put trivial.html under Web directory and trivial.R in cgi-bin directory, which itself is a subdirectory of Web directory, ( I have
2011 Apr 30
1
Sys.getenv at startup is not working properly
Hello, when using Sys.getenv() during startup-phase (.First or .Rprofile) to get the env-variables COLUMNS as well as HOST I get empty strings. After the startup is done, when asking via Sys.getenv() by hand, COLUMNS is set (but HOST is not, even "hostname" on the shell gives me a correct answer). At the moment my problem is the missing COLUMNS value during start up, because I want
2011 Feb 16
1
Ignoring .Rprofile when installing a package
Dear all, Is there a way to force R CMD INSTALL to ignore ~/.Rprofile and similar? I presume it sources these startup files for a reason, but I've found that it can cause confusion or problems. In particular, my ~/.Rprofile loads a few packages which I very frequently use, but this stops me from installing new versions of their dependencies; viz. $ R CMD INSTALL tractor.base * installing to
2011 Sep 07
1
process id of an R script
I have a script that runs as a cron job every minute (on Ubuntu 10.10 and R 2.11.1), querying a database for new data. Most of the time it takes a few seconds to run, but once in while it takes more than a minute and the next run starts (on the same data) before the previous one has finished. In extreme cases this will fill up memory with a large number of runs of the same script on the same data.
2009 Sep 30
1
(windows xp) start script on startup / double clicking on the script
hi, I am still trying to figure out how it is possible to start an R- script via the R-GUI directly by double-clicking on the script file in windows xp. On Mac OS I have the option "start script in the editor" in the preferences. But on windows XP I always get the "ARGUMENT 'c:\...\...' ___ignored___" error when I try to associate the .R extension with the
2018 Oct 17
2
dovecot passdb driver=checkpassword as external script for block ip
Refer to https://dovecot.org/pipermail/dovecot/2015-March/099971.html https://wiki.dovecot.org/PasswordDatabase I tried to repeat the same thing. Set these passdb: passdb { args = /myscript.sh ip=%r driver = checkpassword result_failure = return-fail result_success = continue } passdb { args = /etc/dovecot/dovecot-sql.conf.ext ( my working auth method ) driver = sql } Created
2012 Oct 29
6
export variable from bash to R
Dear R experts This probably seems very easy to you guys, but I'm a beginner and would be really glad if someone helped me with this: I am trying to automate the execution of an R script (let's call it "myscript.R") by passing a variable from a bash script to myscript.R. I know I can use the command Rscript, but I don't know how to declare in bash which variable will be
2012 Jun 28
2
Execute a shell script residing in puppet master
I''m a newbie to puppet and have been trying to execute a shell script residing in puppet master machine in a puppet agent, with no luck so far. Would appreciate any ideas on how to do this. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from
2010 Nov 02
2
get the scripname within the executed myscript.r
Dear R-users! Is there a way to obtain the name of the executed myscript.r, i.e. when cmd> rscript myscript.r is executed? (The name of the script in this case is "myscript.r") Here is the explanation of why I would like to get that: Why: I have prepared a set of scripts (decompose_data.r, plot_with_higher_resolution.r, plot_3D.r, etc.) placed in a root directory at one place. I
2005 Jan 06
0
Rprofile file to automatically plot data, tried using the .First command.
No. You put the _whole_ thing into .First(), not just the plot statement. One possibility is to have the code in a script file (say myscript.R) and define .First as follows: .First <- function() source("myscript.R") Haven't try it myself, though. Andy > From: John Fisler > > Dear Dr. Andreas Kiermeier and the R help Community, > > Thank you for your idea on
2005 Feb 25
3
passing command line arguments to 'R CMD BATCH myScript.R'
Hi Community, I have a question about how to pass command line parameters to R script running in the batch mode. The problem is: there is a banch of data files which are to be processed by R script called from a web-server, i.e. in the batch mode. The web server generates data files and passes their names calling 'R CMD BATCH' one by one for every file. Now the question is how to
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
2009 Jun 23
3
Starting ruby script on server's reboot
Hi I''m using passenger + apache. with this combination, how can I start my ruby script on server''s reboot? now I type "ruby myscript.rb run" whenever server reboot.
2012 Nov 01
3
Start R from bash/bat file and end in interactive mode
I have a r-script (rook.R) that starts a Rook server. To present users from having to start R and type in source("rook.R"), I want to create a bash script and bat file that starts R and sources the script. However, to keep the Rook server running R should not close after running the script and stay in interactive mode. This proves more difficult than expected. I tried various
2013 Aug 27
1
return the name of source.
Is there a fuction that will allow me to retrun the filename for a script from within that script. fir instance If I have a script "myscript.r": FileName<-unknown.fucntion() print(FileName) and run it source("myscript.r") will return "myscript.r" Thanks Nevil Amos [[alternative HTML version deleted]]