similar to: R , apache and PHP

Displaying 20 results from an estimated 2000 matches similar to: "R , apache and PHP"

2004 Apr 13
2
R apache and PHP
I've developed a web application in PHP and R my script is <?php ... exec("R CMD BATCH --silent /home/marcello/R_in/myfile.bat /home/marcello/R_out/myfile.out"); ... ?> This script execute in R batch mode and write the myfile.out. On Win2000 the similar script is ok, but on linux I've a problem. I suppose is a permession problem because the same script on shell
2008 Aug 10
1
R function, sink() and empty file
Dear all, I wrote a simple script in order to put together some functions and method to be executed on various files I am trying to have to possibility to call the script changing few parameters in order to use the different files. I succeeded partly using the function method. However in my script I call the sink() function in order to output the results to a .txt file. When using the function the
2007 Oct 21
0
Taking a stab at a pure Ruby Dir.glob
Hi all, Here''s what I''ve come up with so far for a pure Ruby Dir.glob for MS Windows. It almost works. The problem right now is the [] notation, which I''m not translating properly into a regex. I haven''t started on the ''**'' notation yet either, but I figure that''s more of a control flow issue. Feel free to disagree with me and/or
2007 Mar 04
1
Problem using callNextMethod() in S4
Dear all, Maybe, I am doing something wrong, but using R-2.5.0 on my Intel-Mac, I have problems using function callNextMethod() in method initialize. I am loading the following code as file "testS4.R": setClass("baseClass", representation(myname = "character", mydir = "character", "VIRTUAL"),
2009 Sep 15
1
Regular expression problem
Dear R-users, I am trying to use the grep function to test whether a particular string is of the form "n.../mydir/myfile.mytype.myext". Anything between n and mytype could vary, and anything after mytype could vary. I tried to proceed by steps to build my regular expression... but I do not really understand why the last call of the following code do not work. Any help would be
2005 Mar 11
2
Is it possible to regenerate the index files?
Is it possible to regenerate the index files, on other conditions than the mbox file being read? For instance, it would be nice if I could regenerate the index for a specific mbox whenever procmail delivers mail to it. If theres no existing solution, would it be possible to make a small script with something like "nc" that could send an imap command to dovecot, so that dovecot would
2013 Aug 16
2
Maildirmake equiv?
Since I am using dovecot I do not have courier installed, but Courier had a very handy tool for making maildir folders called `maildirmake` which I used in some automated backup scripts. How do I duplicate maildirmake in dovecot? for example: #!/bin/bash # v1.2a Testing for new dovecot install # Archive mail from folders without [0-9]{4} Maildirs # after they are 21 days old to a yearly folder
2013 May 21
1
R CMD check: unknown option ?--outdir==RCHECK?
Hi, I believe this is kind of a long standing bug though. In R-3.0.1, but this also happened in previous versions, the long version '--outdir' is not recognised: For `R CMD check --outdir=mydir pkg_0.1.tar.gz` we get: Warning: unknown option ‘--outdir=mydir’ But with `R CMD check -o mydir pkg_0.1.tar.gz` we get: * using log directory ‘/home/renaud/Documents/projects/mydir/pkg.Rcheck’
2002 Mar 12
2
problem with environment detecting
Hello! I want to detect some environment on a remote host (in C program, getenv()), but it is failed. Here is a little program which I try to run on a remote host with command: "#ssh myhost myecho" /* myecho */ #include <stdio.h> main (){ char *dir; if ((dir = getenv("MYDIR")) != NULL) printf ("environment is %s\n",dir);
2005 Jan 31
2
printing impossible on win98 and samba 3.0.10
Hello, i am using net-fs/samba-3.0.10 on an updated gentoo linux on x86 machine. recently i was using some older version, probably 3.0.9 i didn't change my smb.conf but now printing from windows 98 clients does not work anymore. the errormessage on win98 is (translated from german): Error when writing on \\master\stylus1160 vor printer (EPSON Stylus Color 1160): The network printer ist not
2006 Aug 01
2
deleting a directory
Hi, all, I'm looking a utility for removing a directory from within R. Currently, I'm using: foo <- function(...) { mydir <- tempdir() dir.create(mydir, showWarnings = FALSE, recursive = TRUE) on.exit(system(sprintf("rm -rf %s", mydir))) ## do some stuff in "mydir" invisible() } However, this is assumes "rm" is available. I know of
2008 Feb 15
1
smbd daemon running as wrong user ID
Hello, I have a strange problem affecting samba-3.0.10-1.4E.12.2 on a Red Hat Enterprise Linux AS release 4 system. We have a multi-domain configuration here at University of Verona (Italy). We use Samba as PDC for several faculties. Each faculty has its own daemon instance and its own smb config file: [root@ldapvr1 ~]# ls /etc/samba/smb.* /etc/samba/smb.conf
2001 Oct 03
0
Several R vs S-Plus issues (PR#1110)
Hi, all, I've been converting code from S-Plus ("S" for short) to R for a few weeks. Here are some differences I've found, aside from the big well-known ones (scoping, models, data storage) and the contents of Kurt Hornik's FAQ section 3.3.3. Let me start with the ones that seem like serious bugs or deficiencies: 1) LETTERS[c(NA,2)] in S is
2012 Feb 09
0
Java heap space Error while reading table from postgres database using RJDBC
Hi List, I am reading table from postgres database into R session using RJDBC, table contains 150 columns and 200000 rows. Sample code is as below, which works fine with smaller tables. ######################################################################## db_driver <- mydir$db_driver db_jar_file <- mydir$db_jar_file db_server <- mydir$db_server db_server_lgn <- mydir$db_server_lgn
2009 Oct 30
1
Default ACL question (EXECUTE BIT)
Hello everyone, I'm doing some tests with ACL's and even though I can create a "default" ACL for a directory (that includes "rwx" for the default owner), when I finally create a file wihin that directory the execute bit is chopped off: [joe at machine ~]$ mkdir mydir [joe at machine ~]$ setfacl -d -m u::rwx,g::-,o::- mydir/ [joe at machine ~]$ cd mydir [joe at
2012 Feb 15
1
Passing date as parameter while retrieving data from database using dbGetQuery
Hi All, This might be simple question, I need to retrive data for modelling from the databases. Eveytime date values changes so I countnot fix date value in the code, it is required to pass as parameter. When I pass the date as parameter, it throws error. (ERROR: column "start_dt" does not exist Position: 285) My script is as below, please guide me where am I going wrong? All parameters
2005 Aug 18
1
rsync Reverse lookup error on Solaris 9
Hello, I am using rsync for the first time. I have rsync 2.6.5 running on Solaris 9. It was built with gcc-2.95. We are experiencing a reverse lookup host error in rsyncd.log when the client with ip addy 180.X.XX.XX tries to access rsync on my Solaris box. 2005/08/11 14:30:13 [18092] rsync denied on module log from unknown (0.0.0.0) 2005/08/11 14:30:54 [18094] name lookup failed for 0.0.0.0:
2006 Apr 26
2
--link-dest and file/dir transfer to remote rsync daemon
Hi NG, I want to do incremental backups to a remote server running rsyncd (because daemonless transfer via ssh often hangs!). In contrast to transfer via ssh (without remote rsyncd) this doesn't seem possible, or do I miss something? Imagine I want to incrementally backup `mydir' to the backup space `backup' on e remote server `alpha' running an rsync daemon. rsyncd on
2006 Jan 19
2
High volume problem: stat: no such file or directory
Hi: I have an application where there is a single file-server and approximately 500 clients that are writing a continuous stream of moderate-sized data files. We have been using samba for this, but the problem is each smbd process on the server side ends up chewing up 50-60 megs worth of memory after a while. With 500 clients that takes a good chunk of the memory away :-) I am exploring
2001 Dec 03
1
New package: g.data
A new package "g.data" is available on CRAN, to create and maintain databases that work more like the S-Plus model. Here's the official Description for g.data (v1.2): Create and maintain delayed-data packages (DDP's). Data stored in a DDP are available on demand, but do not take up memory until requested. You attach a DDP with g.data.attach(), then read from it and assign