similar to: Disabling shell access through system() possible?

Displaying 20 results from an estimated 30000 matches similar to: "Disabling shell access through system() possible?"

2010 Jul 30
4
transpose of complex matrices in R
Hello everybody When one is working with complex matrices, "transpose" very nearly always means *Hermitian* transpose, that is, A[i,j] <- Conj(A[j,i]). One often writes A^* for the Hermitian transpose. I have only once seen a "real-life" case where transposition does not occur simultaneously with complex conjugation. And I'm not 100% sure that that wasn't a
2013 Jan 13
1
Loading circular package from Rprofile.site
Hi, I installed "circular" package and I wanted to load it automatically when R starts up, so I added the following lines in file Rprofile.site, .First <- function() library(circular) When R starts up, it gives me the following error: ---------- Loading required package: boot Loading required package: graphics Loading required package: stats Error : .onAttach failed in
2005 May 01
0
dll symbol loading: possible bug
Dear R-devel, I think the following describes a bug in R. It seems to be associated with dyn.load() and/or something that happens at start-up. I have not filed a bug report yet (because I doubt my ability to rule out other explanations) but would happily do so if requested. Observation: If two dlls are loaded as a result of dyn.load() calls in .Rprofile, subsequent calls to dyn.load()
2006 Jan 17
3
file_column :root_path question.
I''m developing on Windows and deploying to FreeBSD+lighttpd using Switchtower and I''ve got things generally working. My problem now is that file_column data gets zapped every time I deploy, because Switchtower creates a whole new myapp/public directory with each rev. I looked through the file_column docs and found the :root_path option, which I use in my models as follows:
2014 Feb 04
1
sysvol replication via clustered/distributed file system
hi there, the samba wiki currently recommends using rsync to achieve sysvol replication in an ad dc setup with more than one dc. this seems a bit kludgy to me ? using some sort of a distributed file system would probably be a more elegant solution. while researching this, i came across a few threads on this list, but unfortunately none of them provides a definite answer to which setup works to
2012 Feb 28
7
indexing??
Hello All, My algorithm as follows; y <- c(1,1,1,0,0,1,0,1,0,0) x <- c(1,0,0,1,1,0,0,1,1,0) n <- length(x) t <- matrix(cbind(y,x), ncol=2) z = x+y for(j in 1:length(x)) { out <- vector("list", ) for(i in 1:10) { t.s <- t[sample(n,n,replace=T),] y.s <- t.s[,1] x.s <- t.s[,2] z.s <- y.s+x.s out[[i]] <- list(ff <- (z.s), finding=any (y.s==y[j])) kk
2006 Dec 14
1
A possible improvement to apropos
Hello all, I've had the following apropos alternative in my ~/.Rprofile for some time, and have found it more useful than the current version. Basically, my version ignores case when searching. If others find this useful, perhaps apropos could be suitably patched (and I'd be willing to create such a patch). + seth Here is my version of apropos: APROPOS <- function (what, where =
2007 Apr 28
4
pure R code package for Windows
Dear R developers, I am using R under Linux, but I would like to share an extension package with some Windows users. The package contains only data and .R scripts. There is no src directory. So, I think I do not need a Windows machine with C compiler, "make", "sh" and "perl". If I am wrong, please tell me. I tried the following approaches (after verifying the
2010 Nov 10
2
Centring titles for pairs of plots.
I would like to centre titles for pairs of plots in a 3-x-2 array. Each row of the array corresponds to a calendar year and I would like to have the year value centred between the two plots in the row, and just above their upper edges. I have attached an example in "demo.pdf" showing roughly what I want. I managed to produce the example using
2015 Jun 13
2
Lack of protection bug in current R release candidate
The current R release candidate has a lack of protect bug (of very long standing) with respect to the R_print.na_string and R_print.na_string_noquote fields of the static R_print structure declared in Print.h. This shows up very occassionally as incorrect output from the following lines in reg-tests-2.R: x <- c("a", NA, "b") factor(x) factor(x, exclude="")
2006 Oct 11
2
expression as a parameter of binom.test (PR#9288)
Full_Name: Petr Savicky Version: 2.4.0 OS: Fedora Core release 2 Submission from: (NULL) (62.24.91.47) the error is > binom.test(0.56*10000,10000) Error in binom.test(0.56 * 10000, 10000) : 'x' must be nonnegative and integer while > binom.test(5600,10000) yields correct result. The same error occurrs for > binom.test(0.57*10000,10000)
2004 Aug 06
2
One more question of possible note.
Hello again all. I want to thank Karl H. for pointing me to xiph.org/~karl and getting me some save files winamp likes the first time. That ucler is at an end. The next ucler involves two rather quick questions: I > In icecast1, when a user attempted to connect to the server, didn't it just kick them to the "default stream", where the default stream was the only stream being
2009 May 03
1
suggestion for extending ?as.factor
In R-2.10.0, the development version, function as.factor() uses 17 digit precision for conversion of numeric values to character type. This is very good for the consistency of the resulting factor, however, i expect that people will complain about, for example, as.factor(0.3) being [1] 0.29999999999999999 Levels: 0.29999999999999999 I suggest to extend the "Warning" section of
2012 Mar 08
4
Correlation between 2 matrices but with subset of variables
Dear All, I have two matrices A (40 x 732) and B (40 x 1230) and would like to calculate correlation between them.  I can use: cor(A,B, method="pearson") to calculate correlation between all possible pairs. But the issue is that there is one-many specific mappings between A and B and I just need to calculate correlations for those pairs (not all). Some variables in A (proteins, say p1)
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
2009 Aug 21
1
a --no-save option for Rprofile.site?
I need to set up Rcmdr for use in a testing center that uses Windows. Since it is in a testing center, we don't want to have data saved, and want it cleared (or never saved) each time R or Rcmdr is run. The method I used to get Rcmdr to run automatically is to add the lines: ------------------------------------------------ defpack = getOption("defaultPackages") mylibs =
2008 Nov 03
1
possible tcltk event loop problem
Dear list members, Rich Heiberger reported to me last week that the Messages window in the Rcmdr GUI was freezing -- that is, messages posted to this window didn't appear -- under Windows and R 2.8.0. I was able to confirm this problem on three Windows systems, one using Vista and the other two XP. In each case, I used R 2.8.0 and Rcmdr 1.4-4 (the current version). The problem doesn't
1999 Nov 27
1
.Rprofile results in corruption of .RData? (PR#346)
It could be that the following may be due to something wrong that I managed to do (I cannot think what...) but I submit this report in case it is something that you want to know about (I have solved the problem by removing .Rprofile as I describe below). 1. After compiling/installing R 0.90 (an uneventful process), it worked perfectly the first time, and it read .RData written by the previous
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
2016 Nov 18
0
Tell whether ./.Rprofile or ~/.Rprofile is being processed?
Hi. Assume I have one ~/.Rprofile (in my home directory) and one ./.Rprofile (in my current working directory). In this case, the latter will have higher priority and will be the script that R uses during the startup process. Is there a *generic* way to programmatically from within ./.Rprofile and ~/.Rprofile to tell what their absolute pathnames are or equivalently what directories they are