similar to: A question on Duplicating

Displaying 20 results from an estimated 8000 matches similar to: "A question on Duplicating"

2011 Feb 10
3
Finding length of unique numbers in a vector
Hello there, would you please look into my codes? Here I have following: > set.seed(100) > samp <- sample(c(1,-1,0), 20, replace=T); samp [1] 1 1 -1 1 -1 -1 0 -1 -1 1 -1 0 1 -1 0 0 1 -1 -1 0 Here I want to calculate the length of each unique number for above vector. How can I do that? Thanks in advance [[alternative HTML version deleted]]
2011 Jul 18
4
Understanding R's "Environment" concept
Hi all, I am trying to understand the R's "environment" concept however the underlying help files look quite technical to me. Can experts here provide me some more intuitive ideas behind this concept like, why it is there, what exactly it is doing in R's architecture etc.? I mainly need some non-technical intuitive explanation. Thanks,
2011 Jul 18
4
Understanding R's "Environment" concept
Hi all, I am trying to understand the R's "environment" concept however the underlying help files look quite technical to me. Can experts here provide me some more intuitive ideas behind this concept like, why it is there, what exactly it is doing in R's architecture etc.? I mainly need some non-technical intuitive explanation. Thanks,
2011 Feb 19
2
Seeking help in Package development
Dear all, I am a new user of R and currently trying hard to develop my own package. Here I am following this tutorial 'http://www.mathfinance.cn/how-to-create-an-R-package-in-windows/' Here it says that (step 8): "open a ?command prompt? window, change the directory to where your package is, type the command ?R CMD build MonteCarloPi? to build the package, this will generate a file
2011 Jul 08
2
Selecting subset of a given vector
Hi there, given a numeric vector, I can select numbers within a specific range. However presently, I have something related but different problem. Suppose I have a numeric vector. Now take an arbitrary number. Goal to to chose a specific subset with a given length, from that given vector, so that those chosen numbers are centered around that given constant. Here is one example: ### My original
2011 Mar 06
1
Writing Rd files
Hi all, I have created a package and now into writing it's help files. However I am having problem on, how to put a 'new line' in any statement of the help file? For example please consider following: \title{ This is a new function and this function will calculate the mean. } However I want to write it is this way: \title{ This is a new function & and, this function will
2011 Jun 09
1
package.sk​eleton() does not create 'data' folder
Hi again, yesterday I mailed this query however I could not see this on the mail list. Therefore, I am reposting it again. I was using package.skeleton() function to create the skeleton of my package in windows. Here is my attempt: rm(list = ls()) setwd("F:/R_PackageBuild") package.skeleton("trial1", namespace = TRUE, code_files = "F:/R_PackageBuild/trial.r") In
2011 Jun 10
1
How to add a welcome message in Package development?
Dear all, it is my first post in R-devel list, and hope that this is the right place to ask question related to package development. I have created my first package in Windows through the usual route. Now I want to add some ***Welcome message*** as soon as user loads my package into their R console, using library() function. However I could not figure out where and how should I add this
2011 Jul 14
1
Creating package Vignette
Hi all, I was trying to create some vignette files for my newly developed package, however wondering whether there could be any simpler way to do so. In writing R extension it is advised to go through Sweave route, however I have already got a big pdf file and want to use this as package vignette. So far I have manually created the inst/doc folder in the main package skeleton, and put that file
2011 Feb 01
1
Working with additional input for user defined function
Hi all, suppose I have following user defined function: fn1 = function(x, y, ...) { z <- x+y; u=y^2 # if something with name "add" exists in the function argument then do some calculation and return that calculated value, NOT z # if NOT then return z
2011 Jul 07
1
Working with string
Hi there, I have to extract some relevant portion from a defined string, which is a mix of numeric and character. However this has following sequence: Some String - Some numerical - "c/C" (or "p/P") - then again some set of numbers. Examples of such string is "fdahsdfcha163517253c463278643" or "fdahsdfcha163517253C463278643" or
2004 May 26
5
Windows XP and domain logon
Hello, I have installed samba 3.0.2a as PDC and BDC, I am able to add windows xp to domain and have added all the registry patches to windows xp, but when it comes to domain logon on windows xp client, the behaviour is very erratic, sometimes I am able to logon to domain and sometimes the domain logon fails, we need to restart the xp machine and keep trying to the domain logon. The error we
2011 Feb 18
2
Samba Cross-Compilation Problem
Hi, I want to cross-compile samba for arm-linux. I have host machine: Red Had Enterprise Edition 5.0 and I am not able to cross compile it. I tried 3-4 Versions of samba but in vain. Can you guide me through compiling process.Which stable version of samba should i use?Step by step cross compilation process.OR If you have binaries or package for samba which i can?directly?use ?at my arm machine.
2015 Sep 01
2
Do Frontends need to care about alignment?
Meant to add more text, but somehow the email got sent. Could you explain why for some of these cases? If I set the right target and only want to operate with the system C ABI, will LLVM not generate correct code if I want to pay say structs to a system defined function? I see clang specifying alignment, but I'm not sure why. I want to understand beyond alignment and function ABI (which for
2010 Oct 18
1
Basic structure operations doubt
I'm doing these manipulations on the data frame and wondering why does R have to remember historical data on my operation and not just keep the needed info. Probably a basic fundamentals of the way R handles data .. Pls point me to the manual if possible .. I have this Index data: > head(NIFTY_INDX) Constituents.list.of.S.P.CNX.Nifty X X.1 X.2 X.3
2004 Nov 15
1
Win98 Login Problem
** High Priority ** Hi I am trying to login to a Samba share via win98, When I try get access to a shared folder that is protected. It prompts me for a password. the problem is that the username is already typed in and I can not change it. On winxP, when I get prompted I can put in the username and password, and it works fine. Please any help would be muchly appreciated. Thanks Steven
2005 Oct 15
6
FW: Some queueing disciplines that I wrote.
Dear LATRC and devotees, I have developed some Linux queueing disciplines. I developed them for my masters project. You are free to use or distribute my work. Here is the abstract from my dissertation:- This is a project to implement a Mice and Elephants queuing discipline on Linux. My project has three aims. The first aim was to produce a prototype Mice and Elephants router
2004 May 25
1
Samba-3.0.4 write list problem
Hi, I am using security=share, and have just upgraded samba server from 3.0.2 to 3.0.4, after upgrading write list option had stopped working. Below is the contents of smb.conf file, which was working with 3.0.2 but not with 3.0.4 [global] workgroup = CSW netbios name = DATA8 security = share server string = Test Samba 3.0 os level = 42 guest account = smbguest log file =
2008 Jun 06
0
[LLVMdev] Variable length condition code for SETCC and SELECT?
B. Scott Michel wrote: > It'd be easy to hack PromoteOp to make a pass to determine all operands' > promoted value types, take the max, then figure out some way to > re-promote them to maximal promoted value type. Except that this is a > non-optimal solution requiring PromoteOp to potentially traverse the > operand tree twice. > > Any suggestions or ideas? >
2006 May 14
2
Samba VFS issue
Hi, Since Samba-3.0.20 I am unable to compile sa-samba.c vfs module, which I have downloaded from the internet for auditing purpose, prior to this version it was getting compiled cleanly, I am receiving CPLUSPLUS error, Please suggest as what need to be done in order to resolve it. Thanks, Honey -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed