Displaying 20 results from an estimated 11000 matches similar to: "Substitute of a For Loop"
2010 Apr 01
1
Regarding the De-bugger in R
Hi,
I would like to know if there is some debugger in R where I can check that I
am not using or not doing calculation on my previously stored objects. I
can't use rm (list = ls()) to remove all the objects since I am using a for
loop for reading 500 files and making making common calculation for each
file, therefore I need to keep the track of my iterator. Is it possible to
remove everything
2010 Apr 18
2
Table or file as STDIN to the R Script
Hi all,
I am trying to call the R script/ R Program via my Shell Script. I need to
pass a file to the R script as an argument. When I am trying to do that I am
getting error and only first line of the file is being read. Can you tell me
how should I do that so that it reads the entire file in a R object so that
later I am able to process the matrix operation on that file. It is a tab
delimited
2010 Apr 18
1
Calling R using Shell Script and give input file to the R script
Hi,
I am trying to call the R script using shell script and pass the input file
as an argument to the R script. Can somebody give me some insights on this
problem.
Thanks.
--
Regards,
Ayush Raman
[[alternative HTML version deleted]]
2012 Mar 09
2
R versus R Studio output differences
Hi Everyone,
I ran the same code in R and in R-studio, but got two different results.
Does anybody know why this is occurring, and if there is a fix for this?
and which is the "correct" program to use ?
Some information about the code I am running: I am running the fisher test
and it seems that the p-values are similar but not same for example, for an
event A the p-value coming from
2016 Mar 08
2
Error while building from git - xapian-letor
Hi all,
While building from git with xapian-letor not ignored in bootstrap, I am
getting the following make error:
In function `main':
/home/ayush/Desktop/xapian/xapian-letor/bin/xapian-letor-update.cc:98:
undefined reference to `Xapian::Internal::str(unsigned int)'
/home/ayush/Desktop/xapian/xapian-letor/bin/xapian-letor-update.cc:99:
undefined reference to
2013 Apr 25
2
Selecting and then joining data blocks
Hi all,
I have 4 matrices, each having 5 columns and 4 rows .....denoted by
B1,B2,B3,B4.
I have generated a vector of 7 indices, say (1,2,4,3,2,3,1} which refers to
the index of the matrices to be chosen and then appended one on the top of
the next: like, in this case, I wish to have the following mega matrix:
B1over B2 over B4 over B3 over B2 over B3 over B1.
1> How can I achieve this?
2015 Mar 02
1
GSoC 2015 - Weighting Schemes
Hello everyone!
I'm Ayush Tomar, junior undergrad in Computer Science from New Delhi,
India. I love C++ coding and working on machine learning and information
retrieval project. I was exploring the GSoC ideas for Xapian and the
project on "Adding Weighting Schemes" looked really interesting to me. I
wanted to work on text mining/IR this summer and this idea seems perfect!
I have
2016 May 04
2
GSoC 2016 Introduction
Hello everyone,
My name is Ayush Tomar. I'll be working on Learning to Rank stabilisation
project over the summers.
Here are a few things that I plan to do in coming few days:
1. Revise the timeline. There are some portions that I had kept for
the first and second week of coding which have already been done (except
writing tests). So, I'd like to adjust the timeline according to it.
2.
2017 Mar 26
0
Draft Proposal
Hi,
Please give your feedbacks in the Google doc ->
https://docs.google.com/document/d/1wrbkD3OlhrmJZnrgcNyQrISwcQdTX2uJ9WDWiuO87g4/edit?usp=sharing
.
Regards,
Ayush Pandey.
On Sun, Mar 26, 2017 at 6:57 PM, Ayush Pandey <
f2012714 at goa.bits-pilani.ac.in> wrote:
> Hi,
> I have submitted a draft proposal on the GSoC website but I also
> wanted to share my draft
2003 Jul 31
2
mysql323 + gcc on 4.8-s
4.8-stable as/of jun 9th (update scheduled) has gcc version,
2.95.4
i'm building mod_php3 (some local stuff needs a php3 processor) with mysql
support. using the mysql323 client/server from ports. mysql (which i
know i've built before on older stable's) reports gcc can't convert
longlong to something or other... basicly saying i need a newer compiler.
i'm installing gcc33
2006 Aug 22
4
Struggling with javac
I've installed jdk-1_5_0_08-linux-i586.rpm and Tomcat.
Working through some initial test install programs, I am finding that I
can't seem to compile .java files into classes.
For instance...
javac -classpath /usr/local/tomcat/common/lib/servlet.jar HelloWorld.java
as instructed fails with a
gij: unrecognized option -- `-classpath'
Try `gij --help' for more information.
So
2010 Jan 02
2
help with for loop
Dear useRs,
I want to write a function that generates all the possible combinations of diff().
Example:
If my vector has length 5, I need the diff() until lag=4 ->
c(diff(my.vec), diff(my.vec, lag=2), diff(my.vec, lag=3), diff(my.vec, lag=4))
If it has length 4, I need until lag=3 ->
c(diff(my.vec), diff(my.vec, lag=2), diff(my.vec, lag=3))
So, it must be until lag=(length(my.vec)-1).
1999 Sep 29
2
avoiding loops, gaining generality
Hi, all.
Given an array, I'd like to add elements whose location vectors are
permutations of one another. For example, in a 3-dimensional array, I'd
add the elements in positions (1,2,3), (1,3,2), (2,1,3), (2,3,1), (3,1,2)
and (3,2,1); those in positions (1,2,4), (1,4,2), (2,1,4), (2,4,1),
(4,1,2), and (4,2,1); and so on. Elements with repeated positions
-- (1,1,2) or (1,4,4), for
2008 May 13
2
Permutations
Dear R-users,
Is there an easy way to determine all possible vectors of length 21 with
each entry having permutations from 0 to 4, instead of doing it like this?
It really takes up too much time, and I am convinced that there exists
something easier.
Can you help me? Thank you in advance!
Kind regards,
Elke
for (a in 0:4){
for (b in 0:4){
for (c in 0:4){
for (d in 0:4){
2012 Oct 08
1
Any better way of optimizing time for calculating distances in the mentioned scenario??
Dear All,
I'm dealing with a case, where 'manhattan' distance of each of 100
vectors is calculated from 10000 other vectors. For achieving this,
following 4 scenarios are tested:
1) scenario 1:
> x<-read.table("query.vec")
> v<-read.table("query.vec2")
> d<-matrix(nrow=nrow(v),ncol=nrow(x))
> for (i in 1:nrow(v)){
+ d[i,]<-
2017 Mar 26
2
Draft Proposal
Hi,
I have submitted a draft proposal on the GSoC website but I also
wanted to share my draft proposal through Dropbox to get your feedback
quickly through it. Please review it and let me know your feedbacks as soon
as possible. I haven't written much about automated testing as I haven't
written any test yet ( I will learn writing automated tests before April
end ). Link to my
2002 Jan 16
2
exhaustive permutations
Hello R-help Readers
I'm currently in the process of trying to write a permutation test
procedure for looking at differences between groups with a multivariate
data set (something equivalent to ANOSIM - analaysis of similarities for
those familiar with this test). As with other permutation tests, for
cases where there are large numbers of possible permutations, randomly
sampling from these
2019 Sep 07
0
X.Org Endless Vacation of Code programs
Hi
I am Ayush Goyal from India currently doing B.E. in my final year.
I would like to know that whether project
Instruction Scheduler
is open to contribute and what are the steps to be taken to contribute in
it.
I would like to build it and also if you can brief me about it as there is
very less info about it on the website
https://www.x.org/wiki/SummerOfCodeIdeas/
Also if this project has
2009 Jul 04
4
help with dealing with integer(0) returns from grep used within a conditional loop
I am using grep to locate colnames to automate a report build and have
run into a problem when a colname is not found. The use of integer(0)
in a conditional statement seems to be a no no as it has length 0.
Below is a self-contained trivial example. I would like to get
something like "NA" or -1 for the position when it is not found OR
learn a way to use integer(0) or some
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
On Wed, Jun 24, 2015 at 2:52 PM, Robinson, Paul
<Paul_Robinson at playstation.sony.com> wrote:
>
>
>> -----Original Message-----
>> From: Xinliang David Li [mailto:davidxl at google.com]
>> Sent: Wednesday, June 24, 2015 2:50 PM
>> To: Robinson, Paul
>> Cc: Easwaran Raman; Xinliang David Li; <llvmdev at cs.uiuc.edu> List
>> Subject: Re: