I am excited to announce that `azlogr` is published on CRAN!
This package enables logging in 'R' by extending the functionality of 'logger'
package. There is an option to add additional custom meta-data while logging,
which can sometimes be helpful. Logging messages are displayed on console and
ot;images", "nuclei.tif",
package="EBImage"))
writeImage(nucEBo, "C:/Rfiles/nuclei-3.jpg")
# to convert nuc_EB_o
nucEB_to_IMG <-
nucEB_to_MAG <-
#convert from imager
library(imager)
nuc_IMG_o <- load.image("C:/Rfiles/nuclei-3.jpg")
# to convert nuc_
uot;C:/Rfiles/nuclei-3.jpg")
nucEB_to_IMG <-
nucEB_to_MAG <-
#convert from imager
library(imager)
nuc_IMG_o <- load.image("C:/Rfiles/nuclei-3.jpg")
nuc_IMG_to_EB <-
nuc_IMG_to_MAG <-
All help is appreciated.
Thanks,
Vivek
[[alternative HTML version de
; > > > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html
> > > > and provide commented, minimal, self-contained, reproducible code.
> > >
> > > __
> > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>
The result that I want to get is this:
for (i in 1:5) {
for (j in 1:4) {
B[i,j] <- ifelse(C[i,j]==FALSE,0,B[i,j])
}
}
I would like to know if I can do this without loops.
Den lör 5 sep. 2020 kl 20:18 skrev Vivek Sutradhara :
> Hi
> I would like to get help in combining two matri
to get a matrix with the same dimensions as matrix A. At the
coordinates given by the vector D1, I want to retain the values in
matrix A. At the locations in D2, I want a zero value.
I want to know if I can do this without using any loops.
Thanks, Vivek
[[alternative
q(1119,1219,1))
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘getValues’ for signature
‘"raster", "missing", "numeric"’
I would like to know my mistake here .
I will appreciate all help t
Hope this is
clear.
Vivek
On Fri, Sep 27, 2019 at 9:52 PM Ana Marija
wrote:
> Awesome, thanks!
>
> Yes those two numbers on y axis I calculated as (#of EQTLs)/(#of genes)
> and the same for the other, RG condition. So implicitly I do have a spread
> just that data was not used to pl
scale and do the same. Hope this helps. Good luck.
Vivek
On Fri, Sep 27, 2019 at 9:32 PM Ana Marija
wrote:
> Hi Vivek,
>
> Thanks for getting back to me and yes that is what I tried:
>
> library(ggpubr)
> library(ggplot2)
> df <- data.frame("prop" = c(7.75,
You will need to add stat_compare_means. Take a look at here.
http://www.sthda.com/english/articles/24-ggpubr-publication-ready-plots/76-add-p-values-and-significance-levels-to-ggplots/
library(ggpubr)
p + stat_compare_means()
Should be fine.
Vivek
On Fri, Sep 27, 2019 at 7:29 PM Ana Marija
the
optimum theta and phi angles. Is there a way of interactively finding out
what these angles are (i.e. from the initial position). After arriving at
this optimum angle, is there then a method of plotting the points on top of
the surface?
Thanks, Vivek
The code which worked for me :
library(rgl
l2$X1,vol2,mvol2$X2)
I get the following error message for the surface3d command :
Error in rgl.surface(x = c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L, :
Bad dimension for cols
Additionally, I want points and lines plotted. For example, the points
(1,1,200) and (51,2,232).
I don't seem
fy(slope))
I was confused by the references to the yacas command. Now, I have chosen
to omit it. Then I get what I want.
Thanks,
Vivek
2017-09-19 16:04 GMT+02:00 Bert Gunter :
> Have you studied the "Introduction to Ryacas" vignette that come with the
> package?
>
> Cheers,
"Subst(x,x0),deriv(my_func(x,U,x0,C), x)")
PrettyForm(slope)
I don't understand how I should use the Subst command. I want the slope of
the first derivative at x=x0. How do I implement that?
I would appreciate any help that I can get.
Thanks,
Vivek
[[alternative HTML version
ere as well?
Would appreciate continued help.
Thanks
2017-08-11 11:49 GMT+02:00 PIKAL Petr :
> Hi
>
> see in line
> > -Original Message-
> > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Vivek
> > Sutradhara
> > Sent: Friday, August
y with ggplot. But I am not able to implement the secondary
axis option with ggplot. Would appreciate help with that, if it is easier.
Thanks,
Vivek
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE
practice R about how to work with it and then understand a standard
workflow used in RNA-Seq, and follow some Bioconductor tools there. You
will find your answers. Thanks
--
Vivek Das
On Fri, Jun 9, 2017 at 2:22 PM, Yogesh Gupta wrote
Hi,
I have now re-installed Rtools. This has solved my problem.
Even previously, Rtools was the first on the path. However, thanks a lot
for this help. I can now move on.
Thanks,
Vivek
2017-06-03 13:09 GMT+02:00 Duncan Murdoch :
> On 03/06/2017 7:00 AM, Vivek Sutradhara wrote:
>
>&g
Hi,
As far as I can see, no.
On checking, I have confirmed that the only location of
cygwin1.dll is :
C:\Rtools\bin
Thanks
Vivek
2017-06-03 12:57 GMT+02:00 Duncan Murdoch :
> On 03/06/2017 6:31 AM, Vivek Sutradhara wrote:
>
>> Hi all,
>> I am having some problems in updating
-1 - forked process 5544 died
unexpectedly, retry 0, exit code 0xC142, errno 11
make: vfork: Resource temporarily unavailable
c:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/R/R-34~1.0PA/include"
-I. -I../inst/include -IBmath -Imath/cephes -DNO_BOOST_THREADS
-DNO_BOOST_
I would appr
8.0digest_0.6.12 xtable_1.8-2httpuv_1.3.3
mime_0.5ghit_0.2.17 devtools_1.13.2
On checking, I have confirmed that the only location of
cygwin1.dll is :
C:\Rtools\bin
I have not had any similiar problems before prior R3.4. The only new
installation that I have done recentl
ay", token=fb_oauth,n=50,feed = T) works.
Please let me know why am I getting error with reactions? Also, suggest if
there are alternate packages for Facebook in R.
Regards,
Vivek
[[alternative HTML version deleted]]
__
R-help@
This is cross posted in Biostars https://www.biostars.org/p/221116/ . I do
not see any problem with duplicate row names unless you have specific
reasons to keep them. Here you are performing with transcript ids either
with refseq or ensemble. Now every gene does not have unique transcript
ids, they
Dear Sarah,
Thank you for your reply. I cannot upgrade debian since it is an HPC and I
do not have root priviledges. I will try to install and older version that
is compatible and report. Thanks a lot.
Regards,
Vivek
On Oct 26, 2016 1:46 AM, "Sarah Goslee" wrote:
> I don'
in it bu
I having the problem. It would be kind if you can let me know how to fix
it. Thanks
http://stackoverflow.com/questions/40244946/error-with-installing-igraph-in-r-3-1-2-in-our-hpc-cluster-at-work
--
Vivek Das
[[alternative
es3<- fetch(rs1, n=-1)
There are 25 tables in the database when I execute the above query on the
MySQL prompt. However, the above R code giving me only 9 tables. It seems
there is some cache from which R is getting 9 tables instead of 25 tables.
Please help.
Regards,
Vivek Kumar Singh
PhD stu
Thanks Jeff. I used RMySQL instead and is working great.
Regards,
Vivek Kumar Singh
PhD student,
Information Systems Decision Sciences,
MUMA College of Business,
USF
Phone- (813) 5809131
Web: http://vivek4.myweb.usf.edu/
On Tue, Jun 28, 2016 at 6:23 PM, Jeff Newmiller
wrote:
> Try anot
Got a small fix for this issue. Sharing so that it may help others in
future.
options(repos='http://cran.rstudio.com/')
Regards,
Vivek Kumar Singh
PhD student,
Information Systems Decision Sciences,
MUMA College of Business,
USF
Phone- (813) 5809131
Web: http://vivek4.myweb.usf.ed
> install.packages('RODBC')
Installing package into ‘/home/vivek/R/x86_64-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository
https://cloud.r-project.org/src/contrib
Warning message:
package ‘RODBC’ is not available (for R version 3
and then 20 GB of swap. I have only 32GB of RAM and 20GB of swap in
my server. Then the R was killed.
So, i have two queries:
1. Is there a way to limit the amount of memory used by R so that it runs
for longer time?
2. Is it some sort of inefficiency of garbage collector in R?
Regards,
Vivek
t;both")*
*Killed*
Please help.
Regards,
Vivek Kumar Singh
PhD student,
Information Systems Decision Sciences,
MUMA College of Business,
USF
Phone- (813) 5809131
Web: http://vivek4.myweb.usf.edu/
On Tue, May 31, 2016 at 4:41 PM, Uwe Ligges wrote:
> Wild guess: You have huge and high dime
Hi,
I am using VARS (vector autoregressive model). The process gets killed
after running for sometime. Following is the output of R.
vivek@isds-research:~/cloudAuction/padding/panel$ cat var.Rout
R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Copyright (C) 2013 The R Foun
dtj<-readRDS(filetext)
dtAll<-rbind[list(dtAll,dtj)]
rm(dtj);gc()
}
How is garbage collection handled in parallel computing? With the .combine
= 'rbind' option, this may not be necessary. Could somebody comment on
this? Would it be better to use the 'rbindlist' op
Hi Rainer and John,
Thanks once again for your continued help. I have actually tried out
mdbtools. I was able to get going on ubuntu. Unfortunately, to my
disappointment, it was not helpful in my specific case. Because the access
database is on a server which can be accessed only on windows and not
appears to take too long a time.
I understand that there is no provision to do this by available methods.
But, is it possible to get under the hood and find some hack?
Jeff, I will take your suggestion and try my luck at the R-sig-db mailing
list.
Thanks,
Vivek
2015-11-20 20:25 GMT+01:00 Jef
am
hoping to progress with that for processing the data from the multiple
chunks of data (the first step will be just to filter and gather the data
of relevance).
I hope that I have explained what I am looking for.
Thanks,
Vivek
2015-11-20 19:09 GMT+01:00 John McKown :
> A possibility could
Hi
I want to extract data from a Microsoft access database having many tables
with more than 1e7 rows. I find that the following code works to export a
table to a rds file :
#
setwd('C:/sFolder')
library(RODBC);library(DBI)
ch<-odbcConnect("sample")
#No. of rows in the table no
-gfortran
CPPFLAGS=-I/opt/clanton-tiny/1.4.2/sysroots/i586-poky-linux-uclibc/usr/include/
LDFLAGS="-L/opt/clanton-tiny/1.4.2/sysroots/i586-poky-linux-uclibc/usr/lib/
--sysroot=/opt/clanton-tiny/1.4.2/sysroots/i586-poky-linux-uclibc"
--prefix=/home/vivek/Smart_Tracker/R/R-3.1.2/vivek --with-r
HI,
Try to change with
plot(aggr, type="l")
see what happens?
This should work
------
Vivek Das
On Fri, Sep 12, 2014 at 10:32 AM, Angel Rodriguez <
angel.rodrig...@matiainstituto.net> wrote:
>
>
> Dear su
plots in one image with different colors. Can this be done?
--
Vivek Das
On Tue, Jul 8, 2014 at 12:19 PM, jim holtman wrote:
> Have you tried the density function:
>
> > a <- read.table('/users/jim/downloads/LG_fre
Dear Users,
I need some assistance in plotting some distribution enrichments, like I
have files with some frequency values, now I want to plot plot the
distribution of those frequencies for one sample and then on the same plot
I want to plot the next samples where the frequency comes from another
17 10:39:46 MYT")**
**[1] NA**
**Warning message:**
**NAs introduced by coercion **
**> as.numeric("2013-11-17 10:39:46 MYT")**
**[1] NA**
**Warning message:**
**NAs introduced by coercion **
*
Please let me know which function in R converts date-time to epoch time.
Regards,
Vivek
re able to print for k[a], i.e., the first
column but not able to correctly print the second and third columns.
> k[a]
[1] "1" "2" "3"
> k[b]
[1] NA NA NA
> k[c]
[1] NA NA NA
Please let me know what am I doing wrong.
--
Thanks and Regards,
Vivek Kumar
Steps:
1. write your code in R command line format
2. save to a .sh file
3. Add to cron of linux machine
Regards,
Vivek
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Johnson, Alex
Sent: Friday, October 11, 2013 4:05 PM
To: r
gt; Is this an R question, by the way? This is not a statistics list --
> it's an R programming help list.
>
> Cheers,
> -- Bert
>
> On Tue, Oct 8, 2013 at 8:13 PM, Vivek Singh
> wrote:
> > Any help on this?
> >
> > Regards,
> > Vivek
> &
Any help on this?
Regards,
Vivek
On Tue, Oct 8, 2013 at 2:36 PM, Vivek Singh wrote:
> Hi All,
>
> Can someone please tell me* R function for Bisecting K-means algorithm*.
> I have used *kmeans() *function but not getting good results.
>
> Please help.
>
> --
> Th
Hi All,
Can someone please tell me* R function for Bisecting K-means algorithm*. I
have used *kmeans() *function but not getting good results.
Please help.
--
Thanks and Regards,
Vivek Kumar Singh
Research Assistant,
School of Computing,
National University of Singapore
Mobile:(0065
0.0456828 0.0171938 0.597619 0.999418 0.675425
0.624723 1.023 0.361899 1.23395 1.80139 1.30457 0.692972 1.42658 1280.78
76.5147 4.67875 468.667
------
Vivek Das
PhD Student in Computational Biology
Giuseppe Testa's Lab
European School of Mol
trouble to
use different functions to use this for my working.
Anyone who can help me out with this can be of great help.
--
Vivek Das
PhD Student in Computational Biology
Giuseppe Testa's Lab
European School of Molecular Medicine
IFO
he rows,
but I want to gain from the thoughts and learnings of others who may have taken
the time to implement a package.
I tried searching with the words "line similarity" or its
variants to no avail.
Thanks in advance for your pointers!
Vive
A, USA
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented,
please check this:
http://stats.stackexchange.com/questions/11079/problem-with-anova-repeated-measures-error-model-is-singular
On Mon, Dec 17, 2012 at 12:11 PM, Stephen Sammut wrote:
> model is singular
>
--
Thanks and Regards,
Vivek Kumar Singh
Alcatel-Lucent,
Bangalore
(91)9886
On 17/12/2012 11:03, Felipe Carrillo wrote:
> I did check that link but it doesn't do what I want..thanks for trying though.
>
>
> Felipe D. Carrillo
> Supervisory Fishery Biologist
> Department of the Interior
> US Fish & Wildlife Service
> California, USA
> http://www.fws.gov/redbluff/rbdd_jsmp.a
HI All,
I am very new to R tool. Can some one please suggest me some tutorial
links for understanding SVM using R.
Regards,
Vivek
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
-- Forwarded message --
From: Vivek Ayer
Date: Fri, May 7, 2010 at 10:17 AM
Subject: Re: [R] custom metric for dist for use with hclust/kmeans
To: Greg Snow
Hi Greg,
The pam function is exactly what I needed. I can now create my own
distance matrix, run as.dist on it and pass
Bump...no insights on defining custom metrics. Guess I'll give the
other languages a shot.
Vivek
On Wed, May 5, 2010 at 10:13 AM, Vivek Ayer wrote:
> Hi guys,
>
> I've been using the kmeans and hclust functions for some time now and
> was wondering if I could specif
to customize that as well. Is stuff out
there, or would I have create my own?
Thanks,
Vivek
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and p
Hi David,
Thanks for the help. It's working! I still find it to be a new
concept. I haven't encountered storing loops in objects in any other
languages. Can it even be done in other languages? Very novel, quite
intriguing.
Thanks again,
Vivek
On Thu, Apr 29, 2010 at 3:44 PM, Dav
nce is %dopar% vs. %do%. If I use %do%, I get
objects test_1.25 and test_1.50, but I don't get these objects if I
use %dopar% even though it seemed to run through the loop in parallel.
Thanks in advance,
Vivek
__
R-help@r-project.org mailing list
http
ng similar to that
with log().
Thanks,
Vivek
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, re
- End SAS code
Thanks for your guidance!
Vivek Satsangi
GE Capital
Americas
GE imagination at work
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEA
Great! Thanks again!
Vivek
2009/8/25 Uwe Ligges :
> I finally found some time to look at it:
>
> Yes, it does not work properly for angles > 180 degrees. Will try to find a
> fix and make a new release soon.
>
> Best wishes,
> Uwe Ligges
>
>
> Vivek Ayer wrote:
Hi all,
Can you use the truncreg() function to do point-to-point truncation,
i.e., specify a different point=, for each point in your dataset. I
guess in that sense this would be a nonlinear fit.
Thanks,
Vivek
__
R-help@r-project.org mailing list
Got it..Thanks
Vivek
On Mon, Aug 3, 2009 at 9:13 AM, Steve
Lianoglou wrote:
> Hi,
>
> On Aug 3, 2009, at 12:09 PM, Vivek Ayer wrote:
>
>> Hey guys,
>>
>> How do I iterate such that I add 100 to the counter every time?
>>
>> Suppose: for (i in c(
Hey guys,
How do I iterate such that I add 100 to the counter every time?
Suppose: for (i in c(1:100))
I want i to be 1, 10, 20, 30, ... instead of 1,2,3,4,5 ...
How can this be done?
Thanks,
Vivek
__
R-help@r-project.org mailing list
https
ogDist,tempobj[["LogDist"]])
}
where num is now ~100 or 1000.
Thanks for the tips! I'm still a newbie in R, and hopefully I can
learn to be more efficient next time.
Thanks again,
Vivek
On Thu, Jul 30, 2009 at 3:01 PM, Phil Spector wrote:
> Vivek -
> In R, you shouldn'
t <- c(TotLogDist,objecti$LogDist)
After this, I don't need to do anymore loops etc. I promise I'll use
lists, lapply, and sapply from then on.
Thanks,
Vivek
On Thu, Jul 30, 2009 at 9:04 AM, Vivek Ayer wrote:
> Hi all,
>
> Suppose I want to set the values in a column to the lo
didn't work out. It creates objects with whole name
object1$LogDist instead of just manipulating the column that's part of
that object.
Help appreciated,
Vivek
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLE
UE))
in shorthand: for {assign(paste,read(paste))}
This creates individual objects for each csv file and allows me to
have $ subjects, e.g., bc1$foo.
Thanks again,
Vivek
On Tue, Jul 28, 2009 at 2:12 PM, Steve
Lianoglou wrote:
> Hi,
>
> On Jul 28, 2009, at 4:54 PM, Vivek Ayer wrote:
>
>>
?
for (i in c(1:13)) ...
Any ideas?
Thanks,
Vivek
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Hey guys,
Do you all know of a function that provides fitting for double-sided
truncation? truncreg accounts for one-sided truncation, but not two,
or at least I don't how to. Our outlier values are -115 on the left
side and -55 on the right.
Help appreciated,
Problem solved! Thanks! I'm still a noob at learning R, so eventually
I'll figure out all these different datatypes.
Vivek
On Fri, Jul 24, 2009 at 11:35 AM, Henrique Dallazuanna wrote:
> Isn't a bug,
>
> try this
>
> plot(d[,1],d[,2],col=as.character(d[,3]))
>
ot the data, I ran:
plot(data[,1],data[,2],col=data[,3])
But the output reports a vertical line with colors:
black
red
red
black
green
going up. Is this a bug in R? If so, could someone fix it?
Thanks,
Vivek
__
R-help@r-project.org mailing list
https:
ot the data, I ran:
plot(data[,1],data[,2],col=data[,3])
But the output reports a vertical line with colors:
black
red
red
black
green
going up. Is this a bug in R? If so, could someone fix it?
Thanks,
Vivek
__
R-help@r-project.org mailing list
https:
Hi all,
Just started using R recently. Got OLS and Truncated Regression to
work via lm() and truncreg(). But we need to use STLS for our data. Is
there a function out there that does this, or can we use a clever
workaround using what we already have?
Thanks in advance,
Vivek Ayer
function(x, y) {
sum((x*y)^1.25)
}
class(s) <- "kernel"
gene <- ksvm(Species ~ ., data = iris,kernel = s, C = 10, cross = 5)
# above code gives the following error:
Error in votematrix[i, ret < 0] <- votematrix[i, ret < 0] + 1 :
NAs are not allowed in subscripte
-- Forwarded message --
From: Vivek Dikshit
Date: Tue, Apr 28, 2009 at 1:20 PM
Subject: kernlab - custom kernel
To: r-help@r-project.org
hi,
I am using R's "kernlab" package, exactly i am doing classification using
ksvm(.) and predict.ksvm(.).I want use of cust
function(x, y) {
sum((x*y)^1.25)
}
class(s) <- "kernel"
gene <- ksvm(Species ~ ., data = iris,kernel = s, C = 10, cross = 5)
# above code gives the following error:
Error in votematrix[i, ret < 0] <- votematrix[i, ret < 0] + 1 :
NAs are not allowed in subscripte
78 matches
Mail list logo