Displaying 20 results from an estimated 9000 matches similar to: "Using command line --file or -f"
2004 Nov 07
2
Flag file management techniques using rsync
G'day,
I am just getting into rsync and have been very impressed with performance
and reliability. There is one thing I haven't worked out how to do yet and
I haven't found much with several Google sessions or by way of consulting
the examples.
I am looking for a way to check for (or duplicate) single flag files to and
from a remote host (without any dummy spit errors when it is not
2009 Jan 10
2
Problem with compiling shared C/C++ library for loading into R (Linux)
I am using the .Call interface to call c++ code from R. For that, I am
trying to create a dynamic library (mylib.so)
using "R CMD SHLIB" by linking my own c++ code and an external c++
library (blitz++).
The makefile works fine on my Mac, produces mylib.so and I am able to
call .Call() from R, but on a linux
server (I think Debian), I got the following error:
----------
/usr/bin/ld:
2009 Jan 10
2
Problem with compiling shared C/C++ library for loading into R (Linux)
I am using the .Call interface to call c++ code from R. For that, I am
trying to create a dynamic library (mylib.so)
using "R CMD SHLIB" by linking my own c++ code and an external c++
library (blitz++).
The makefile works fine on my Mac, produces mylib.so and I am able to
call .Call() from R, but on a linux
server (I think Debian), I got the following error:
----------
/usr/bin/ld:
2010 Apr 27
1
[LLVMdev] llvm-2.7: --with-udis86 failure
Debug build on x86_64 with`--with-udis86=<path>' option to 'configure' seems broken.
Configure command line:
./configure --disable-optimized --enable-assertions --enable-debug-runtime --enable-debug-symbols --enable-jit --enable-pic --enable-targets=x86_64 --with-udis86=/somepath/udis86/udis86-1.7
At least 2 issues:
(1) '-L/somepath/udis86/udis86-1.7' is added to the
2003 Apr 23
2
changing dir. to network drive crash Rgui on NT4 ( PR#282 8)
This is interesting: The crash does not happen if I run
Rgui in MDI mode. The crash seemed to only occur in SDI.
Andy
===========================================================
For the record:
Under Rgui, using the menu "File / Channge dir..." to change
to a network drive crashes rgui. The crash happens if I
browse to a folder on a mapped drive. I.e., if I type in
2009 Apr 15
2
Creating a graphics window (in Windows, with RGui) that is not constrained to the RGui Window
Hi, all,
Using RGui, is it possible to create a graphics window that can be moved
outside of the RGui window? (This can be done--in fact must be
done--using Rterm, but I wish to use RGui.)
My interest for this is to use two monitors: in "my private monitor" I
wish to execute R code in the Rgui window; in "the public monitor" I
want the audience to see the results in the
2007 Aug 03
2
Opening a script with the R editor via file association (on Windows)
Is there an easy way to open an R script file in the R Editor found in
more recent versions of R on Windows via a file association? I am looking
for functionality akin to how the ".ssc" file extension works for S-Plus:
upon double-clicking on a ".R" file, Rgui.exe starts up and loads the script
file in the R Editor.
As far as I can tell, Rgui.exe does not have a command line
2003 Aug 21
2
Use of Second Monitor Question
In teaching I'd like to be able to display a R-graphics window on a wall
projection display keeping the R-console on the computer monitor. And so I
ask---
Is there a way to move a graphics window out of the Rgui window to a second
monitor leaving the R Console window in the Rgui window on the first monitor?
Either a Windows or Linux solution would be just fine.
--jed diem
2003 May 03
2
Memory leakage?
Hi, all:
I'm using R 1.7.0 on WinXP under SDI mode. However, very often after I
closed all R windows, my CPU usage was still 100%. By checking the task
manager, I found there are one or several "Rgui.exe" still running and took
all the CPU. I had to close them one by one manually. This happened to me
with R 1.6.1, R 1.6.2 also and also on Win2K. Rememeber there was a
2004 Mar 16
3
save GUI window position in windows version?
Hi,
I'm using windows GUI version. Is there any way
to save window position from previous session?Everytime I
open GUI starts as maximized and I
have to resize it.
Thanks for the help.
SI
2016 Feb 08
3
strace clang refers files from lib/tls/x86_64 multiple times
Greetings!
Sample program:
int main(int argc, char **argv)
{
int myLocal=0xAA;
return 0;
}
Command: clang t.c -o a.o -c
With above simple program we are observing that clang is stat-ing and trying to open various files from lib/tls location. Eventually all calls to "lib/tls" leads to ENOENT (No such file or directory)!
<sample_strace>
2002 Jun 25
1
commandArgs: feature request
Dear R-core Team,
As Thomas Lumley pointed out in one of his e-mails one can use commandArgs()
to get a copy of the command line arguments supplied when R session was
invoked and then use grep to extract parameters of interest.
His solution works very well if the custom options are passed by names, e.g.
--my-option=value, but what if one wants to pass parameters by their
positions. Then it's
2005 Mar 26
4
RGUI font problem (PR#7749)
Full_Name: Christos Hatzis
Version: 2.0.1 patched (2005-02-18)
OS: WinXP SP2
Submission from: (NULL) (24.61.19.101)
I had encountered a similar problem when changing the font in the R Console and
then then open the graphics device by plot(), the console window whites out.
this might be related to bug report 7271. I mentioned it sometime back and was
told is was not reproducible.
Now I have
2009 Apr 09
3
type.convert (PR#13646)
Full_Name: Stefan Raberger
Version: 2.8.1
OS: Windows XP
Submission from: (NULL) (213.185.163.242)
Hi there,
I recently noticed some strange behaviour of the command "type.convert",
depending on the startup mode used. But there also seems to be different
behaviour on different PCs (all running the same OS and the same version of R).
On PC1:
When I start R in SDI mode (RGui --no-save
2012 May 03
1
is there a way of identifying batch mode running?
Hello list
Is there a way of identifying from within R whether a script has been source(d) from Rgui.exe or via Rscript.exe in batch mode?
For the code I have I use the commandArgs() function to pick up command line args when running in batch mode via Rscript.exe
However I like to get the code working manually first using source("MyRCode.r")
I'd like to be able to put something at
2003 May 13
6
R crashes when resizing windows (PR#2992)
Full_Name: Gavin Alexander
Version: 1.7.0
OS: Win2000
Submission from: (NULL) (130.209.6.40)
When I resize the R-GUI console window by dragging an edge and drag for more
than a second or two, R crashes. The program exits, leaving a pop-up "Program
Error" box with the message:
"Rgui.exe has generated errors and will be closed by Windows.
You will need to restart the program.
An
2009 Oct 15
1
[LLVMdev] [Fwd: Re: strace for whole-program bitcodes]
>>> someone suggested me to use gold-plugin, I know nothing about it yet, I
>will
>>> have a try later. Does anyone have a good solution for this problem?
>>
>> Afaik gold does not help here. I tried it and managed to only generate
>> native code.
>
>"Just" gold isn't quite good enough, because at the last final link
>steps gold will
2002 Sep 17
1
Using rsync for two-waz-synchronisation
Hello,
is there any way to use rsync for two-way-syncronisation? I want to use
it to keep the data on two hosts consistent. Sometimes one of this hosts
(sometimes the first, sometimes the second) changes its location.
If the two hosts are at the same location I want automatically rsync them.
The data only changes at one hosts but it is not defined on which host
it changes.
For example:
I have
2012 May 22
2
Best way to locate R executable from within R?
Hi,
I'd like to spawn of a new R process from within R using system(),
e.g. system("R -f myScript.R"). However, just specifying "R" as in
that example is not guaranteed to work, because "R" may not be on the
OS's search path.
What is the best way, from within a running R, to infer the command
(basename or full path) for launching R in way that it works on
2013 Nov 25
4
question about file {} type
My class reads like:
class name1::name2 ($gidvariable) {
file { "somepath-to-file":
ensure => file,
mode => ''0640'',
gid => $gidvariable,
}
}
The problem is that the file isn''t getting set to the $gidvariable''s value
which is a string "abc".
The other things work (presence as file, mode).
Stuart
--
You