Displaying 20 results from an estimated 700 matches similar to: "Get the filename from the given path"
2012 Jul 11
4
MODE , VARIANCE , NTH PERCENTAILE
Hi,
Here i have an matrix like this,
ABC PQR XYZ MNO
------ ------- ------ --------
3 6 7 15
2 12 24 15
20 5 1 2
25 50 15 35
i need to get the
"MODE" - for each column-wise
"VARIANCE" - for
2012 Sep 13
2
Remove serial number column in a Dataframe into CSV
Hi,
i have an small doubt.
How can we remove serial-number column while writing a dataframe in to a csv
file ?
for eg:-
write.csv(MyDataFrame,"c:/MyData.csv")
name place
----------- -----------
1 antony uk
2 john usa
3 arjun ind
here, in the csv file, serial number column is coming extra on the left-end
side.
i want to remove
2012 Sep 11
5
Searching from Dataframe.
Hi,
i have a dataframe containing some values.
for eg:-
MyDataFrame<-
Name Age Place
------- ------ -----------
Aby 12 USA
Raj 25 UK
Romi 32 ENG
Amy 31 IND
My requirement what is, i have a search key word[it should search from all
the columns], that i need to find out from this dataframe. If search keyword
found , it
2012 Jul 13
3
Column create and Update using function
Hi,
here i have a Max and Min values
Min <-3
Max <-6
and also a matrix like this,
ABC XYZ PQR
------ ------- -------
2 4 3
5 4 8
7 1 3
In this i need to check each particular column values are between Max and
Min value.
If the coulmn value not coming between Max and
2012 Jul 24
4
ERROR : cannot allocate vector of size (in MB & GB)
Hi,
Here in R, I need to load a huge file(.csv) , its size is 200MB. [may come
more than 1GB sometimes].
When i tried to load into a variable it taking too much of time and after
that when i do cbind by groups,
getting an error like this
" Error: cannot allocate vector of size 82.4 Mb "
My requirement is, spilt data from Huge-size-file(.csv) to no. of small csv
files.
Here i will give
2012 Aug 28
3
Get variable data Reading from the list
Here i have a variable
MyVar <- data.frame(read.csv("D:\\Doc.csv"))
And now i am storing this variable name into a list.
MyList <- list()
MyList [length(MyList )+1]<- "MyVar"
Now what is the requirement is,
i need to call the variable name "MyVar" from the list "MyList " and get
the data.
2013 Jan 27
1
Removing values containing a specific character
Awesome, thanks Arun, that's exactly what I was looking for!
On Sat, Jan 26, 2013 at 9:21 PM, arun kirshna [via R] <
ml-node+s789695n4656749h63@n4.nabble.com> wrote:
> Hi,
> Try this:
> df[]<-lapply(df,as.character)
> df2<-df
> df[,1][grep("@",df$names)]<- ""
> df
> #names emails
> #1 bob bobj@cup.com
> #2
2011 Nov 16
4
Pairwise correlation
Dear All,
I am not familiar with R yet I want to use it to perform some task, hence my
posting here. I hope someone can help.
I have a set of data, genes (rows) and samples (columns). I want to do a
Pearson correlation on all the possible pairwise combinations of all the
genes (2000). Does anyone have an idea of how to execute this in R?
Thanks in advance.
--
View this message in context:
2016 Sep 20
2
samba to ad transition
I set the local and domainsid the same as on my existing domain.
On Tue, Sep 20, 2016 at 1:45 PM, Samba - General mailing list [via Samba] <
ml-node+s2283325n4708407h17 at n4.nabble.com> wrote:
> On Tue, 20 Sep 2016 13:35:16 -0500
> Kaz Staleman <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4708407&i=0>> wrote:
>
> > I do it on test
2013 Jan 20
1
applying a formula from text
Dear Arun,
I am a novice in R bu some my friends that use R for a long time were not
able to help me. Thank you really.
Concerning your question why I need it, I think that it can be situations
where the condition, that I have to apply, depends on the data.
May be you can advice me a good text to learn programming in R.
Thank you again.
Ilya Novikov
Sat, Jan 19, 2013 at 8:02 PM, arun kirshna [via
2013 Sep 22
2
Arcsine transformation
I am tryin to perform an arcsine transformation on my data containig
percentages as the dep. variable. Does anyone have a code that I could use
to do that? I am relatively new to R. Thanks for your help!
--
View this message in context: http://r.789695.n4.nabble.com/Arcsine-transformation-tp4676706.html
Sent from the R help mailing list archive at Nabble.com.
2016 Jan 22
2
Notification of file modification in subdirectories not working
On Thu, Jan 21, 2016 at 04:57:34AM -0800, ivenhov wrote:
> Hi
>
> Does anyone had similar issues in the past?
> I still cannot find reason why notification of file modification of files in
> subdirs is not visible on client machines
Someone needs to send network traces and debug level 10 logs
for this. And try to reproduce the same against a Windows
server.
Volker
--
SerNet
2009 Jan 13
6
basic sweave question
I am trying to learn the basics of Sweave so I read some things and a
friend gave me his Rnw file
to play with. I am able to do R CMD Sweave mark-example.Rnw. That works.
But,
then when I do latex mark-example.tex, I get the message below. I looked
in the archives
and Martin Morgan mentioned something in 2004 in terms of making sure
that latex is
looking at where Sweave.sty is but I am unsure
2013 Mar 16
0
[LLVMdev] internal compiler error when compiling llvm-gcc-4.2-2.9
Hi Chen,
llvm-gcc is dead. Try dragonegg [] or clang [2].
[1] http://dragonegg.llvm.org/
[2] http://clang.llvm.org/
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
2016 Sep 19
2
samba to ad transition
Yes, I did the classic upgrade.
I do have a 2 separated network, so... In my test network exists only the
AD, and one computer as a client. THe new AD has the same IP address as the
old PDC, and the same domain name.
--
View this message in context: http://samba.2283325.n4.nabble.com/samba-to-ad-transition-tp4708209p4708342.html
Sent from the Samba - General mailing list archive at Nabble.com.
2013 Apr 12
2
processing matrix equation derived from rows of two matrices
Hi,
May be this helps:
?tb[1,]%*%(((val-rep(meansb79[1,],5))^2)/6)
#??????? [,1]
#[1,] 1.47619
tryvarb<-c(1,2,3,4,4,4,4)
?var(tryvarb)
#[1] 1.47619
tb[2,]%*%(((val-rep(meansb79[2,],5))^2)/6)
#???????? [,1]
#[1,] 1.904762
sapply(seq_len(nrow(tb)),function(i) tb[i,]%*%(((val-rep(meansb79[i,],5))^2/6)))
# [1] 1.4761905 1.9047619 1.9047619 1.9047619 1.9047619 2.2857143 1.9047619
# [8] 1.9047619
2013 Aug 29
1
Calculation with Times Series
HI,
May be this helps:
?ts1<- ts(1:20)
?ts2<- ts(1:25)
ts1[-(1:3)]<- ts1[-(1:3)]+ts2[1:17]
?as.numeric(ts1)
# [1]? 1? 2? 3? 5? 7? 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37
A.K.
Hey everyone,
I`m an absolut beginner in R and need some help for an exercise:
I want to do ordinary calculations with 2 time series. The issue
with this, that I want to use different elements of time
2012 Aug 10
1
Split CSV as per file size
Hi here i have a code to split a csv file as per group of line.
The code given below,
------------------------------------
SplitCSVByLine <- function(DataMatrix,Destination,NoOfLineToGroup)
{
input <- file(DataMatrix, "r")
fileNo <- 1
repeat
{
myLines <- readLines(input, n=NoOfLineToGroup)
if (length(myLines) == 0) break
2012 Jun 12
3
[LLVMdev] DFAPacketizer with StateTrans != 0 Assertion
Hi Ivan,
The assertion was happening because I wasn't checking after the first
attempt failed. The first packet was failing and so it was ended, and
then the packetizer attempted to add it to the next packet without
checking for available resources. However this highlights probably the
real problem - my packetizer is unable to find resources for the first
instruction, or any of my
2013 Oct 10
2
[LLVMdev] llvm-ld file not recognized: File format not recognized
Hi,
When using llvm-ld to link .bc files(compiled with llvm-gcc with option
--emit-llvm), I went into error like: file not recognized: File format not
recognized.
I was confused because llvm-ld is the LLVM linker to link llvm bitcode
files together, then why this error occurred?
I am using llvm 2.9 and the corresponding binary version of llvm-gcc.
It will be appreciated if anyone of you can