Displaying 20 results from an estimated 9000 matches similar to: "basic sweave question"
2012 Aug 17
8
Get the filename from the given path
Hi,
Here i have a file path,
for eg : -
FPath <- "D:\\MyFolder\\MyFile.txt"
HOW IS POSSIBLE TO GET THE FILE NAME FROM THIS GIVEN PATH ?
- thanks in advance
Antony.
--
View this message in context: http://r.789695.n4.nabble.com/Get-the-filename-from-the-given-path-tp4640578.html
Sent from the R help mailing list archive at Nabble.com.
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
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
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
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
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:
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 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
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
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
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
2012 Jun 12
0
[LLVMdev] DFAPacketizer with StateTrans != 0 Assertion
Hi Sam,
On 12/06/2012 15:33, sam wrote:
> Hi,
>
> I'm trying to get the DFAPacketizer to work for my target but with any
> instruction I get the
> 'Assertion `CachedTable.count(StateTrans) != 0' failed' error and it crashes
> out before packeting a single instruction.
Do you reserve some resource without verification?
Note that reserveResources() should be
2013 Jan 11
3
Access comonents in lists of lists
Dear R users,I have a list of equally structured lists, how can I access e.g.
all 2nd compontents in those sub-lists?An example:lst <-
list(rep(list(1:3),3), rep(list(4:6),3))> lst[[1]][[1]][[1]][1] 1 2
3[[1]][[2]][1] 1 2 3[[1]][[3]][1] 1 2 3[[2]][[2]][[1]][1] 4 5 6[[2]][[2]][1]
4 5 6[[2]][[3]][1] 4 5 6What I want to get are all second sub-lists, in this
case:[[1]][[2]][1] 1 2
2012 Oct 12
7
ifelse reformulation
Hi, i'm trying to simplify some R code but i got stucked in this:
test<-data.frame(cbind(id,x1,x2,x3,x4,x5,x6,x7))
test
> test
id x1 x2 x3 x4 x5 x6 x7
1 1 36 26 21 32 31 27 31
2 2 45 21 46 50 22 36 29
3 3 49 47 35 44 33 31 46
4 4 42 32 38 28 39 45 32
5 5 29 42 39 48 25 35 34
6 6 39 31 30 37 46 43 44
7 7 41 40 25 23 42 40 24
8 8 27 29 47 34 26 38 28
9 9 25 35 29 36
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
2015 Feb 02
1
error code 1 from Lapack routine 'dsyevr'
On 2 February 2015 at 10:07, William Dunlap <wdunlap at tibco.com> wrote:
<snip>
>
> If all goes well then
> eigen(lastEigenX)
> will cause the same error and you or someone on this list can see what
> is odd about that matrix (e.g., by looking at its singular values).
Preferably *not* this list as this doesn't really seem to be about
developing R or with/for
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.