Hello
In R, is it possible to load a script file into the editor via a web
address?
That is, I have a script file I want people to grab located at
http://www.foo.com/bar.R
and want to do something like file.edit("http://www.foo.com/bar.R";). But
that doesn't seem to work.
thanks
[[alter
Install a recent version of R such as R-3.2.3.
R-3.0.2 is unsupported.
Best,
Uwe Ligges
On 02.02.2016 01:00, kle...@sxmail.de wrote:
Dear all,[a] after I have virtually given up on gearing up my R (v. 3.0.2; GUI:
rkward; on last Linux Kubuntu LTS) for properly installing useful packages
Well, two steps: download.file() and then file.edit().
Best,
Uwe Ligges
On 02.02.2016 06:16, Benn Fine wrote:
Hello
In R, is it possible to load a script file into the editor via a web
address?
That is, I have a script file I want people to grab located at
http://www.foo.com/bar.R
and want
In almost all cases the answer is No.
Some Web servers support WebDAV, but standard HTTP does not work that way. Has
nothing to do with R.
--
Sent from my phone. Please excuse my brevity.
On February 1, 2016 9:16:59 PM PST, Benn Fine wrote:
>Hello
>
>In R, is it possible to load a script file
I am going to go out on a limb and say that the answer to your question is
"Yes".
However, I cannot decipher specifics from your description. If you want a
more useful answer you need to follow the advice in the Posting Guide mentioned
in the footer (including posting in plain text rather th
Dear all,[a] after I have virtually given up on gearing up my R (v. 3.0.2; GUI:
rkward; on last Linux Kubuntu LTS) for properly installing useful packages
containing functions that were not delivered with base R, amendment of R
through getting packages from CRAN became the only viable way to obt
I am not overly familar with Mint, but you need the "development
version" of the readline library. If you have a GUI package manager
installed, open it and search for readline. You should see a version
that ends with -dev or -devel; you need to install that.
HTH,
Peter
On Mon, Feb 1, 2016 at 3:0
Hi,
I'm currently working on an econometrics project on banking and looking to
merge a dataframe of bank specific data with dataframes of macro variables.
I am then going to transform the data set into a plm dataframe using the plm
package. The bank specific observations are indexed across time wh
Duncan Murdoch writes:
> On 29/01/2016 10:35 AM, Daniel Bastos wrote:
>> Here's how I plot a graph.
>>
>>plot(c(1,2,3), main = "graph ç")
>>
>> The main-string has a UTF-8 character "ç". I believe I'm using the
>> windows device. It opens up on my screen. (The window says ``R
>> Graphics:
I've installed R from the tgz file since about R-0.9.x following the
INSTALL instructions and have always succeeded using rpm-based OSes.
With each new OS, that involved installing various additional packages
before the configure script would complete. Figuring out which
packages were required u
On 02/01/2016 07:33 AM, Duncan Murdoch wrote:
On 01/02/2016 10:00 AM, Erik Wright wrote:
Dear Frank,
Thank you for the quick response.
I am familiar with the tradeoffs between integers and doubles.
However, I do not believe this answers my question.
If you look at the help information for the
Hi Gaius,
On 01/29/2016 10:52 AM, Gaius Augustus wrote:
I have two dataframes. One has chromosome arm information, and the other
has SNP position information. I am trying to assign each SNP an arm
identity. I'd like to create this new column based on comparing it to the
reference file.
*1) Map
https://cran.r-project.org/web/packages/tsintermittent/tsintermittent.pdf
Best,
--
GG
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PL
You may handle that as a list of "nb" objects.
library(spdep)
example(columbus)
coord <- coordinates(columbus)
z <- c(1,2,3,4,5,6,7,8,9)
neighbors.knn <- list()
for (val in z) {
neighbors.knn <- c(neighbors.knn, list(knn2nb(knearneigh(coord, val,
longlat=F), sym=F)))
}
class(neighbours.knn)
Dear all,I want to create a routine to generate an object for different value
of val:
z <- c(1,2,3,4,5,6,7,8,9)
for (val in z) {
neighbors.knn <- knn2nb(knearneigh(coord, val, longlat=F),
row.names=cod_pro,sym=F)
}
However, it seems it does not work.
How to store the neighbors.knn created
This tutorial may help:
http://faculty.washington.edu/ezivot/econ424/Working%20with%20Time%20Series%20Data%20in%20R.pdf
See pages 20 and 27 for your specific issue.
Best,
--
GG
[[alternative HTML version deleted]]
__
R-help@r-project.org
A perhaps faster approach takes advantage of the column major ordering
of arrays and the expand.grid() function. I say "perhaps" faster,
because "apply" family functions are still actually loops at the R
level.
Anyway, try this (using your little example):
## create a data frame (which is also a
Dear R users,
I'm pleased to announce that my first package has been accepted in CRAN.
https://cran.r-project.org/web/packages/backblazer/
backblazer provides bindings to Backblaze's B2 cloud storage API.
As it is my first package on CRAN, I would certainly appreciate feedback
and sugges
On 01/02/2016 10:00 AM, Erik Wright wrote:
Dear Frank,
Thank you for the quick response.
I am familiar with the tradeoffs between integers and doubles. However, I do
not believe this answers my question.
If you look at the help information for the as() function it says: "as(x,
"numeric") u
Dear Frank,
Thank you for the quick response.
I am familiar with the tradeoffs between integers and doubles. However, I do
not believe this answers my question.
If you look at the help information for the as() function it says: "as(x,
"numeric") uses the existing as.numeric function." But c
>
> Date: Sat, 30 Jan 2016 01:03:30 +
> From: Matteo Richiardi <
>
> matteo.richia...@maths.ox.ac.uk>
> To: r-help@r-project.org
> Subject: [R] updating elements of a list of matrixes without 'for'
> cycles
> Message-ID:
> <
> cabsru1lkohuz8m9jw1ju+nemksprirrtd_0wzotrlwi3z6d.
Dear Erik Wright,
Re:
> Could someone please explain this R behavior to me:
>
>> typeof(as.numeric(1:10))
> [1] "double"
>> typeof(as(1:10, "numeric"))
> [1] "integer"
>
> I expected "double" in both cases. In the help for the "as" function it says:
>
> "Methods are pre-defined for coercing
Hi everyone,
Could someone please explain this R behavior to me:
> typeof(as.numeric(1:10))
[1] "double"
> typeof(as(1:10, "numeric"))
[1] "integer"
I expected "double" in both cases. In the help for the "as" function it says:
"Methods are pre-defined for coercing any object to one of the basi
Dear David,
R-sig-mixedmodels is a better mailing list for this kind of question.
1) yes
2) use (Treatment | Random_Assignment_Block) instead of (1 |
Random_Assignment_Block)
Best regards,
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
t
Hi
Maybe I am completely wrong but do you really need regular expressions?
You say you want to compare first nine characters of id?
> substr(id, 1,9)==cusip
[1] TRUE
>
or the last six?
> substr(id, nchar(id)-6, nchar(id))=="432.rds"
[1] TRUE
>
Cheers
Petr
> -Original Message-
> From
> On 1 Feb 2016, at 08:03, PIKAL Petr wrote:
>
> Hi
>
> Maybe I am completely wrong but do you really need regular expressions?
>
> You say you want to compare first nine characters of id?
>
>> substr(id, 1,9)==cusip
> [1] TRUE
>>
>
> or the last six?
>
>> substr(id, nchar(id)-6, nchar(id)
26 matches
Mail list logo