Displaying 20 results from an estimated 2000 matches similar to: "Operating System Variable"
2007 Jan 24
1
writing R shell scripts?
Hi All,
Another newbie question. I want to write an R script that takes
argument from command line and runs and produces output to stdin.
For example if there is file foo.R with following in it.
args = commandArgs()
print(args)
then, when I run it like
$ R foo.R hello
it should print 'hello' on the terminal.
I searched the mainling list and found a very old post that said said
that
2007 May 21
3
can't create workstation account
> Are you joining a Samba domain ? If so, that error msg is
> probably not your problem.
Yes, I try to...
Does somebody have a hint form e, plz?
Best regards
Sascha
2008 Mar 03
3
Script to start Rcmdr
Hi,
anybody know any way to make a bash script to start Rcmdr directly widthout
need to open R and execute library(Rcmdr)?
I try to make this using R CMD BATCH somethink, but dont find the way.
Thanks
Ronaldo
--
> Prof. Ronaldo Reis J?nior
| .''`. UNIMONTES/Depto. Biologia Geral/Lab. de Biologia Computacional
| : :' : Campus Universit?rio Prof. Darcy Ribeiro, Vila Mauric?ia
|
2002 Jun 30
7
FW: Accessing Samba share with Win2k
Since I haven't had a response to my earlier post, I'm reposting this with
some more info.
I'm running Samba version 2.07 on Redhat Linux 7.0.
Here is my smb.conf file:
# Samba config file created using SWAT
# from greyowl.swamp.ca (192.168.0.5)
# Date: 2002/06/26 00:29:59
# Global parameters
[global]
workgroup = SWAMP
netbios name = BALDEAGLE
server
2012 Feb 02
2
time conversion from second to Y M D H M S format
I have some time data and which is in seconds
time <-c( 126230400 126252000 126273600 126295200 126316800 126338400)
now I wanted to convert this time to Y M D H M S format
I have tried following codes but it does not give me the out put in Y M D
H M S
time_t1 <- as.POSIXlt(time, origin="2005-01-01", tz="GMT")
&
time_f <- as.POSIXct(time,
2012 Apr 20
1
error loading tcltk2
Hello,
I just installed R-2.15.0 on windows XP and cannot load package tcltk2
(which I just downloaded from CRAN as tcltk2_1.2-1.zip; package install
reported no problems):
> library(tcltk2)
Carico il pacchetto richiesto: tcltk
Loading Tcl/Tk interface ... done
Error : .onLoad failed in loadNamespace() for 'tcltk2', details:
call: system("cat /etc/issue", intern = TRUE,
2011 Apr 20
1
FW: [Rcpp-devel] Question on 5.6 Interfacing C++ code
Hi, apparently I sent my question about using R and C++ to the wrong list,
ironically seeing as that list was called Rcpp. Anyway, I was directed to
post my question here. To summarize my current question, I have found two
commands that I want to be able to put into a package. The commands are 'R
CMD SHLIB X.cc X_main.cc' and
2007 Jun 12
1
Cause of error message in cov function?
Hi all,
I have written a script in R that simulates genetically informative
data - it is posted on my website and available to the public. This is
my first time to write a script for use by others and am learning that
it isn't as easy as it seems.
To the issue. My script runs fine on my machine and on a server I have
access to, but a user has written me saying that it crashes the first
time
2005 Jun 19
1
error loading Matrix in Mac OSX 10.4
Hello,
I am having trouble loading Matrix (0.96-3) in self-compiled R-2.1.1-
beta, and self compiled R.app (got it a couple of days ago via:
svn co https://svn.r-project.org/R-packages/trunk/Mac-GUI Mac-GUI )
on Mac OS 10.4.1.
The problem I get when I try to load Matrix is the following: (I know
I do not need to worry about the warnings, even though it might be
nice to know why they
2008 Mar 25
2
Incorrect behavior in 64-bit version (PR#11034)
Full_Name: Lodewijk Bonebakker
Version: v2.6.2
OS: Solaris, x86, snv_80
Submission from: (NULL) (192.18.43.225)
when I build R in 32-bit mode on my 64-bit OS, R works as expected:
R version 2.6.2 (2008-02-08)
...
Type 'q()' to quit R.
> m <- matrix(ncol=2,c(1:6))
>
> m
[,1] [,2]
[1,] 1 4
[2,] 2 5
[3,] 3 6
> n <- log10(m)
> n
[,1]
2007 Apr 01
2
commandArgs usage and --args invokation
Dear R experts:
I am a bit stymied by how the argument picking-off works in R batch file usage.
$ cat commandArgs.R
cat(" Command Line Arguments were ", commandArgs(), "\n");
$ /usr/bin/R CMD BATCH commandArgs.R --args 1 2 3
$ /usr/bin/R --args 1 CMD BATCH commandArgs.R
... I am now getting into interactive mode ?! I guess it really is skipping the
rest of the command line
2017 Sep 29
2
Unexpected behaviour with download.packages on Windows
If no 'type' is specified, download.packages("pkgname") will download source packages (.tar.gz files), even on Windows. However, the help says
type character string, indicate which type of packages: see install.packages.
and on Windows, install.packages defaults to downloading binary packages.
Is this intended behaviour on the part of download.packages? This is on R
2015 Jul 19
3
update.packages(checkBuilt=TRUE, ask=FALSE): possible bug
Hello,
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status Patched
major 3
minor 2.1
year 2015
month 07
day 16
svn rev 68681
language R
version.string R version 3.2.1 Patched (2015-07-16 r68681)
nickname World-Famous Astronaut
I
2005 Jun 14
1
problem installing packages with compiled-from-source R.app on Mac OS X - Tiger
Hello all,
This may be aimed for r-devel, but I encountered this as an R-user
and not an R-developer so I start here (having said that, please
direct me to R-devel if you think this is appropriate. I am not cross-
posting, as I believe this is bad netiquette).
I am a recent, but extremely happy R-user (especially after getting
my own copy of MASS 2002). My adventures started when I wanted
2014 Sep 07
2
normalizePath is sometimes very slow for nonexistent UNC paths
I'm having an issue with occasionally slow-running calls to
normalizePath. If the path is a non-existent UNC path, then
normalizePath sometimes takes 6 or 7 seconds to run, rather than its
usual few microseconds. My big problem is that I can't reliably
reproduce this across machines.
The example below generates one or two slow runs out of 10000 on my
Windows machine. I haven't been
2012 Mar 16
1
Change in behavior of update.views()?
I haven't seen this cryptic warning before:
> update.views('Robust')
Warning message:
In update.views("Robust") :
The following packages are not available: covRobust, distr, FRB, MASS, mblm, multinomRob, mvoutlier, quantreg, RandVar, rgam, RobAStBase, robfilter, RobLox, RobRex, robust, RobustAFT, robustbase, ROptEst, ROptRegTS, rrcov, sandwich, wle
>
2005 May 04
1
MacOS X: update.packages(type="mac.binary") fails (PR#7836)
Message 2 of today: it works now.
After re-installing R.app from the same R-2.1.0.dmg file, and
fixInNamespace'ing(*) install.packages(), I managed to update 23
outdated packages from CRAN binaries for MacOS X. What I did was to:
1. change call to .install.macbinaries() into call to install.binaries()
in install.packages(). install.binaries() is a function defined
utils/R/aqua/GUI.R.
2. I
2004 Aug 04
1
installing package with version number using namespaces & dynamic library
Hi,
I wonder whether a package with namespace & dynamic library can be installed
with the version number attached, ie. with the argument --with-package-versions.
Is this currently possible?
Using R 1.9.1 on Debian 3.0 I encounter a problem when trying to load a package
installed with
R91 CMD INSTALL --with-package-versions -l /mnt/local/R/R-1.9.x-libs-EpiR RIO
in R started with
R91
2015 Jul 29
2
update.packages(checkBuilt=TRUE, ask=FALSE): possible bug
On 7/19/2015 3:50 AM, peter dalgaard wrote:
>> For some, but not allI repositories I get the error message below:
>> >Error in install.packages(update[instlib == l, "Package"], l, contriburl =
>> >contriburl, :
>> > specifying 'contriburl' or 'available' requires a single type, not type =
>> >"both"
>> >
2005 May 03
1
MacOS X: update.packages(type="mac.binary") fails (PR#7831)
Full_Name: Jari Oksanen
Version: R 2.1.0
OS: MacOS 10.3.9
Submission from: (NULL) (130.231.102.145)
For various reasons (which need not be expanded here) I have tried to update my
long neglected R in MacOS X using handy command line tool update.packages()
using readily available binaries of contributed packages at CRAN. However, this
fails with message saying that packages xxxx_*_tar.gz is not