Yes, you are right. Sweave depends on Latex too, so its no workaround in
this case.
Hope it helps, thpe
Am 26.02.2016 um 06:54 schrieb Ulrik Stervbo:
My understanding is that Sweave also depends on LaTeX to generate pdfs, so
I am not sure Sweave is the solution.
Just follow the advice given
My understanding is that Sweave also depends on LaTeX to generate pdfs, so
I am not sure Sweave is the solution.
On Fri, 26 Feb 2016 at 05:52 Frederic Ntirenganya wrote:
> Hi,
>
> If you are using Rstudio, why not using sweave function! I think this can
> fix your problem since you don't have mi
Hi,
If you are using Rstudio, why not using sweave function! I think this can
fix your problem since you don't have miktex on your window machine.
Cheers.
On Feb 26, 2016 6:37 AM, "Ulrik Stervbo" wrote:
> This message tells you what is wrong and the solution:
>
> No TeX installation detected (T
This message tells you what is wrong and the solution:
No TeX installation detected (TeX is required to create PDF output). You
should install a recommended TeX distribution for your platform:
LaTeX is used to generate the pdfs, to you need to have installed on your
system. To avoid problems late
So, do you have MikTeK installed (assuming you are using Windows)?
Peter Alspach
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Alnazer
Elbedairy
Sent: Friday, 26 February 2016 5:13 p.m.
To: Erin Hodgess
Cc: r-help mailing list
Subject: Re: [R] PDF f
these are errors I got
processing file: l...@m.rmd
| | 6%
ordinary text without R code
| | 12%
label: unnamed-chunk-1
|...
Hi Fabio,
If you have more than a few dates on the X axis you may get
overlapping tick labels. As an example, take a plot of the winning
parties of by-elections held in Australia in the 21st century by the
dates of the elections:
be_dates<-as.Date(c("5/12/2015","19/09/2015","8/2/2014",
"5/12/2009
Yes. relevel looks good! I will give that a try.
Thanks!
Katharine B. Miller, PhD
Research Fisheries Biologist
NMFS, Alaska Fisheries Science Center
17109 Lena Loop Rd
Juneau, AK 99801
(907) 789-6410
(907) 789-6094 (fax)
On Thu, Feb 25, 2016 at 2:12 PM, Bert Gunter wrote:
> Ah yes. Forgot
Hi,
Using your example (note I called the list 'z')...
z <-list(a = seq(1:5), b = seq(10:20))
I picture lapply as extracting each element of z like this z[[i]] - the `[[`
extracts the ith value from the context of residing in a list - hence it's name
is 'lost' in the new context. That's diffe
Why don't you simply use names(c) to get the names of all objects? If, for
your purposes, you still want the "names" function inside lapply, you can
use the following:
unlist(lapply(1:length(c), function(x) names(c[x])))
This will produce exactly same output as names(c) would. When you use
lapply(c
What's the error? You have to show it and the Rmd too, please.
On Thu, Feb 25, 2016 at 5:35 PM, Alnazer Elbedairy <
alnazer.elbeda...@gmail.com> wrote:
> Dear All
> I did the following steps to get a PDF file from Rstudio
> 1- activate Rmarkdown
> 2- save file as (name.Rmd)
> 3- use chunk for
Dear All
I did the following steps to get a PDF file from Rstudio
1- activate Rmarkdown
2- save file as (name.Rmd)
3- use chunk for each step
4- go to Knit - PDF to save a file as PDF but I got an error
any help please
[[alternative HTML version deleted]]
_
On 26/02/16 11:37, Huzefa Khalil wrote:
If you want the object names, you should use lapply over the names:
lapply(names(c), function(x) {c[[x]]})
This makes no sense at all to me; you get the same result simply by
typing "c".
If the OP's message is interpreted literally, all he needs to do
Ah yes. Forgot about relevel(). That would be simpler.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu, Feb 25, 2016 at 1:19 PM, Marc Schwart
If you want the object names, you should use lapply over the names:
lapply(names(c), function(x) {c[[x]]})
On Thu, Feb 25, 2016 at 5:25 PM, Uwe Ligges wrote:
>
>
> On 25.02.2016 22:27, Mohammad Tanvir Ahamed via R-help wrote:
>
>> Hello,
>>
>> I want to get object name of a list inside lapply
>
On 25.02.2016 22:27, Mohammad Tanvir Ahamed via R-help wrote:
Hello,
I want to get object name of a list inside lapply
c<-list(a=seq(1:5),b=seq(10:20))
lapply(c,names)
$a
NULL
$b
NULL
Why NULL ?
Why should it? seq(1:5) has no names, nor has seq(10:20).
Best,
Uwe Ligges
but i am
Posting in HTML makes it much harder for people to figure out your code.
Maybe this will help:
> c<-list(a=seq(1:5),b=seq(10:20))
> c[[1]]
[1] 1 2 3 4 5
> c[[2]]
[1] 1 2 3 4 5 6 7 8 9 10 11
> names(c[[1]])
NULL
> names(c[[2]])
NULL
On Thu, Feb 25, 2016 at 4:15 PM, Mohammad Tanvir Aha
Hello,
I want to get object name of a list inside lapply
> c<-list(a=seq(1:5),b=seq(10:20))
> lapply(c,names)
$a
NULL
$b
NULL
Why NULL ?
but i am expecting the names of object . Any help will be appreciated .
I want to grab the names of object inside lapply for further process.
Th
Three remarks:
1. 'Install.Packages=="RODBC"' does nothing. Where did you find that? The
command is
install.packages("RODBC")
2. Sometimes it is a good idea to start reading a manual.
3. Please do not post in html
Frans
2016-02-25 17:11 GMT+01:00 Bhavani Akila :
> Hi,
>
> I have just started lea
Hi,
Well...as I understand the question:
If Katharine wants to use treatment contrasts, which are the default, the
easiest thing to do may be use to ?relevel to specify the reference level for
the IV factor.
However, as Bert notes, there are other contrasts that can be used, which would
affec
Hello,
I want to get object name of a list inside lapply
> c<-list(a=seq(1:5),b=seq(10:20))> lapply(c,names)$aNULL
$bNULL
Why NULL ?
but i am expecting the names of object . Any help will be appreciated .
I want to grab the names of object inside lapply for further process.
Thanks .
Tanvir A
Hi,
I am using the glm.nb function to evaluate differences in the catch of
individual species of fish across three river tributaries. The dependent
variable is catch per unit effort (CPUE), and the independent variable is
the the tributary (Trib_cat). CPUE is derived from the fish counts divided
On 26/02/16 05:11, Bhavani Akila wrote:
Hi,
I have just started learning about "R" programming language. I tried to
connect it to SQL server using "RODBC". On trying to install packages in R
with the command
Eg., 'Install.Packages=="RODBC"', the zip file is not getting downloaded as
am not able
You can re-set the contrasts for the factor, though whether this is
"easier" is a matter of personal preference.
See ?C or ?contrasts, which I understand to be alternative ways of
doing the same thing (and would appreciate correction is this is
wrong). Or this can be done through the "contrasts" a
Hi
I have a data with an outcome,Y and 10 predictors (X1-X10).
My aim is to fit a logistic model to each of the predictors and calculate the
deviance difference (dDeviance).
And later on bootstrapping the dDeviance for 100 times (R=100).
I tried the following function. It is calculating the origi
Hi,
I have just started learning about "R" programming language. I tried to
connect it to SQL server using "RODBC". On trying to install packages in R
with the command
Eg., 'Install.Packages=="RODBC"', the zip file is not getting downloaded as
am not able to access to the webpage since am working
Dear All
Divide (same dataset) into 10 folds
fold1 <- nautaData[1:39]
fold2 <- nautaData[40:79]
fold3 <- nautaData[80:119]
fold4 <- nautaData[120:159]
fold5 <- nautaData[160:199]
fold6 <- nautaData[200:239]
fold7 <- nautaData[240:279]
fold8 <- nautaData[280:319]
fold9 <- nautaData[320:359]
fold10 <
Hi
you do not say which type of plot you use so I presume it is some base plot.
you can use axes=FALSE when you plot your data and change axis by
axis()
command
see
?axis
Cheers
Petr
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Fabio
> Mo
Hi,
Do the knn() or knn1() functions in the 'class' package serve your purpose?
https://cran.r-project.org/web/packages/class/index.html
Ben
> On Feb 25, 2016, at 9:49 AM, David L Carlson wrote:
>
> Perhaps Alnazer is trying to implement "majority vote" kNN:
>
>> From Wikipedia
> (https://e
On 25/02/2016 9:42 AM, MAURICE Jean - externe wrote:
Hi,
I have built a DLL with some routines using Intel's FORTRAN. I can use the
routines within a R script.
I would like to have the list of all the routines in the DLL. I found
getDLLRegisteredRoutines but it answers data frame with 0 colum
Appreciated Jim.
Alnazer Elbedairy
> On Feb 25, 2016, at 4:15 AM, Jim Lemon wrote:
>
> Hi Alnazer,
> I'm not surprised that it didn't do what you expected. Even if I clean
> up the code so that it will actually run:
>
> majorityGuessing<-function(trainingData,categories) {
> GuessMPG<-sample(
On 25/02/2016 7:31 AM, Fabio Monteiro wrote:
Hi
i'm trying to plot my data in R and i can't manage to scale the x axis.
My x axis are dates, months and years, and when I plot I only have the x
axis like this (2002, 2004, 2006, 2008, 2010).
I whant every date in the axis not only those years, i
Hi
i'm trying to plot my data in R and i can't manage to scale the x axis.
My x axis are dates, months and years, and when I plot I only have the x
axis like this (2002, 2004, 2006, 2008, 2010).
I whant every date in the axis not only those years, i want to see every
point with the respectively
Perhaps Alnazer is trying to implement "majority vote" kNN:
>From Wikipedia
(https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm):
In k-NN classification, the output is a class membership. An object is
classified by a majority vote of its neighbors, with the object being assigned
to the
Hi,
I have built a DLL with some routines using Intel's FORTRAN. I can use the
routines within a R script.
I would like to have the list of all the routines in the DLL. I found
getDLLRegisteredRoutines but it answers data frame with 0 column and 0 lines.
What is wrong ?
Thanks in advance
Jean
On 25/02/2016 6:36 AM, catalin roibu wrote:
Dear all!
I want to apply gamma distribution to a data set. I obtained ty pdf values
and I want to transform this values in absolute frequencies. I used dgamma,
without success. Please help me to solve this problem.
It's not clear what you want to do
Dear all!
I want to apply gamma distribution to a data set. I obtained ty pdf values
and I want to transform this values in absolute frequencies. I used dgamma,
without success. Please help me to solve this problem.
Best regards!
CR
--
-
-
Catalin-Constantin ROIBU
Lecturer PhD, Forestry engi
Hi Alnazer,
I'm not surprised that it didn't do what you expected. Even if I clean
up the code so that it will actually run:
majorityGuessing<-function(trainingData,categories) {
GuessMPG<-sample(1:length(categories),nrow(trainingData),replace=TRUE)
return(GuessMPG)
}
and call it like this (ass
Dear,
Ok...I thought a hint would have been sufficient, but I'm still stuck.
based on the 'Data' dataframe:
Data
mod_names err_typevalue spec_comp sign.value pos
1 mod1 var 2.970681e-03ID - 1.485341e-03
2 mod1 mMSE 1.881598e-01
Hi,
to diagnose your problem, I tried the model with your original
parameters, using a Runge-Kutta fixed step integrator and smaller time
steps. You may try to make them even smaller.
rk4 has no warranted accuracy, so it is less reliable than "lsoda" etc.
However, it can be useful for debugg
40 matches
Mail list logo