Re: [R] R Software

2019-02-18 Thread Bert Gunter
To add to what Rui said, go here: https://www.r-project.org/ 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 Mon, Feb 18, 2019 at 2:11 PM Rui Barradas wrote:

Re: [R] R Software

2019-02-18 Thread Rui Barradas
Hello, I do not speak for the R Foundation but I believe you are not aware that R is a computer language for statistics biostatistics and (scientific) graphics. - R itself does not collect data. - Security policies are left to the users. - You can program whatever you want since R is Turing e

[R] R Software

2019-02-18 Thread Evan Lindenberger
Hello, My name is Evan Lindenberger and I work at the Johnson & Wales information security office. We received a request for R Software, but I have a few questions before we start using R, such as: - What information does R collect? - Does the R Foundation have a written information security po

[R] Memory usage

2019-02-18 Thread Christofer Bogaso
Hi, I have below lines of code to understand how R manages memory. > library(pryr) *Warning message:* *package ‘pryr’ was built under R version 3.4.3 * > mem_change(x <- 1:1e6) 4.01 MB > mem_change(y <- x) 976 B > mem_change(x[100] < NA) 976 B > mem_change(rm(x)) 864 B > mem_change(rm(

Re: [R] Taking the Average of a subset of data

2019-02-18 Thread PIKAL Petr
Hi Could you show what is your intention with your data? What do you mean by sort data to have the same number of leaves? Do you want to trim excessive rows in both data.frames to meet such condition? I would suggest using merge. merge(test1, test2, by.x=c("plot", "plant"), by.y=c("plot_lai",

Re: [R] Problem with combining 2 data frame

2019-02-18 Thread PIKAL Petr
Hi and if you consider stringsAsFactor option a nuisance you probably could use as.character df1$x2[match(df2$x1, df1$x1)] <- as.character(df2$x2) Slightly different approach is merge merge(df1, df2, by=c("x1"), all=T) which gives you additional column from df2 with NA values together with mer

Re: [R] Plot coordinates on world map with Robinson CRS - ggplot2

2019-02-18 Thread Jeff Newmiller
This is the wrong place for this question. https://stat.ethz.ch/mailman/listinfo/r-sig-geo On February 18, 2019 12:57:38 AM PST, Miluji Sb wrote: >Dear all, > >I am trying to plot coordinates on a world map with Robinson CRS. While >the >world map is generated without any issues, when I try to p

[R] Plot coordinates on world map with Robinson CRS - ggplot2

2019-02-18 Thread Miluji Sb
Dear all, I am trying to plot coordinates on a world map with Robinson CRS. While the world map is generated without any issues, when I try to plot the points - I only get a single point. The code I am using and the coordinates data is below. What am I doing wrong? Any help/suggestions will be hi