similar to: Setting file and directory permissions using Windows Explorer

Displaying 20 results from an estimated 30000 matches similar to: "Setting file and directory permissions using Windows Explorer"

2007 May 10
4
apply( )
I have a question that must have a simple answer (but eludes me). I need a row-by-row logical comparison across three numeric variables in a data frame: foo$x, foo$y, foo$z. The logic is if( x < y || x > z ) 1 else 0 for a particular row. It is simple and very inefficient to use for(i in 1:length(foo$x)){ } loops. How can I accomplish this using sappy( ) / lapply( ) / apply( ) or
2013 Feb 13
1
MIMIC latent variable with PLS Path Modelling with R ?
I want estimate MIMIC latent variable with R in a Monte Carlo simulation. The packages plspm and semPLS don't permit to introduce MIMIC variable but only reflexives or formatives variables. The only one program which permits to use MIMIC latent variable with PLSPM seems to be XLSTAT, which can not be used to simulate a lot of data bases. It is a real challenge to develop a package with
2008 Apr 11
3
strsplit and sapply
Colleagues, I have some text: TEXT <- c("a", "bb;ccc", "dddd;eeeee;ffffff") I want to retrieve the portion of each element before the first semicolon. I can split each element using strsplit: SPLIT <- strsplit(TEXT, ";") This yields: > SPLIT [[1]] [1] "a" [[2]] [1] "bb" "ccc" [[3]] [1] "dddd"
2009 Feb 12
2
beginner's question: group of regressors by name vector?
dear r-experts: there is probably a very easy way to do it, but it eludes me right now. I have a large data frame with, say, 26 columns named "a" through "z". I would like to define "sets of regressors" from this data frame. something like myregressors=c("b", "j", "x") lm( l ~ myregressors, data=... ) is the best way to create new
2011 Mar 29
4
Simple but elusive - expand back from counts
Dear R-users, This should be simple but still eludes me: Given the following tmp<-as.data.frame(matrix(c(44, 10, "abc", 1, 44, 10, "def", 1, 44, 12, "abc", 2), 3, 4, byrow=T)) I want to expand the data to the following form: V1 V2 V3 V4 1 44 10 abc 1 2 44 10 def 1 3 44 12 abc 1 4 44 12 abc 1 The last row of the original df was duplicated the row by the
2001 Feb 26
1
Difference between S-Plus & R 1.2.1
Sorry for the uninformative subject. The following piece of code gives different output in S-Plus (2K & 6) vs R 1.2.1 (Win) apply(apehum[,6:15], 2, function(x) which(is.na(x))) S-Plus results: > apply(apehum[,6:15], 2, function(x) which(is.na(x))) $latsupri: numeric(0) $medepico: numeric(0) $pdhtcapi: numeric(0) $mlhtcapi: numeric(0) $aphttroc: [1] 151 152 $mlhttroc: numeric(0)
2006 Jun 19
2
saving rounded numbers as a new variable in a dataframe
A basic question, but one that eludes me. I have created a new variable $numurder, which I have rounded off. I want to save the rounded off version of this variable to an existing datafile called 'ngri.csv' . numurder <-c((murder*no.of.cases)/100) [[1]] [1] 48.952 112.073 182.160 974.610 122.140 663.432 150.856 18.988 137.925 198.045 68.930 203.148 30.056 100.955
2013 Feb 16
4
Creating a Double Bar Graph With Provided DataSet
To the volunteers of R-Help. Hello, I am currently stuck on an RStudio assignment. The assignment involves creating a double bar graph with the provided info http://math.fullerton.edu/mori/data/introstats/pennstate3.txt My professor has only gone over the very basics of RStudio and we only learned how to make a simple bar graph and labeling x and y axis. The specific directions from my
2010 Jan 01
1
temp name for destination directory, move in place after successfull complete?
Hello everyone, In --link-dest/--copy-dest/--compare-dest modes, I'd like to distinguish between destination directories that have been completely rsynced and the ones that are only partially synced because of a network failure. In short, I'd like to mimic the behaviour rync has on individual files (building them as .filename-random and then renaming them to filename) for the whole
2009 Nov 05
2
Windows build from source.
I am working through some of the gotchas with building R from source under Window. I have found that if I don't execute the make commands as Administrator I get alot of "permission denied' errors. Even if I give myself full control of the directory and files. Strange. I also found that the environment variable TMPDIR must be set otherwise the build process assumes a temporary
2007 Jun 26
4
Looking for parallel functionality between Matlab and R
I'm slowly moving my statistical analysis from Matlab to R, and find myself missing two features: a) How do I mimic Matlab's 'hold on'? (I want to show several plots together, when I type two plots one after the other the second overwrites the first) b) How do I mimic Matlab's 'axis'? (after drawing my plots I want to zoom on specific parts- for example, x=0:5,
2005 Jun 07
0
Explorer freezes browsing certain samba folders
Greetings, I'm running into some curious and undesirable behaviour from windows explorer when I browse certain folders in my samba share - explorer freezes for some considerable time before displaying the contents with their little icons. This happens from both W2K SP4 and XP SP1 clients. For example, explorer routinely freezes for 20 seconds or longer when I open the innocuous
1998 Nov 10
2
File & Directory permissions
[The following is my understanding from doco and experiments - hosts Solaris 2.5.1 and Samba 1.9.18p3, client NT 4.0 - please re-use if wanted] Samba presents a DOS file permissions view to users. That is they can set the following attributes for files: Archive, Hidden and Readonly. As an ordinary user on NT 4.0 System attribute is not accessible. These attributes map as follows onto the
2007 Mar 15
2
replacing all NA's in a dataframe with zeros...
I've seen how to replace the NA's in a single column with a data frame *> mydata$ncigs[is.na(mydata$ncigs)]<-0 *But this is just one column... I have thousands of columns (!) that I need to do this, and I can't figure out a way, outside of the dreaded loop, do replace all NA's in an entire data frame (all vars) without naming each var separately. Yikes. I'm racking my
2004 Apr 14
0
[LLVMdev] Linking strncpy
On Wed, 2004-04-14 at 20:35, Chris Lattner wrote: > The problem is that the code generated by the C backend cannot include any > system headers. If the system header were to have a #define (not a rare > occurance) the header could arbitrarily change the CBE code in BAAD ways. > :( I was thinking of Eric doing something like: myfile.c: #include <string.h> #include
2010 Jan 21
1
Factor contingency tables
Hello, I know there must be a simple soluton to this problem but it eludes me currently. My data is partitioned into two subsets, each subset has a common column factor but with varying levels: levels(fdf_ghc$AgeDemo) [1] "26TO35" "36TO45" "46TO55" "56TO65" "66TO75" "76TO85" levels(fdf_ghcnull$AgeDemo) [1] "26TO35"
2008 May 10
2
Random number generation
Colleagues, I have encountered behavior of random number generation that eludes me. I generate a random integer in a particular range using the following code: sample(1000:9999, size=1) This code exists within a script that starts with the command: remove(list=ls()) Each time that I run the script, it yields the same random number: 6420. I thought that the problem might result from
2005 Feb 03
1
Problem logon WinXP SP2 to samba domain
I am with problems to logon WindowsXP SP2 in the samba. I have the fofollowing packages installed in machine. (Fedora Core 3 kernel 2.6.10-1.741) system-config-samba-1.2.26-0.fc3.1 samba-common-3.0.10-1.fc3 samba-3.0.10-1.fc3 samba-swat-3.0.10-1.fc3 samba-client-3.0.10-1.fc3 The samba shares files with Windows machine normally,using ldap. I follow the steps to logon in the domain the windows
2010 Oct 11
2
filled.contour: colour key decoupled from main plot?
Dear R colleagues, I am trying to plot some geophysical data as a filled contour on a continent map and so far the guidance from the R-help archives has been invaluable. The only bit that still eludes me is the colour key (legend) coming with filled.contour: I prefer to generate my own colour palette, mainly based on the quantiles of tenths of the data in order to capture the whole range (of
2004 Nov 02
1
install.packages, bundles, pmatch, and Rprofile...
Hi, Somebody asked me to make sure that all the machines running the in our lab (XP and Linux, both running 2.0) have R installed and that A) All the packages are installed and B) kept up-to-date. Obediently, I began to modify a shared Rprofile so that once a week it checks for new packages and updates to the current version of the installed packages on CRAN. Sounds simple enough. Plus some